dirac_arith.c File Reference

Arithmetic decoder for Dirac. More...

#include "dirac_arith.h"
Include dependency graph for dirac_arith.c:

Go to the source code of this file.

Functions

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

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_decoder().

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_decoder().