FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
elsdec.h File Reference

Entropy Logarithmic-Scale binary arithmetic coder. More...

#include <stdint.h>
#include <sys/types.h>

Go to the source code of this file.

Data Structures

struct  ElsDecCtx
 
struct  ElsRungNode
 
struct  ElsUnsignedRung
 

Macros

#define ELS_EXPGOLOMB_LEN   10
 

Functions

void ff_els_decoder_init (ElsDecCtx *ctx, const uint8_t *in, size_t data_size)
 
void ff_els_decoder_uninit (ElsUnsignedRung *rung)
 
int ff_els_decode_bit (ElsDecCtx *ctx, unsigned char *rung)
 
unsigned ff_els_decode_unsigned (ElsDecCtx *ctx, ElsUnsignedRung *ur)
 

Detailed Description

Entropy Logarithmic-Scale binary arithmetic coder.

Definition in file elsdec.h.

Macro Definition Documentation

#define ELS_EXPGOLOMB_LEN   10

Definition at line 34 of file elsdec.h.

Referenced by ff_els_decode_unsigned().

Function Documentation

void ff_els_decoder_init ( ElsDecCtx ctx,
const uint8_t in,
size_t  data_size 
)

Definition at line 247 of file elsdec.c.

Referenced by epic_jb_decode_tile().

void ff_els_decoder_uninit ( ElsUnsignedRung rung)

Definition at line 272 of file elsdec.c.

Referenced by epic_jb_decode_tile().

int ff_els_decode_bit ( ElsDecCtx ctx,
unsigned char *  rung 
)
unsigned ff_els_decode_unsigned ( ElsDecCtx ctx,
ElsUnsignedRung ur 
)