|
| opj_mqc_t * | mqc_create (void) |
| | Create a new MQC handle.
|
| |
| void | mqc_destroy (opj_mqc_t *mqc) |
| | Destroy a previously created MQC handle.
|
| |
| int | mqc_numbytes (opj_mqc_t *mqc) |
| | Return the number of bytes written/read since initialisation.
|
| |
| void | mqc_init_enc (opj_mqc_t *mqc, unsigned char *bp) |
| | Initialize the encoder.
|
| |
| void | mqc_encode (opj_mqc_t *mqc, int d) |
| | Encode a symbol using the MQ-coder.
|
| |
| void | mqc_flush (opj_mqc_t *mqc) |
| | Flush the encoder, so that all remaining data is written.
|
| |
| void | mqc_bypass_init_enc (opj_mqc_t *mqc) |
| | BYPASS mode switch, initialization operation.
|
| |
| void | mqc_bypass_enc (opj_mqc_t *mqc, int d) |
| | BYPASS mode switch, coding operation.
|
| |
| int | mqc_bypass_flush_enc (opj_mqc_t *mqc) |
| | BYPASS mode switch, flush operation.
|
| |
| void | mqc_reset_enc (opj_mqc_t *mqc) |
| | RESET mode switch.
|
| |
| int | mqc_restart_enc (opj_mqc_t *mqc) |
| | RESTART mode switch (TERMALL)
|
| |
| void | mqc_restart_init_enc (opj_mqc_t *mqc) |
| | RESTART mode switch (TERMALL) reinitialisation.
|
| |
| void | mqc_erterm_enc (opj_mqc_t *mqc) |
| | ERTERM mode switch (PTERM)
|
| |
| void | mqc_segmark_enc (opj_mqc_t *mqc) |
| | SEGMARK mode switch (SEGSYM)
|
| |
| void | mqc_init_dec (opj_mqc_t *mqc, unsigned char *bp, int len) |
| | Initialize the decoder.
|
| |
| int | mqc_decode (opj_mqc_t *const mqc) |
| | Decode a symbol.
|
| |
| void | mqc_resetstates (opj_mqc_t *mqc) |
| | Reset the states of all the context of the coder/decoder (each context is set to a state where 0 and 1 are more or less equiprobable)
|
| |
| void | mqc_setstate (opj_mqc_t *mqc, int ctxno, int msb, int prob) |
| | Set the state of a particular context.
|
| |
|
| static void | mqc_byteout (opj_mqc_t *mqc) |
| | Output a byte, doing bit-stuffing if necessary.
|
| |
| static void | mqc_renorme (opj_mqc_t *mqc) |
| | Renormalize mqc->a and mqc->c while encoding, so that mqc->a stays between 0x8000 and 0x10000.
|
| |
| static void | mqc_codemps (opj_mqc_t *mqc) |
| | Encode the most probable symbol.
|
| |
| static void | mqc_codelps (opj_mqc_t *mqc) |
| | Encode the most least symbol.
|
| |
| static void | mqc_setbits (opj_mqc_t *mqc) |
| | Fill mqc->c with 1's for flushing.
|
| |
| static INLINE int | mqc_mpsexchange (opj_mqc_t *const mqc) |
| | FIXME: documentation ???
|
| |
| static INLINE int | mqc_lpsexchange (opj_mqc_t *const mqc) |
| | FIXME: documentation ???
|
| |
| static INLINE void | mqc_bytein (opj_mqc_t *const mqc) |
| | Input a byte.
|
| |
| static INLINE void | mqc_renormd (opj_mqc_t *const mqc) |
| | Renormalize mqc->a and mqc->c while decoding.
|
| |