FFmpeg
Loading...
Searching...
No Matches
cabac.c File Reference

Context Adaptive Binary Arithmetic Coder. More...

#include "libavutil/error.h"
#include "libavutil/mem_internal.h"
#include "cabac.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]
 
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()

DECLARE_ASM_ALIGNED ( 1 ,
const uint8_t ,
ff_h264_cabac_tables  )

◆ ff_init_cabac_decoder()

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

Definition at line 162 of file cabac.c.

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