FFmpeg
|
JPEG2000 tables. More...
Go to the source code of this file.
Data Structures | |
struct | J2kT1Context |
struct | J2kTgtNode |
struct | J2kCodingStyle |
struct | J2kQuantStyle |
struct | J2kPass |
struct | J2kCblk |
struct | J2kPrec |
struct | J2kBand |
struct | J2kResLevel |
struct | J2kComponent |
Macros | |
#define | J2K_MAX_CBLKW 64 |
#define | J2K_MAX_CBLKH 64 |
#define | J2K_T1_SIG_N 0x0001 |
#define | J2K_T1_SIG_E 0x0002 |
#define | J2K_T1_SIG_W 0x0004 |
#define | J2K_T1_SIG_S 0x0008 |
#define | J2K_T1_SIG_NE 0x0010 |
#define | J2K_T1_SIG_NW 0x0020 |
#define | J2K_T1_SIG_SE 0x0040 |
#define | J2K_T1_SIG_SW 0x0080 |
#define | J2K_T1_SIG_NB |
#define | J2K_T1_SGN_N 0x0100 |
#define | J2K_T1_SGN_S 0x0200 |
#define | J2K_T1_SGN_W 0x0400 |
#define | J2K_T1_SGN_E 0x0800 |
#define | J2K_T1_VIS 0x1000 |
#define | J2K_T1_SIG 0x2000 |
#define | J2K_T1_REF 0x4000 |
#define | J2K_T1_SGN 0x8000 |
#define | J2K_CBLK_BYPASS 0x01 |
#define | J2K_CBLK_RESET 0x02 |
#define | J2K_CBLK_TERMALL 0x04 |
#define | J2K_CBLK_VSC 0x08 |
#define | J2K_CBLK_PREDTERM 0x10 |
#define | J2K_CBLK_SEGSYM 0x20 |
#define | J2K_CSTY_PREC 0x01 |
#define | J2K_CSTY_SOP 0x02 |
#define | J2K_CSTY_EPH 0x04 |
Enumerations | |
enum | J2kMarkers { J2K_SOC = 0xff4f, J2K_SIZ = 0xff51, J2K_COD, J2K_COC, J2K_TLM = 0xff55, J2K_PLM = 0xff57, J2K_PLT, J2K_QCD = 0xff5c, J2K_QCC, J2K_RGN, J2K_POC, J2K_PPM, J2K_PPT, J2K_CRG = 0xff63, J2K_COM, J2K_SOT = 0xff90, J2K_SOP, J2K_EPH, J2K_SOD, J2K_EOC = 0xffd9 } |
enum | J2kQuantsty { J2K_QSTY_NONE, J2K_QSTY_SI, J2K_QSTY_SE } |
Functions | |
static int | ff_j2k_ceildivpow2 (int a, int b) |
static int | ff_j2k_ceildiv (int a, int b) |
J2kTgtNode * | ff_j2k_tag_tree_init (int w, int h) |
void | ff_j2k_init_tier1_luts (void) |
void | ff_j2k_set_significant (J2kT1Context *t1, int x, int y, int negative) |
static int | ff_j2k_getnbctxno (int flag, int bandno, int vert_causal_ctx_csty_symbol) |
static int | ff_j2k_getrefctxno (int flag) |
static int | ff_j2k_getsgnctxno (int flag, int *xorbit) |
int | ff_j2k_init_component (J2kComponent *comp, J2kCodingStyle *codsty, J2kQuantStyle *qntsty, int cbps, int dx, int dy) |
void | ff_j2k_reinit (J2kComponent *comp, J2kCodingStyle *codsty) |
void | ff_j2k_cleanup (J2kComponent *comp, J2kCodingStyle *codsty) |
Variables | |
uint8_t | ff_j2k_nbctxno_lut [256][4] |
uint8_t | ff_j2k_sgnctxno_lut [16][16] |
uint8_t | ff_j2k_xorbit_lut [16][16] |
JPEG2000 tables.
Definition in file j2k.h.
#define J2K_T1_SIG_N 0x0001 |
Definition at line 68 of file j2k.h.
Referenced by ff_j2k_set_significant(), getnbctxno(), and getsgnctxno().
#define J2K_T1_SIG_E 0x0002 |
Definition at line 69 of file j2k.h.
Referenced by ff_j2k_set_significant(), getnbctxno(), and getsgnctxno().
#define J2K_T1_SIG_W 0x0004 |
Definition at line 70 of file j2k.h.
Referenced by ff_j2k_set_significant(), getnbctxno(), and getsgnctxno().
#define J2K_T1_SIG_S 0x0008 |
Definition at line 71 of file j2k.h.
Referenced by ff_j2k_set_significant(), getnbctxno(), and getsgnctxno().
#define J2K_T1_SIG_NE 0x0010 |
Definition at line 72 of file j2k.h.
Referenced by ff_j2k_set_significant(), and getnbctxno().
#define J2K_T1_SIG_NW 0x0020 |
Definition at line 73 of file j2k.h.
Referenced by ff_j2k_set_significant(), and getnbctxno().
#define J2K_T1_SIG_SE 0x0040 |
Definition at line 74 of file j2k.h.
Referenced by ff_j2k_set_significant(), and getnbctxno().
#define J2K_T1_SIG_SW 0x0080 |
Definition at line 75 of file j2k.h.
Referenced by ff_j2k_set_significant(), and getnbctxno().
#define J2K_T1_SIG_NB |
Definition at line 76 of file j2k.h.
Referenced by decode_clnpass(), decode_sigpass(), encode_clnpass(), and encode_sigpass().
#define J2K_T1_SGN_N 0x0100 |
Definition at line 79 of file j2k.h.
Referenced by ff_j2k_set_significant(), and getsgnctxno().
#define J2K_T1_SGN_S 0x0200 |
Definition at line 80 of file j2k.h.
Referenced by ff_j2k_set_significant(), and getsgnctxno().
#define J2K_T1_SGN_W 0x0400 |
Definition at line 81 of file j2k.h.
Referenced by ff_j2k_set_significant(), and getsgnctxno().
#define J2K_T1_SGN_E 0x0800 |
Definition at line 82 of file j2k.h.
Referenced by ff_j2k_set_significant(), and getsgnctxno().
#define J2K_T1_VIS 0x1000 |
Definition at line 84 of file j2k.h.
Referenced by decode_clnpass(), decode_refpass(), decode_sigpass(), encode_clnpass(), encode_refpass(), and encode_sigpass().
#define J2K_T1_SIG 0x2000 |
Definition at line 85 of file j2k.h.
Referenced by decode_clnpass(), decode_refpass(), decode_sigpass(), encode_clnpass(), encode_refpass(), encode_sigpass(), and ff_j2k_set_significant().
#define J2K_T1_REF 0x4000 |
Definition at line 86 of file j2k.h.
Referenced by decode_refpass(), and encode_refpass().
#define J2K_T1_SGN 0x8000 |
Definition at line 88 of file j2k.h.
Referenced by encode_cblk().
#define J2K_CBLK_BYPASS 0x01 |
Definition at line 91 of file j2k.h.
Referenced by decode_cblk().
#define J2K_CBLK_VSC 0x08 |
Definition at line 94 of file j2k.h.
Referenced by decode_cblk().
#define J2K_CBLK_SEGSYM 0x20 |
Definition at line 96 of file j2k.h.
Referenced by decode_cblk().
#define J2K_CSTY_EPH 0x04 |
Definition at line 101 of file j2k.h.
Referenced by decode_packet().
enum J2kMarkers |
enum J2kQuantsty |
|
inlinestatic |
Definition at line 191 of file j2k.h.
Referenced by ff_j2k_init_component(), and init_tiles().
|
inlinestatic |
Definition at line 196 of file j2k.h.
Referenced by decode_tile(), encode_tile(), ff_j2k_init_component(), get_siz(), and init_tiles().
J2kTgtNode* ff_j2k_tag_tree_init | ( | int | w, |
int | h | ||
) |
Definition at line 67 of file j2k.c.
Referenced by ff_j2k_init_component().
Definition at line 170 of file j2k.c.
Referenced by j2kdec_init(), and j2kenc_init().
void ff_j2k_set_significant | ( | J2kT1Context * | t1, |
int | x, | ||
int | y, | ||
int | negative | ||
) |
Definition at line 181 of file j2k.c.
Referenced by decode_clnpass(), decode_sigpass(), encode_clnpass(), and encode_sigpass().
|
inlinestatic |
Definition at line 211 of file j2k.h.
Referenced by decode_clnpass(), decode_sigpass(), encode_clnpass(), and encode_sigpass().
|
inlinestatic |
Definition at line 216 of file j2k.h.
Referenced by decode_refpass(), and encode_refpass().
|
inlinestatic |
Definition at line 224 of file j2k.h.
Referenced by decode_clnpass(), decode_sigpass(), encode_clnpass(), and encode_sigpass().
int ff_j2k_init_component | ( | J2kComponent * | comp, |
J2kCodingStyle * | codsty, | ||
J2kQuantStyle * | qntsty, | ||
int | cbps, | ||
int | dx, | ||
int | dy | ||
) |
Definition at line 202 of file j2k.c.
Referenced by init_tile(), and init_tiles().
void ff_j2k_reinit | ( | J2kComponent * | comp, |
J2kCodingStyle * | codsty | ||
) |
void ff_j2k_cleanup | ( | J2kComponent * | comp, |
J2kCodingStyle * | codsty | ||
) |
uint8_t ff_j2k_nbctxno_lut[256][4] |
Definition at line 106 of file j2k.c.
Referenced by ff_j2k_getnbctxno().
uint8_t ff_j2k_sgnctxno_lut[16][16] |
Definition at line 153 of file j2k.c.
Referenced by ff_j2k_getsgnctxno().
uint8_t ff_j2k_xorbit_lut[16][16] |
Definition at line 153 of file j2k.c.
Referenced by ff_j2k_getsgnctxno().