FFmpeg
Functions | Variables
dirac_arith.c File Reference
#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

◆ ff_dirac_init_arith_tables()

av_cold void ff_dirac_init_arith_tables ( void  )

Definition at line 86 of file dirac_arith.c.

Referenced by dirac_decode_init().

◆ ff_dirac_init_arith_decoder()

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

Definition at line 96 of file dirac_arith.c.

Referenced by decode_subband_internal(), and dirac_unpack_block_motion_data().

Variable Documentation

◆ ff_dirac_prob

const uint16_t ff_dirac_prob[256]

Definition at line 31 of file dirac_arith.c.

Referenced by ff_dirac_init_arith_tables().

◆ ff_dirac_next_ctx

const uint8_t ff_dirac_next_ctx[DIRAC_CTX_COUNT]

◆ ff_dirac_prob_branchless

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

CTX_ZP_F2
@ CTX_ZP_F2
Definition: dirac_arith.h:40
CTX_ZPZN_F1
@ CTX_ZPZN_F1
Definition: dirac_arith.h:36
CTX_ZP_F4
@ CTX_ZP_F4
Definition: dirac_arith.h:42
CTX_ZP_F5
@ CTX_ZP_F5
Definition: dirac_arith.h:43
CTX_ZP_F3
@ CTX_ZP_F3
Definition: dirac_arith.h:41
CTX_NP_F3
@ CTX_NP_F3
Definition: dirac_arith.h:46
CTX_DELTA_Q_F
@ CTX_DELTA_Q_F
Definition: dirac_arith.h:55
CTX_NP_F6
@ CTX_NP_F6
Definition: dirac_arith.h:49
CTX_ZPNN_F1
@ CTX_ZPNN_F1
Definition: dirac_arith.h:37
CTX_NPZN_F1
@ CTX_NPZN_F1
Definition: dirac_arith.h:38
CTX_NP_F5
@ CTX_NP_F5
Definition: dirac_arith.h:48
CTX_ZP_F6
@ CTX_ZP_F6
Definition: dirac_arith.h:44
CTX_NP_F2
@ CTX_NP_F2
Definition: dirac_arith.h:45
CTX_NPNN_F1
@ CTX_NPNN_F1
Definition: dirac_arith.h:39
CTX_NP_F4
@ CTX_NP_F4
Definition: dirac_arith.h:47