FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
Atrac3pChanParams Struct Reference

Sound channel parameters. More...

#include <atrac3plus.h>

Data Fields

int ch_num
 
int num_coded_vals
 number of transmitted quant unit values More...
 
int fill_mode
 
int split_point
 
int table_type
 table type: 0 - tone?, 1- noise? More...
 
int qu_wordlen [32]
 array of word lengths for each quant unit More...
 
int qu_sf_idx [32]
 array of scale factor indexes for each quant unit More...
 
int qu_tab_idx [32]
 array of code table indexes for each quant unit More...
 
int16_t spectrum [2048]
 decoded IMDCT spectrum More...
 
uint8_t power_levs [5]
 power compensation levels More...
 
uint8_t wnd_shape_hist [2][ATRAC3P_SUBBANDS]
 IMDCT window shape, 0=sine/1=steep. More...
 
uint8_twnd_shape
 IMDCT window shape for current frame. More...
 
uint8_twnd_shape_prev
 IMDCT window shape for previous frame. More...
 
AtracGainInfo gain_data_hist [2][ATRAC3P_SUBBANDS]
 gain control data for all subbands More...
 
AtracGainInfogain_data
 gain control data for next frame More...
 
AtracGainInfogain_data_prev
 gain control data for previous frame More...
 
int num_gain_subbands
 number of subbands with gain control data More...
 
Atrac3pWavesData tones_info_hist [2][ATRAC3P_SUBBANDS]
 
Atrac3pWavesDatatones_info
 
Atrac3pWavesDatatones_info_prev
 

Detailed Description

Sound channel parameters.

Definition at line 89 of file atrac3plus.h.

Field Documentation

int Atrac3pChanParams::ch_num

Definition at line 90 of file atrac3plus.h.

Referenced by add_wordlen_weights(), atrac3p_decode_init(), and num_coded_units().

int Atrac3pChanParams::num_coded_vals

number of transmitted quant unit values

Definition at line 91 of file atrac3plus.h.

Referenced by decode_channel_wordlen(), and num_coded_units().

int Atrac3pChanParams::fill_mode

Definition at line 92 of file atrac3plus.h.

Referenced by decode_channel_wordlen(), and num_coded_units().

int Atrac3pChanParams::split_point

Definition at line 93 of file atrac3plus.h.

Referenced by decode_channel_wordlen(), and num_coded_units().

int Atrac3pChanParams::table_type

table type: 0 - tone?, 1- noise?

Definition at line 94 of file atrac3plus.h.

Referenced by decode_channel_code_tab(), and decode_spectrum().

int Atrac3pChanParams::qu_wordlen[32]
int Atrac3pChanParams::qu_sf_idx[32]

array of scale factor indexes for each quant unit

Definition at line 96 of file atrac3plus.h.

Referenced by decode_channel_sf_idx(), decode_residual_spectrum(), decode_scale_factors(), ff_atrac3p_power_compensation(), and subtract_sf_weights().

int Atrac3pChanParams::qu_tab_idx[32]

array of code table indexes for each quant unit

Definition at line 97 of file atrac3plus.h.

Referenced by decode_code_table_indexes(), and decode_spectrum().

int16_t Atrac3pChanParams::spectrum[2048]

decoded IMDCT spectrum

Definition at line 98 of file atrac3plus.h.

Referenced by decode_residual_spectrum(), and decode_spectrum().

uint8_t Atrac3pChanParams::power_levs[5]

power compensation levels

Definition at line 99 of file atrac3plus.h.

Referenced by decode_spectrum(), and ff_atrac3p_power_compensation().

uint8_t Atrac3pChanParams::wnd_shape_hist[2][ATRAC3P_SUBBANDS]

IMDCT window shape, 0=sine/1=steep.

Definition at line 102 of file atrac3plus.h.

Referenced by atrac3p_decode_init().

uint8_t* Atrac3pChanParams::wnd_shape

IMDCT window shape for current frame.

Definition at line 103 of file atrac3plus.h.

Referenced by atrac3p_decode_init(), decode_window_shape(), and reconstruct_frame().

uint8_t* Atrac3pChanParams::wnd_shape_prev

IMDCT window shape for previous frame.

Definition at line 104 of file atrac3plus.h.

Referenced by atrac3p_decode_init(), and reconstruct_frame().

AtracGainInfo Atrac3pChanParams::gain_data_hist[2][ATRAC3P_SUBBANDS]

gain control data for all subbands

Definition at line 107 of file atrac3plus.h.

Referenced by atrac3p_decode_init().

AtracGainInfo* Atrac3pChanParams::gain_data
AtracGainInfo* Atrac3pChanParams::gain_data_prev

gain control data for previous frame

Definition at line 109 of file atrac3plus.h.

Referenced by atrac3p_decode_init(), ff_atrac3p_power_compensation(), and reconstruct_frame().

int Atrac3pChanParams::num_gain_subbands

number of subbands with gain control data

Definition at line 110 of file atrac3plus.h.

Referenced by decode_gainc_data().

Atrac3pWavesData Atrac3pChanParams::tones_info_hist[2][ATRAC3P_SUBBANDS]

Definition at line 113 of file atrac3plus.h.

Referenced by atrac3p_decode_init().

Atrac3pWavesData* Atrac3pChanParams::tones_info
Atrac3pWavesData* Atrac3pChanParams::tones_info_prev

Definition at line 115 of file atrac3plus.h.

Referenced by atrac3p_decode_init(), ff_atrac3p_generate_tones(), and reconstruct_frame().


The documentation for this struct was generated from the following file: