FFmpeg
Functions
cabac.c File Reference

Context Adaptive Binary Arithmetic Coder. More...

#include <string.h>
#include "libavutil/common.h"
#include "cabac.h"
#include "cabac_functions.h"

Go to the source code of this file.

Functions

 DECLARE_ASM_ALIGNED (1, const uint8_t, ff_h264_cabac_tables)[512+4 *2 *64+4 *64+63]
 
void ff_init_cabac_encoder (CABACContext *c, uint8_t *buf, int buf_size)
 
int ff_init_cabac_decoder (CABACContext *c, const uint8_t *buf, int buf_size)
 

Detailed Description

Context Adaptive Binary Arithmetic Coder.

Definition in file cabac.c.

Function Documentation

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

Definition at line 163 of file cabac.c.

Referenced by main().

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

Definition at line 176 of file cabac.c.

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