FFmpeg
Functions | Variables
dirac_arith.c File Reference

Arithmetic decoder for Dirac. More...

#include "dirac_arith.h"

Go to the source code of this file.

Functions

av_cold void ff_dirac_init_arith_tables (void)
 
void ff_dirac_init_arith_decoder (DiracArith *c, GetBitContext *gb, int length)
 

Variables

const uint16_t ff_dirac_prob [256]
 
const uint8_t ff_dirac_next_ctx [DIRAC_CTX_COUNT]
 
int16_t ff_dirac_prob_branchless [256][2]
 

Detailed Description

Arithmetic decoder for Dirac.

Author
Marco Gerards marco.nosp@m.@gnu.nosp@m..org

Definition in file dirac_arith.c.

Function Documentation

av_cold void ff_dirac_init_arith_tables ( void  )

Definition at line 86 of file dirac_arith.c.

Referenced by dirac_decode_init(), and dirac_get_arith_int().

void ff_dirac_init_arith_decoder ( DiracArith c,
GetBitContext gb,
int  length 
)

Variable Documentation

const uint16_t ff_dirac_prob[256]

Definition at line 31 of file dirac_arith.c.

Referenced by ff_dirac_init_arith_tables().

const uint8_t ff_dirac_next_ctx[DIRAC_CTX_COUNT]
int16_t ff_dirac_prob_branchless[256][2]

Definition at line 84 of file dirac_arith.c.

Referenced by dirac_get_arith_bit(), and ff_dirac_init_arith_tables().