libavcodec/cabac.h File Reference

Context Adaptive Binary Arithmetic Coder. More...

#include <stdint.h>
#include "put_bits.h"

Go to the source code of this file.

Data Structures

struct  CABACContext

Defines

#define CABAC_BITS   16
#define CABAC_MASK   ((1<<CABAC_BITS)-1)

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 (CABACContext *c)


Detailed Description

Context Adaptive Binary Arithmetic Coder.

Definition in file cabac.h.


Define Documentation

#define CABAC_BITS   16

#define CABAC_MASK   ((1<<CABAC_BITS)-1)


Function Documentation

void ff_init_cabac_decoder ( CABACContext c,
const uint8_t *  buf,
int  buf_size 
)

Parameters:
buf_size size of buf in bits

Definition at line 120 of file cabac.c.

Referenced by decode_slice(), and ff_h264_decode_mb_cabac().

void ff_init_cabac_encoder ( CABACContext c,
uint8_t *  buf,
int  buf_size 
)

Parameters:
buf_size size of buf in bits

Definition at line 107 of file cabac.c.

void ff_init_cabac_states ( CABACContext c  ) 

Definition at line 135 of file cabac.c.

Referenced by decode_slice().


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