FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
dcahuff.h File Reference
#include "libavutil/common.h"
#include "avcodec.h"
#include "get_bits.h"
#include "put_bits.h"

Go to the source code of this file.

Data Structures

struct  DCAVLC
 

Macros

#define DCA_CODE_BOOKS   10
 

Functions

av_cold void ff_dca_init_vlcs (void)
 
uint32_t ff_dca_vlc_calc_quant_bits (int *values, uint8_t n, uint8_t sel, uint8_t abits)
 
void ff_dca_vlc_enc_quant (PutBitContext *pb, int *values, uint8_t n, uint8_t sel, uint8_t abits)
 

Variables

DCAVLC ff_dca_vlc_bit_allocation
 
DCAVLC ff_dca_vlc_transition_mode
 
DCAVLC ff_dca_vlc_scale_factor
 
DCAVLC ff_dca_vlc_quant_index [DCA_CODE_BOOKS]
 
VLC ff_dca_vlc_tnl_grp [5]
 
VLC ff_dca_vlc_tnl_scf
 
VLC ff_dca_vlc_damp
 
VLC ff_dca_vlc_dph
 
VLC ff_dca_vlc_fst_rsd_amp
 
VLC ff_dca_vlc_rsd_apprx
 
VLC ff_dca_vlc_rsd_amp
 
VLC ff_dca_vlc_avg_g3
 
VLC ff_dca_vlc_st_grid
 
VLC ff_dca_vlc_grid_2
 
VLC ff_dca_vlc_grid_3
 
VLC ff_dca_vlc_rsd
 

Macro Definition Documentation

#define DCA_CODE_BOOKS   10

Function Documentation

av_cold void ff_dca_init_vlcs ( void  )

Definition at line 1264 of file dcahuff.c.

Referenced by dcadec_init().

uint32_t ff_dca_vlc_calc_quant_bits ( int values,
uint8_t  n,
uint8_t  sel,
uint8_t  abits 
)

Definition at line 1339 of file dcahuff.c.

Referenced by accumulate_huff_bit_consumption().

void ff_dca_vlc_enc_quant ( PutBitContext pb,
int values,
uint8_t  n,
uint8_t  sel,
uint8_t  abits 
)

Definition at line 1351 of file dcahuff.c.

Referenced by put_subframe_samples().

Variable Documentation

DCAVLC ff_dca_vlc_bit_allocation

Definition at line 1246 of file dcahuff.c.

Referenced by parse_subframe_header().

DCAVLC ff_dca_vlc_transition_mode

Definition at line 1247 of file dcahuff.c.

Referenced by parse_subframe_header().

DCAVLC ff_dca_vlc_scale_factor

Definition at line 1248 of file dcahuff.c.

Referenced by parse_joint_scale(), and parse_scale().

DCAVLC ff_dca_vlc_quant_index[DCA_CODE_BOOKS]

Definition at line 1249 of file dcahuff.c.

Referenced by parse_huffman_codes(), and parse_x96_subframe_header().

VLC ff_dca_vlc_tnl_grp[5]

Definition at line 1251 of file dcahuff.c.

Referenced by parse_tonal().

VLC ff_dca_vlc_tnl_scf

Definition at line 1252 of file dcahuff.c.

Referenced by parse_tonal().

VLC ff_dca_vlc_damp

Definition at line 1253 of file dcahuff.c.

Referenced by parse_tonal().

VLC ff_dca_vlc_dph

Definition at line 1254 of file dcahuff.c.

Referenced by parse_tonal().

VLC ff_dca_vlc_fst_rsd_amp

Definition at line 1255 of file dcahuff.c.

Referenced by parse_scale_factors().

VLC ff_dca_vlc_rsd_apprx

Definition at line 1256 of file dcahuff.c.

Referenced by parse_scale_factors().

VLC ff_dca_vlc_rsd_amp

Definition at line 1257 of file dcahuff.c.

Referenced by parse_scale_factors().

VLC ff_dca_vlc_avg_g3

Definition at line 1258 of file dcahuff.c.

Referenced by parse_grid_1_chunk(), and parse_grid_1_sec_ch().

VLC ff_dca_vlc_st_grid

Definition at line 1259 of file dcahuff.c.

Referenced by parse_st_code().

VLC ff_dca_vlc_grid_2

Definition at line 1260 of file dcahuff.c.

Referenced by parse_grid_2().

VLC ff_dca_vlc_grid_3

Definition at line 1261 of file dcahuff.c.

Referenced by parse_grid_3().

VLC ff_dca_vlc_rsd

Definition at line 1262 of file dcahuff.c.

Referenced by parse_ch().