H.264 / AVC / MPEG4 part10 cabac decoding. More...
#include "config.h"
#include "cabac.h"
#include "cabac_functions.h"
#include "internal.h"
#include "dsputil.h"
#include "avcodec.h"
#include "h264.h"
#include "h264data.h"
#include "h264_mvpred.h"
#include "golomb.h"
#include <assert.h>
Go to the source code of this file.
Macros | |
#define | CABAC 1 |
#define | DECODE_CABAC_MB_MVD(h,list,n) |
#define | CABAC_ON_STACK |
#define | CC &cc |
#define | DECODE_SIGNIFICANCE(coefs, sig_off, last_off) |
#define | STORE_BLOCK(type) |
Variables | |
static const int8_t | cabac_context_init_I [1024][2] |
static const int8_t | cabac_context_init_PB [3][1024][2] |
H.264 / AVC / MPEG4 part10 cabac decoding.
Definition in file h264_cabac.c.
#define CABAC 1 |
Definition at line 28 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
#define CABAC_ON_STACK |
#define CC &cc |
Referenced by decode_cabac_residual_internal().
#define DECODE_CABAC_MB_MVD | ( | h, | |
list, | |||
n | |||
) |
Definition at line 1523 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
#define DECODE_SIGNIFICANCE | ( | coefs, | |
sig_off, | |||
last_off | |||
) |
Referenced by decode_cabac_residual_internal().
#define STORE_BLOCK | ( | type | ) |
Referenced by decode_cabac_residual_internal(), and decode_residual().
|
static |
Definition at line 1442 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
|
static |
Definition at line 1283 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
|
static |
Definition at line 1295 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
|
static |
Definition at line 1810 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
|
static |
Definition at line 1414 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
|
static |
Definition at line 1398 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
|
static |
Definition at line 1374 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
|
static |
Definition at line 1361 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
|
static |
Definition at line 1487 of file h264_cabac.c.
|
static |
Definition at line 1459 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
|
static |
Definition at line 1325 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
|
static |
Definition at line 1433 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
|
static |
Definition at line 1775 of file h264_cabac.c.
Referenced by decode_cabac_luma_residual(), and ff_h264_decode_mb_cabac().
|
static |
Definition at line 1785 of file h264_cabac.c.
Referenced by ff_h264_decode_mb_cabac().
|
static |
Definition at line 1748 of file h264_cabac.c.
Referenced by decode_cabac_residual_dc().
|
static |
Definition at line 1752 of file h264_cabac.c.
Referenced by decode_cabac_residual_dc_422().
|
static |
Definition at line 1564 of file h264_cabac.c.
Referenced by decode_cabac_residual_dc_internal(), decode_cabac_residual_dc_internal_422(), and decode_cabac_residual_nondc_internal().
|
static |
Definition at line 1797 of file h264_cabac.c.
Referenced by decode_cabac_luma_residual(), and ff_h264_decode_mb_cabac().
|
static |
Definition at line 1759 of file h264_cabac.c.
Referenced by decode_cabac_residual_nondc().
int ff_h264_decode_mb_cabac | ( | H264Context * | h | ) |
Decode a macroblock.
Decode a CABAC coded macroblock.
Definition at line 1861 of file h264_cabac.c.
Referenced by decode_slice().
void ff_h264_init_cabac_states | ( | H264Context * | h | ) |
Definition at line 1262 of file h264_cabac.c.
Referenced by decode_slice().
|
static |
Definition at line 1534 of file h264_cabac.c.
Referenced by decode_cabac_residual_dc(), decode_cabac_residual_dc_422(), and decode_cabac_residual_nondc().
|
static |
Definition at line 50 of file h264_cabac.c.
Referenced by ff_h264_init_cabac_states().
|
static |
Definition at line 362 of file h264_cabac.c.
Referenced by ff_h264_init_cabac_states().