FFmpeg  4.0
Data Fields
Atrac3pChanUnitCtx Struct Reference

Channel unit parameters. More...

#include <libavcodec/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

◆ unit_type

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

◆ num_quant_units

int Atrac3pChanUnitCtx::num_quant_units

◆ num_subbands

int Atrac3pChanUnitCtx::num_subbands

◆ used_quant_units

int Atrac3pChanUnitCtx::used_quant_units

◆ num_coded_subbands

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

◆ mute_flag

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

◆ use_full_table

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

◆ noise_present

int Atrac3pChanUnitCtx::noise_present

1 - global noise info present

Definition at line 140 of file atrac3plus.h.

Referenced by ff_atrac3p_decode_channel_unit().

◆ noise_level_index

int Atrac3pChanUnitCtx::noise_level_index

global noise level index

Definition at line 141 of file atrac3plus.h.

Referenced by ff_atrac3p_decode_channel_unit().

◆ noise_table_index

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

◆ swap_channels

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

◆ negate_coeffs

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

◆ channels

Atrac3pChanParams Atrac3pChanUnitCtx::channels[2]

◆ wave_synth_hist

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

◆ waves_info

Atrac3pWaveSynthParams* Atrac3pChanUnitCtx::waves_info

◆ waves_info_prev

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

◆ ipqf_ctx

Atrac3pIPQFChannelCtx Atrac3pChanUnitCtx::ipqf_ctx[2]

Definition at line 152 of file atrac3plus.h.

Referenced by reconstruct_frame().

◆ prev_buf

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: