biaridecod.h File Reference

Headerfile for binary arithmetic decoder routines. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void arideco_start_decoding (DecodingEnvironmentPtr eep, unsigned char *code_buffer, int firstbyte, int *code_len)
int arideco_bits_read (DecodingEnvironmentPtr dep)
void arideco_done_decoding (DecodingEnvironmentPtr dep)
void biari_init_context (int qp, BiContextTypePtr ctx, const char *ini)
void rescale_cum_freq (BiContextTypePtr bi_ct)
unsigned int biari_decode_symbol (DecodingEnvironmentPtr dep, BiContextTypePtr bi_ct)
unsigned int biari_decode_symbol_eq_prob (DecodingEnvironmentPtr dep)
unsigned int biari_decode_final (DecodingEnvironmentPtr dep)
unsigned int getbyte (DecodingEnvironmentPtr dep)
unsigned int getword (DecodingEnvironmentPtr dep)


Detailed Description

Headerfile for binary arithmetic decoder routines.

biaridecod.h

Author:
Detlev Marpe, Gabi Blättermann Copyright (C) 2000 HEINRICH HERTZ INSTITUTE All Rights Reserved.
Date:
21. Oct 2000

Definition in file biaridecod.h.


Function Documentation

int arideco_bits_read ( DecodingEnvironmentPtr  dep  ) 

arideco_bits_read

Definition at line 247 of file biaridecod.c.

References DecodingEnvironment::DbitsLeft, and DecodingEnvironment::Dcodestrm_len.

Referenced by readSyntaxElement_CABAC().

void arideco_done_decoding ( DecodingEnvironmentPtr  dep  ) 

finalize arithetic decoding():

Definition at line 177 of file biaridecod.c.

References DecodingEnvironment::Dcodestrm_len.

void arideco_start_decoding ( DecodingEnvironmentPtr  eep,
unsigned char *  code_buffer,
int  firstbyte,
int *  code_len 
)

Initializes the DecodingEnvironment for the arithmetic coder.

Definition at line 221 of file biaridecod.c.

References DecodingEnvironment::DbitsLeft, DecodingEnvironment::Dcodestrm, DecodingEnvironment::Dcodestrm_len, DecodingEnvironment::Drange, DecodingEnvironment::Dvalue, getbyte(), and getword().

Referenced by init_decoding_engine_IPCM(), and read_new_slice().

Here is the call graph for this function:

unsigned int biari_decode_final ( DecodingEnvironmentPtr  dep  ) 

biari_decode_symbol_final():

Returns:
the decoded symbol

Definition at line 361 of file biaridecod.c.

References DecodingEnvironment::DbitsLeft, DecodingEnvironment::Drange, DecodingEnvironment::Dvalue, and getword().

Referenced by cabac_startcode_follows(), and readMB_typeInfo_CABAC().

Here is the call graph for this function:

unsigned int biari_decode_symbol ( DecodingEnvironmentPtr  dep,
BiContextTypePtr  bi_ct 
)

unsigned int biari_decode_symbol_eq_prob ( DecodingEnvironmentPtr  dep  ) 

biari_decode_symbol_eq_prob():

Returns:
the decoded symbol

Definition at line 328 of file biaridecod.c.

References DecodingEnvironment::DbitsLeft, DecodingEnvironment::Drange, DecodingEnvironment::Dvalue, and getword().

Referenced by exp_golomb_decode_eq_prob(), read_significant_coefficients(), and readMVD_CABAC().

Here is the call graph for this function:

void biari_init_context ( int  qp,
BiContextTypePtr  ctx,
const char *  ini 
)

Initializes a given context with some pre-defined probability state.

Definition at line 400 of file biaridecod.c.

References BiContextType::MPS, and BiContextType::state.

unsigned int getbyte ( DecodingEnvironmentPtr  dep  ) 

read one byte from the bitstream

Definition at line 191 of file biaridecod.c.

References DecodingEnvironment::Dcodestrm, and DecodingEnvironment::Dcodestrm_len.

Referenced by arideco_start_decoding().

unsigned int getword ( DecodingEnvironmentPtr  dep  ) 


Documentation generated with DoxyGen