#include "opj_includes.h"#include "t1_luts.h"Functions | |
| static bool | allocate_buffers (opj_t1_t *t1, int w, int h) |
| opj_t1_t * | t1_create (opj_common_ptr cinfo) |
| Create a new T1 handle and initialize the look-up tables of the Tier-1 coder/decoder. | |
| void | t1_destroy (opj_t1_t *t1) |
| Destroy a previously created T1 handle. | |
| void | t1_encode_cblks (opj_t1_t *t1, opj_tcd_tile_t *tile, opj_tcp_t *tcp) |
| Encode the code-blocks of a tile. | |
| void | t1_decode_cblks (opj_t1_t *t1, opj_tcd_tilecomp_t *tilec, opj_tccp_t *tccp) |
| Decode the code-blocks of a tile. | |
Local static functions | |
| static INLINE char | t1_getctxno_zc (int f, int orient) |
| static char | t1_getctxno_sc (int f) |
| static INLINE int | t1_getctxno_mag (int f) |
| static char | t1_getspb (int f) |
| static short | t1_getnmsedec_sig (int x, int bitpos) |
| static short | t1_getnmsedec_ref (int x, int bitpos) |
| static void | t1_updateflags (flag_t *flagsp, int s, int stride) |
| static void | t1_enc_sigpass_step (opj_t1_t *t1, flag_t *flagsp, int *datap, int orient, int bpno, int one, int *nmsedec, char type, int vsc) |
| Encode significant pass. | |
| static void | t1_dec_sigpass_step (opj_t1_t *t1, flag_t *flagsp, int *datap, int orient, int oneplushalf, char type, int vsc) |
| Decode significant pass. | |
| static void | t1_enc_sigpass (opj_t1_t *t1, int bpno, int orient, int *nmsedec, char type, int cblksty) |
| Encode significant pass. | |
| static void | t1_dec_sigpass (opj_t1_t *t1, int bpno, int orient, char type, int cblksty) |
| Decode significant pass. | |
| static void | t1_enc_refpass_step (opj_t1_t *t1, flag_t *flagsp, int *datap, int bpno, int one, int *nmsedec, char type, int vsc) |
| Encode refinement pass. | |
| static void | t1_dec_refpass_step (opj_t1_t *t1, flag_t *flagsp, int *datap, int poshalf, int neghalf, char type, int vsc) |
| Decode refinement pass. | |
| static void | t1_enc_refpass (opj_t1_t *t1, int bpno, int *nmsedec, char type, int cblksty) |
| Encode refinement pass. | |
| static void | t1_dec_refpass (opj_t1_t *t1, int bpno, char type, int cblksty) |
| Decode refinement pass. | |
| static void | t1_enc_clnpass_step (opj_t1_t *t1, flag_t *flagsp, int *datap, int orient, int bpno, int one, int *nmsedec, int partial, int vsc) |
| Encode clean-up pass. | |
| static void | t1_dec_clnpass_step (opj_t1_t *t1, flag_t *flagsp, int *datap, int orient, int oneplushalf, int partial, int vsc) |
| Decode clean-up pass. | |
| static void | t1_enc_clnpass (opj_t1_t *t1, int bpno, int orient, int *nmsedec, int cblksty) |
| Encode clean-up pass. | |
| static void | t1_dec_clnpass (opj_t1_t *t1, int bpno, int orient, int cblksty) |
| Decode clean-up pass. | |
| static double | t1_getwmsedec (int nmsedec, int compno, int level, int orient, int bpno, int qmfbid, double stepsize, int numcomps) |
| mod fixed_quality | |
| static void | t1_encode_cblk (opj_t1_t *t1, opj_tcd_cblk_enc_t *cblk, int orient, int compno, int level, int qmfbid, double stepsize, int cblksty, int numcomps, opj_tcd_tile_t *tile) |
| Encode 1 code-block. | |
| static void | t1_decode_cblk (opj_t1_t *t1, opj_tcd_cblk_dec_t *cblk, int orient, int roishift, int cblksty) |
| Decode 1 code-block. | |
| static bool allocate_buffers | ( | opj_t1_t * | t1, | |
| int | w, | |||
| int | h | |||
| ) | [static] |
References opj_t1::data, opj_t1::datasize, opj_t1::flags, opj_t1::flags_stride, opj_t1::flagssize, opj_t1::h, opj_aligned_free, opj_aligned_malloc, and opj_t1::w.
Referenced by t1_decode_cblk(), and t1_encode_cblks().