FFmpeg
Data Fields
Atrac3pChanUnitCtx Struct Reference

Channel unit parameters. More...

#include <atrac3plus.h>

Data Fields

int unit_type
 unit type (mono/stereo) More...
 
int num_quant_units
 
int num_subbands
 
int used_quant_units
 number of quant units with coded spectrum More...
 
int num_coded_subbands
 number of subbands with coded spectrum More...
 
int mute_flag
 mute flag More...
 
int use_full_table
 1 - full table list, 0 - restricted one More...
 
int noise_present
 1 - global noise info present More...
 
int noise_level_index
 global noise level index More...
 
int noise_table_index
 global noise RNG table index More...
 
uint8_t swap_channels [ATRAC3P_SUBBANDS]
 1 - perform subband-wise channel swapping More...
 
uint8_t negate_coeffs [ATRAC3P_SUBBANDS]
 1 - subband-wise IMDCT coefficients negation More...
 
Atrac3pChanParams channels [2]
 
Atrac3pWaveSynthParams wave_synth_hist [2]
 waves synth history for two frames More...
 
Atrac3pWaveSynthParamswaves_info
 
Atrac3pWaveSynthParamswaves_info_prev
 
Atrac3pIPQFChannelCtx ipqf_ctx [2]
 
float prev_buf [2][ATRAC3P_FRAME_SAMPLES]
 overlapping buffer More...
 

Detailed Description

Channel unit parameters.

Definition at line 131 of file atrac3plus.h.

Field Documentation

int Atrac3pChanUnitCtx::unit_type

unit type (mono/stereo)

Definition at line 133 of file atrac3plus.h.

Referenced by atrac3p_decode_frame(), decode_residual_spectrum(), and ff_atrac3p_power_compensation().

int Atrac3pChanUnitCtx::num_quant_units
int Atrac3pChanUnitCtx::num_subbands
int Atrac3pChanUnitCtx::used_quant_units
int Atrac3pChanUnitCtx::num_coded_subbands

number of subbands with coded spectrum

Definition at line 137 of file atrac3plus.h.

Referenced by decode_residual_spectrum(), decode_spectrum(), and ff_atrac3p_decode_channel_unit().

int Atrac3pChanUnitCtx::mute_flag

mute flag

Definition at line 138 of file atrac3plus.h.

Referenced by decode_residual_spectrum(), and ff_atrac3p_decode_channel_unit().

int Atrac3pChanUnitCtx::use_full_table

1 - full table list, 0 - restricted one

Definition at line 139 of file atrac3plus.h.

Referenced by decode_channel_code_tab(), decode_code_table_indexes(), and decode_spectrum().

int Atrac3pChanUnitCtx::noise_present

1 - global noise info present

Definition at line 140 of file atrac3plus.h.

Referenced by ff_atrac3p_decode_channel_unit().

int Atrac3pChanUnitCtx::noise_level_index

global noise level index

Definition at line 141 of file atrac3plus.h.

Referenced by ff_atrac3p_decode_channel_unit().

int Atrac3pChanUnitCtx::noise_table_index

global noise RNG table index

Definition at line 142 of file atrac3plus.h.

Referenced by ff_atrac3p_decode_channel_unit().

uint8_t Atrac3pChanUnitCtx::swap_channels[ATRAC3P_SUBBANDS]

1 - perform subband-wise channel swapping

Definition at line 143 of file atrac3plus.h.

Referenced by decode_residual_spectrum(), ff_atrac3p_decode_channel_unit(), and ff_atrac3p_power_compensation().

uint8_t Atrac3pChanUnitCtx::negate_coeffs[ATRAC3P_SUBBANDS]

1 - subband-wise IMDCT coefficients negation

Definition at line 144 of file atrac3plus.h.

Referenced by decode_residual_spectrum(), and ff_atrac3p_decode_channel_unit().

Atrac3pChanParams Atrac3pChanUnitCtx::channels[2]
Atrac3pWaveSynthParams Atrac3pChanUnitCtx::wave_synth_hist[2]

waves synth history for two frames

Definition at line 148 of file atrac3plus.h.

Referenced by atrac3p_decode_init().

Atrac3pWaveSynthParams* Atrac3pChanUnitCtx::waves_info
Atrac3pWaveSynthParams* Atrac3pChanUnitCtx::waves_info_prev

Definition at line 150 of file atrac3plus.h.

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

Atrac3pIPQFChannelCtx Atrac3pChanUnitCtx::ipqf_ctx[2]

Definition at line 152 of file atrac3plus.h.

Referenced by reconstruct_frame().

float Atrac3pChanUnitCtx::prev_buf[2][ATRAC3P_FRAME_SAMPLES]

overlapping buffer

Definition at line 153 of file atrac3plus.h.

Referenced by reconstruct_frame().


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