FFmpeg
|
Context Adaptive Binary Arithmetic Coder. More...
#include <string.h>
#include "libavutil/common.h"
#include "get_bits.h"
#include "cabac.h"
#include "cabac_functions.h"
Go to the source code of this file.
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) |
Variables | |
uint8_t | ff_h264_cabac_tables [512+4 *2 *64+4 *64+63] |
static const uint8_t | lps_range [64][4] |
static uint8_t | h264_lps_state [2 *64] |
static uint8_t | h264_mps_state [2 *64] |
static const uint8_t | mps_state [64] |
static const uint8_t | lps_state [64] |
static const uint8_t | last_coeff_flag_offset_8x8 [63] |
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 | ||
) |
buf_size | size of buf in bits |
Definition at line 125 of file cabac.c.
Referenced by decode_slice(), and ff_h264_decode_mb_cabac().
Definition at line 140 of file cabac.c.
Referenced by ff_h264_decode_init().
uint8_t ff_h264_cabac_tables[512+4 *2 *64+4 *64+63] |
|
static |
Definition at line 57 of file cabac.c.
Referenced by ff_init_cabac_states().
|
static |
Definition at line 76 of file cabac.c.
Referenced by ff_init_cabac_states().
|
static |
Definition at line 77 of file cabac.c.
Referenced by ff_init_cabac_states().
|
static |
Definition at line 79 of file cabac.c.
Referenced by ff_init_cabac_states().
|
static |
Definition at line 90 of file cabac.c.
Referenced by ff_init_cabac_states().
|
static |
Definition at line 101 of file cabac.c.
Referenced by ff_init_cabac_states().