FFmpeg
|
MQ-coder. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | MqcState |
Macros | |
#define | MQC_CX_UNI 17 |
#define | MQC_CX_RL 18 |
Functions | |
void | ff_mqc_initenc (MqcState *mqc, uint8_t *bp) |
initialize the encoder More... | |
void | ff_mqc_encode (MqcState *mqc, uint8_t *cxstate, int d) |
code bit d with context cx More... | |
int | ff_mqc_length (MqcState *mqc) |
number of encoded bytes More... | |
int | ff_mqc_flush (MqcState *mqc) |
flush the encoder [returns number of bytes encoded] More... | |
int | ff_mqc_flush_to (MqcState *mqc, uint8_t *dst, int *dst_len) |
void | ff_mqc_initdec (MqcState *mqc, uint8_t *bp, int raw, int reset) |
Initialize MQ-decoder. More... | |
int | ff_mqc_decode (MqcState *mqc, uint8_t *cxstate) |
MQ decoder. More... | |
void | ff_mqc_init_context_tables (void) |
MQ-coder Initialize context tables (QE, NLPS, NMPS) More... | |
void | ff_mqc_init_contexts (MqcState *mqc) |
MQ-coder context initialisations. More... | |
Variables | |
uint16_t | ff_mqc_qe [2 *47] |
uint8_t | ff_mqc_nlps [2 *47] |
uint8_t | ff_mqc_nmps [2 *47] |
MQ-coder.
Definition in file mqc.h.
#define MQC_CX_UNI 17 |
Definition at line 33 of file mqc.h.
Referenced by decode_clnpass(), encode_clnpass(), and ff_mqc_init_contexts().
#define MQC_CX_RL 18 |
Definition at line 34 of file mqc.h.
Referenced by decode_clnpass(), encode_clnpass(), and ff_mqc_init_contexts().
code bit d with context cx
Definition at line 79 of file mqcenc.c.
Referenced by encode_clnpass(), encode_refpass(), and encode_sigpass().
flush the encoder [returns number of bytes encoded]
Definition at line 110 of file mqcenc.c.
Referenced by ff_mqc_flush_to().
Definition at line 122 of file mqcenc.c.
Referenced by encode_cblk().
Initialize MQ-decoder.
mqc | MQ decoder state |
bp | byte pointer |
raw | raw mode |
reset | reset states |
Definition at line 71 of file mqcdec.c.
Referenced by decode_cblk().
MQ decoder.
mqc | MQ decoder state |
cxstate | Context |
Definition at line 93 of file mqcdec.c.
Referenced by decode_clnpass(), decode_refpass(), and decode_sigpass().
MQ-coder Initialize context tables (QE, NLPS, NMPS)
Definition at line 97 of file mqc.c.
Referenced by j2kenc_init(), and jpeg2000_init_static_data().
MQ-coder context initialisations.
mqc | MQ-coder context |
Definition at line 111 of file mqc.c.
Referenced by decode_cblk(), ff_mqc_initdec(), and ff_mqc_initenc().
uint16_t ff_mqc_qe[2 *47] |
Definition at line 93 of file mqc.c.
Referenced by exchange(), ff_mqc_decode(), ff_mqc_encode(), and ff_mqc_init_context_tables().
uint8_t ff_mqc_nlps[2 *47] |
Definition at line 94 of file mqc.c.
Referenced by exchange(), ff_mqc_encode(), and ff_mqc_init_context_tables().
uint8_t ff_mqc_nmps[2 *47] |
Definition at line 95 of file mqc.c.
Referenced by exchange(), ff_mqc_encode(), and ff_mqc_init_context_tables().