libavcodec/j2k.c File Reference
JPEG2000 image encoder and decoder common functions.
More...
#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] |
Detailed Description
JPEG2000 image encoder and decoder common functions.
- Author:
- Kamil Nowosad
Definition in file j2k.c.
Define Documentation
| #define SHL |
( |
a, |
|
|
n |
|
) |
((n)>=0 ? (a) << (n) : (a) >> -(n)) |
Function Documentation
| void ff_j2k_init_tier1_luts |
( |
void |
|
) |
|
| void ff_j2k_set_significant |
( |
J2kT1Context * |
t1, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
negative | |
|
) |
| | |
| static int getnbctxno |
( |
int |
flag, |
|
|
int |
bandno, |
|
|
int |
vert_causal_ctx_csty_symbol | |
|
) |
| | [static] |
| static int getsgnctxno |
( |
int |
flag, |
|
|
uint8_t * |
xorbit | |
|
) |
| | [static] |
| static int tag_tree_size |
( |
int |
w, |
|
|
int |
h | |
|
) |
| | [static] |
| static void tag_tree_zero |
( |
J2kTgtNode * |
t, |
|
|
int |
w, |
|
|
int |
h | |
|
) |
| | [static] |
Variable Documentation