FFmpeg
Functions
mqcenc.c File Reference

MQ-coder encoder. More...

#include "libavutil/avassert.h"
#include "mqc.h"

Functions

void ff_mqc_initenc (MqcState *mqc, uint8_t *bp)
 initialize the encoder
 
void ff_mqc_encode (MqcState *mqc, uint8_t *cxstate, int d)
 code bit d with context cx
 
int ff_mqc_length (MqcState *mqc)
 number of encoded bytes
 
int ff_mqc_flush (MqcState *mqc)
 flush the encoder [returns number of bytes encoded]
 
int ff_mqc_flush_to (MqcState *mqc, uint8_t *dst, int *dst_len)
 

Detailed Description

MQ-coder encoder.

Author
Kamil Nowosad