FFmpeg
|
#include <stddef.h>
#include <stdint.h>
#include "libavutil/attributes.h"
#include "libavutil/intmath.h"
#include "cabac.h"
#include "config.h"
Go to the source code of this file.
Macros | |
#define | UNCHECKED_BITSTREAM_READER !CONFIG_SAFE_BITSTREAM_READER |
Functions | |
static void | refill (CABACContext *c) |
static void | renorm_cabac_decoder_once (CABACContext *c) |
static void | refill2 (CABACContext *c) |
static av_always_inline int | get_cabac_inline (CABACContext *c, uint8_t *const state) |
static int av_noinline av_unused | get_cabac_noinline (CABACContext *c, uint8_t *const state) |
static int av_unused | get_cabac (CABACContext *c, uint8_t *const state) |
static int av_unused | get_cabac_bypass (CABACContext *c) |
static av_always_inline int | get_cabac_bypass_sign (CABACContext *c, int val) |
static int av_unused | get_cabac_terminate (CABACContext *c) |
static const av_unused uint8_t * | skip_bytes (CABACContext *c, int n) |
Skip n bytes and reset the decoder. More... | |
Variables | |
static const uint8_t *const | ff_h264_norm_shift = ff_h264_cabac_tables + H264_NORM_SHIFT_OFFSET |
static const uint8_t *const | ff_h264_lps_range = ff_h264_cabac_tables + H264_LPS_RANGE_OFFSET |
static const uint8_t *const | ff_h264_mlps_state = ff_h264_cabac_tables + H264_MLPS_STATE_OFFSET |
static const uint8_t *const | ff_h264_last_coeff_flag_offset_8x8 = ff_h264_cabac_tables + H264_LAST_COEFF_FLAG_OFFSET_8x8_OFFSET |
Context Adaptive Binary Arithmetic Coder inline functions
Definition in file cabac_functions.h.
#define UNCHECKED_BITSTREAM_READER !CONFIG_SAFE_BITSTREAM_READER |
Definition at line 39 of file cabac_functions.h.
|
static |
Definition at line 64 of file cabac_functions.h.
Referenced by get_cabac_bypass(), get_cabac_bypass_sign(), and renorm_cabac_decoder_once().
|
inlinestatic |
Definition at line 79 of file cabac_functions.h.
Referenced by get_cabac_terminate().
|
static |
Definition at line 89 of file cabac_functions.h.
Referenced by get_cabac_inline().
|
static |
Definition at line 116 of file cabac_functions.h.
Referenced by get_cabac(), and get_cabac_noinline().
|
static |
Definition at line 140 of file cabac_functions.h.
Referenced by decode_cabac_field_decoding_flag(), decode_cabac_intra_mb_type(), decode_cabac_mb_cbp_chroma(), decode_cabac_mb_cbp_luma(), decode_cabac_mb_chroma_pre_mode(), decode_cabac_mb_skip(), ff_h264_decode_mb_cabac(), and main().
|
static |
Definition at line 144 of file cabac_functions.h.
Referenced by decode_cabac_b_mb_sub_type(), decode_cabac_mb_intra4x4_pred_mode(), decode_cabac_mb_mvd(), decode_cabac_mb_ref(), decode_cabac_p_mb_sub_type(), decode_cabac_residual_dc(), decode_cabac_residual_dc_422(), and decode_cabac_residual_nondc().
|
static |
Definition at line 149 of file cabac_functions.h.
|
static |
Definition at line 167 of file cabac_functions.h.
|
static |
Definition at line 187 of file cabac_functions.h.
Referenced by decode_cabac_intra_mb_type(), decode_slice(), ff_hevc_cabac_init(), ff_hevc_end_of_slice_flag_decode(), ff_hevc_pcm_flag_decode(), and main().
|
static |
Skip n
bytes and reset the decoder.
n
bytes left Definition at line 203 of file cabac_functions.h.
Referenced by cabac_reinit(), ff_mms_asf_header_parser(), hls_pcm_sample(), main(), read_header(), and run_psnr().
|
static |
Definition at line 58 of file cabac_functions.h.
Referenced by get_cabac_inline(), and refill2().
|
static |
Definition at line 59 of file cabac_functions.h.
Referenced by get_cabac_inline(), and put_cabac().
|
static |
Definition at line 60 of file cabac_functions.h.
Referenced by get_cabac_inline(), and put_cabac().
|
static |
Definition at line 61 of file cabac_functions.h.
Referenced by decode_cabac_residual_internal().