FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

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 
)

Definition at line 86 of file dirac_arith.c.

Referenced by decode_subband_internal(), and dirac_unpack_block_motion_data().

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

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