FFmpeg
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

◆ ch_num

int Atrac3pChanParams::ch_num

Definition at line 90 of file atrac3plus.h.

Referenced by add_wordlen_weights(), and num_coded_units().

◆ num_coded_vals

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

◆ fill_mode

int Atrac3pChanParams::fill_mode

Definition at line 92 of file atrac3plus.h.

Referenced by decode_channel_wordlen(), and num_coded_units().

◆ split_point

int Atrac3pChanParams::split_point

Definition at line 93 of file atrac3plus.h.

Referenced by decode_channel_wordlen(), and num_coded_units().

◆ table_type

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

◆ qu_wordlen

int Atrac3pChanParams::qu_wordlen[32]

array of word lengths for each quant unit

Definition at line 95 of file atrac3plus.h.

Referenced by add_wordlen_weights(), decode_channel_wordlen(), decode_residual_spectrum(), and decode_spectrum().

◆ qu_sf_idx

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(), and subtract_sf_weights().

◆ qu_tab_idx

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

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

◆ power_levs

uint8_t Atrac3pChanParams::power_levs[5]

power compensation levels

Definition at line 99 of file atrac3plus.h.

Referenced by decode_spectrum().

◆ wnd_shape_hist

uint8_t Atrac3pChanParams::wnd_shape_hist[2][ATRAC3P_SUBBANDS]

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

Definition at line 102 of file atrac3plus.h.

◆ wnd_shape

uint8_t* Atrac3pChanParams::wnd_shape

IMDCT window shape for current frame.

Definition at line 103 of file atrac3plus.h.

Referenced by reconstruct_frame().

◆ wnd_shape_prev

uint8_t* Atrac3pChanParams::wnd_shape_prev

IMDCT window shape for previous frame.

Definition at line 104 of file atrac3plus.h.

Referenced by reconstruct_frame().

◆ gain_data_hist

AtracGainInfo Atrac3pChanParams::gain_data_hist[2][ATRAC3P_SUBBANDS]

gain control data for all subbands

Definition at line 107 of file atrac3plus.h.

◆ gain_data

AtracGainInfo* Atrac3pChanParams::gain_data

gain control data for next frame

Definition at line 108 of file atrac3plus.h.

Referenced by decode_gainc_levels(), decode_gainc_loc_codes(), decode_gainc_npoints(), and reconstruct_frame().

◆ gain_data_prev

AtracGainInfo* Atrac3pChanParams::gain_data_prev

gain control data for previous frame

Definition at line 109 of file atrac3plus.h.

Referenced by reconstruct_frame().

◆ num_gain_subbands

int Atrac3pChanParams::num_gain_subbands

number of subbands with gain control data

Definition at line 110 of file atrac3plus.h.

◆ tones_info_hist

Atrac3pWavesData Atrac3pChanParams::tones_info_hist[2][ATRAC3P_SUBBANDS]

Definition at line 113 of file atrac3plus.h.

◆ tones_info

Atrac3pWavesData* Atrac3pChanParams::tones_info

Definition at line 114 of file atrac3plus.h.

Referenced by ff_atrac3p_generate_tones(), and reconstruct_frame().

◆ tones_info_prev

Atrac3pWavesData* Atrac3pChanParams::tones_info_prev

Definition at line 115 of file atrac3plus.h.

Referenced by ff_atrac3p_generate_tones(), and reconstruct_frame().


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