gavl_compression_info_t Struct Reference
[Compressed stream support]

Compression format. More...

#include <compression.h>


Data Fields

uint32_t flags
 ORed combination of GAVL_COMPRESSION_* flags.
gavl_codec_id_t id
 Codec ID.
uint8_t * global_header
 Global header.
uint32_t global_header_len
 Length of global header.
int32_t bitrate
 Needed by some codecs, negative values mean VBR.
int palette_size
 Size of the embedded palette for image codecs.
uint32_t pre_skip
 Samples to skip at the start.
uint32_t video_buffer_size
 VBV buffer size for video (in BYTES).
uint32_t max_packet_size
 Maximum packet size or 0 if unknown.
uint32_t max_ref_frames
 Maximum reference frames (if > 2).


Detailed Description

Compression format.

This defines parameters of the compression. The most important value is the gavl_codec_id_t. Formats, which support a global header, store it here as well.

Usually there must be an associated audio or video format, because some containers need this as well.


Field Documentation

ORed combination of GAVL_COMPRESSION_* flags.

Codec ID.

Global header.

Length of global header.

Needed by some codecs, negative values mean VBR.

Size of the embedded palette for image codecs.

Samples to skip at the start.

VBV buffer size for video (in BYTES).

Maximum packet size or 0 if unknown.

Maximum reference frames (if > 2).


The documentation for this struct was generated from the following file:

Generated on Sun Sep 6 17:35:01 2015 for gavl by  doxygen 1.5.6