| gavl
    | 
Compression format. More...
#include <compression.h>
| Data Fields | |
| int | flags | 
| ORed combination of GAVL_COMPRESSION_* flags. | |
| gavl_codec_id_t | id | 
| Codec ID. | |
| uint8_t * | global_header | 
| Global header. | |
| int | global_header_len | 
| Length of global header. | |
| int | bitrate | 
| Needed by some codecs, negative values mean VBR. | |
| int | palette_size | 
| Size of the embedded palette for image codecs. | |
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.
| int gavl_compression_info_t::flags | 
ORed combination of GAVL_COMPRESSION_* flags.
| gavl_codec_id_t gavl_compression_info_t::id | 
Codec ID.
| uint8_t* gavl_compression_info_t::global_header | 
Global header.
| int gavl_compression_info_t::global_header_len | 
Length of global header.
| int gavl_compression_info_t::bitrate | 
Needed by some codecs, negative values mean VBR.
| int gavl_compression_info_t::palette_size | 
Size of the embedded palette for image codecs.