libavcodec/cabac_functions.h File Reference

Context Adaptive Binary Arithmetic Coder inline functions. More...

#include <stdint.h>
#include "cabac.h"
#include "config.h"

Go to the source code of this file.

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)

Variables

const uint8_t ff_h264_norm_shift [512]
uint8_t ff_h264_mlps_state [4 *64]
uint8_t ff_h264_lps_range [4 *2 *64]
 rangeTabLPS


Detailed Description

Context Adaptive Binary Arithmetic Coder inline functions.

Definition in file cabac_functions.h.


Function Documentation

static int av_unused get_cabac ( CABACContext c,
uint8_t *const   state 
) [static]

static int av_unused get_cabac_bypass ( CABACContext c  )  [static]

Definition at line 112 of file cabac_functions.h.

Referenced by decode_cabac_mb_mvd().

static av_always_inline int get_cabac_bypass_sign ( CABACContext c,
int  val 
) [static]

Definition at line 130 of file cabac_functions.h.

static av_always_inline int get_cabac_inline ( CABACContext c,
uint8_t *const   state 
) [static]

Definition at line 80 of file cabac_functions.h.

Referenced by get_cabac(), and get_cabac_noinline().

static int av_noinline av_unused get_cabac_noinline ( CABACContext c,
uint8_t *const   state 
) [static]

static int av_unused get_cabac_terminate ( CABACContext c  )  [static]

Returns:
the number of bytes read or 0 if no end

Definition at line 150 of file cabac_functions.h.

Referenced by decode_cabac_intra_mb_type(), and decode_slice().

static void refill ( CABACContext c  )  [static]

static void refill2 ( CABACContext c  )  [static]

Definition at line 62 of file cabac_functions.h.

Referenced by get_cabac_inline().

static void renorm_cabac_decoder_once ( CABACContext c  )  [inline, static]

Definition at line 53 of file cabac_functions.h.

Referenced by get_cabac_terminate().


Variable Documentation

uint8_t ff_h264_lps_range[4 *2 *64]

rangeTabLPS

Definition at line 54 of file cabac.c.

Referenced by ff_init_cabac_states(), and get_cabac_inline().

uint8_t ff_h264_mlps_state[4 *64]

Definition at line 53 of file cabac.c.

Referenced by ff_init_cabac_states(), and get_cabac_inline().

const uint8_t ff_h264_norm_shift[512]

Definition at line 80 of file cabac.c.

Referenced by get_cabac_inline(), and refill2().


Generated on Fri Oct 26 02:46:07 2012 for FFmpeg by  doxygen 1.5.8