FFmpeg
|
cabac.h File Reference
Context Adaptive Binary Arithmetic Coder. More...
Include dependency graph for cabac.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | CABACContext |
Macros | |
#define | H264_NORM_SHIFT_OFFSET 0 |
#define | H264_LPS_RANGE_OFFSET 512 |
#define | H264_MLPS_STATE_OFFSET 1024 |
#define | H264_LAST_COEFF_FLAG_OFFSET_8x8_OFFSET 1280 |
#define | CABAC_BITS 16 |
#define | CABAC_MASK ((1<<CABAC_BITS)-1) |
Typedefs | |
typedef struct CABACContext | CABACContext |
Functions | |
void | ff_init_cabac_encoder (CABACContext *c, uint8_t *buf, int buf_size) |
void | ff_init_cabac_decoder (CABACContext *c, const uint8_t *buf, int buf_size) |
void | ff_init_cabac_states (void) |
Detailed Description
Macro Definition Documentation
#define CABAC_BITS 16 |
Definition at line 39 of file cabac.h.
Referenced by ff_h264_decode_mb_cabac(), get_cabac_bypass(), get_cabac_bypass_sign(), get_cabac_inline(), get_cabac_terminate(), refill(), and refill2().
#define CABAC_MASK ((1<<CABAC_BITS)-1) |
Definition at line 40 of file cabac.h.
Referenced by get_cabac_bypass(), get_cabac_bypass_sign(), get_cabac_inline(), refill(), refill2(), and renorm_cabac_decoder_once().
Typedef Documentation
typedef struct CABACContext CABACContext |
Function Documentation
void ff_init_cabac_decoder | ( | CABACContext * | c, |
const uint8_t * | buf, | ||
int | buf_size | ||
) |
- Parameters
-
buf_size size of buf in bits
Definition at line 125 of file cabac.c.
Referenced by decode_slice(), ff_h264_decode_mb_cabac(), and ff_init_cabac_states().
void ff_init_cabac_encoder | ( | CABACContext * | c, |
uint8_t * | buf, | ||
int | buf_size | ||
) |
- Parameters
-
buf_size size of buf in bits
Definition at line 112 of file cabac.c.
Referenced by ff_init_cabac_states().
Definition at line 140 of file cabac.c.
Referenced by ff_h264_decode_init(), and ff_init_cabac_states().
Generated on Fri Dec 20 2024 06:56:11 for FFmpeg by 1.8.11