#include "avcodec.h"
#include "j2k.h"
Go to the source code of this file.
Defines | |
| #define | SHL(a, n) ((n)>=0 ? (a) << (n) : (a) >> -(n)) |
Functions | |
| static int | tag_tree_size (int w, int h) |
| allocate the memory for tag tree | |
| J2kTgtNode * | ff_j2k_tag_tree_init (int w, int h) |
| static void | tag_tree_zero (J2kTgtNode *t, int w, int h) |
| static int | getnbctxno (int flag, int bandno, int vert_causal_ctx_csty_symbol) |
| static int | getsgnctxno (int flag, uint8_t *xorbit) |
| void | ff_j2k_init_tier1_luts (void) |
| void | ff_j2k_set_significant (J2kT1Context *t1, int x, int y, int negative) |
| 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] |
Definition in file j2k.c.
| #define SHL | ( | a, | |||
| n | ) | ((n)>=0 ? (a) << (n) : (a) >> -(n)) |
| void ff_j2k_cleanup | ( | J2kComponent * | comp, | |
| J2kCodingStyle * | codsty | |||
| ) |
| int ff_j2k_init_component | ( | J2kComponent * | comp, | |
| J2kCodingStyle * | codsty, | |||
| J2kQuantStyle * | qntsty, | |||
| int | cbps, | |||
| int | dx, | |||
| int | dy | |||
| ) |
| void ff_j2k_init_tier1_luts | ( | void | ) |
| void ff_j2k_reinit | ( | J2kComponent * | comp, | |
| J2kCodingStyle * | codsty | |||
| ) |
| 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().
| J2kTgtNode* ff_j2k_tag_tree_init | ( | int | w, | |
| int | h | |||
| ) |
allocate the memory for tag tree
Definition at line 56 of file j2k.c.
Referenced by ff_j2k_tag_tree_init(), and tag_tree_zero().
| static void tag_tree_zero | ( | J2kTgtNode * | t, | |
| int | w, | |||
| int | h | |||
| ) | [static] |
| uint8_t ff_j2k_nbctxno_lut[256][4] |
| uint8_t ff_j2k_sgnctxno_lut[16][16] |
| uint8_t ff_j2k_xorbit_lut[16][16] |
1.5.8