FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
cabac.c File Reference

Context Adaptive Binary Arithmetic Coder. More...

#include <string.h>
#include "libavutil/common.h"
#include "libavutil/timer.h"
#include "get_bits.h"
#include "cabac.h"
#include "cabac_functions.h"
#include "cabac_tablegen.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)
 

Detailed Description

Context Adaptive Binary Arithmetic Coder.

Definition in file cabac.c.

Function Documentation

void ff_init_cabac_encoder ( CABACContext c,
uint8_t buf,
int  buf_size 
)
Parameters
buf_sizesize of buf in bits

Definition at line 41 of file cabac.c.

void ff_init_cabac_decoder ( CABACContext c,
const uint8_t buf,
int  buf_size 
)
Parameters
buf_sizesize of buf in bits

Definition at line 54 of file cabac.c.

Referenced by cabac_init_decoder(), decode_slice(), ff_h264_decode_mb_cabac(), hls_decode_entry_wpp(), and skip_bytes().

void ff_init_cabac_states ( void  )

Definition at line 69 of file cabac.c.

Referenced by ff_h264_decode_init(), and hevc_decode_init().