#include <stdint.h>
#include "put_bits.h"
Go to the source code of this file.
Data Structures | |
struct | CABACContext |
Defines | |
#define | CABAC_BITS 16 |
#define | CABAC_MASK ((1<<CABAC_BITS)-1) |
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 (CABACContext *c) |
Definition in file cabac.h.
#define CABAC_BITS 16 |
Definition at line 34 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 35 of file cabac.h.
Referenced by get_cabac_bypass(), get_cabac_bypass_sign(), get_cabac_inline(), refill(), refill2(), and renorm_cabac_decoder_once().
void ff_init_cabac_decoder | ( | CABACContext * | c, | |
const uint8_t * | buf, | |||
int | buf_size | |||
) |
buf_size | size of buf in bits |
Definition at line 120 of file cabac.c.
Referenced by decode_slice(), and ff_h264_decode_mb_cabac().
void ff_init_cabac_encoder | ( | CABACContext * | c, | |
uint8_t * | buf, | |||
int | buf_size | |||
) |
void ff_init_cabac_states | ( | CABACContext * | c | ) |