const uint8_t ff_mqc_nlps[2 *47]
const uint8_t ff_mqc_nmps[2 *47]
const uint16_t ff_mqc_qe[2 *47]
void ff_mqc_initdec(MqcState *mqc, uint8_t *bp, int raw, int reset)
Initialize MQ-decoder.
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
void ff_mqc_initenc(MqcState *mqc, uint8_t *bp)
initialize the encoder
int ff_mqc_decode(MqcState *mqc, uint8_t *cxstate)
MQ decoder.
int ff_mqc_flush_to(MqcState *mqc, uint8_t *dst, int *dst_len)
flush the encoder [returns number of bytes encoded]
void ff_mqc_init_contexts(MqcState *mqc)
MQ-coder context initialisations.
void ff_mqc_encode(MqcState *mqc, uint8_t *cxstate, int d)
code bit d with context cx