27 #define CODE_BIT_INIT 9 28 #define DIC_INDEX_INIT 512 // 2^9 29 #define DIC_INDEX_MAX 32768 // 2^15 30 #define FLUSH_CODE 256 31 #define FREEZE_CODE 257 32 #define FIRST_CODE 258 33 #define MAX_CODE 32767 34 #define TABLE_SIZE 35023 // TABLE_SIZE must be a prime number Dictionary structure for mlz decompression.
void ff_mlz_flush_dict(MLZ *dict)
Flush the dictionary.
int ff_mlz_decompression(MLZ *mlz, GetBitContext *gb, int size, unsigned char *buff)
Run mlz decompression on the next size bits and the output will be stored in buff.
bitstream reader API header.
void ff_mlz_init_dict(void *context, MLZ *mlz)
Initialize the dictionary.
int current_dic_index_max
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option keep it simple and lowercase description are in without and describe what they for example set the foo of the bar offset is the offset of the field in your local context