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 133 of file atrac3plus.h.

Field Documentation

◆ unit_type

int Atrac3pChanUnitCtx::unit_type

unit type (mono/stereo)

Definition at line 135 of file atrac3plus.h.

Referenced by decode_residual_spectrum().

◆ num_quant_units

int Atrac3pChanUnitCtx::num_quant_units

Definition at line 136 of file atrac3plus.h.

◆ num_subbands

int Atrac3pChanUnitCtx::num_subbands

Definition at line 137 of file atrac3plus.h.

Referenced by reconstruct_frame().

◆ used_quant_units

int Atrac3pChanUnitCtx::used_quant_units

number of quant units with coded spectrum

Definition at line 138 of file atrac3plus.h.

Referenced by decode_residual_spectrum().

◆ num_coded_subbands

int Atrac3pChanUnitCtx::num_coded_subbands

number of subbands with coded spectrum

Definition at line 139 of file atrac3plus.h.

Referenced by decode_residual_spectrum().

◆ mute_flag

int Atrac3pChanUnitCtx::mute_flag

mute flag

Definition at line 140 of file atrac3plus.h.

Referenced by decode_residual_spectrum().

◆ use_full_table

int Atrac3pChanUnitCtx::use_full_table

1 - full table list, 0 - restricted one

Definition at line 141 of file atrac3plus.h.

◆ noise_present

int Atrac3pChanUnitCtx::noise_present

1 - global noise info present

Definition at line 142 of file atrac3plus.h.

◆ noise_level_index

int Atrac3pChanUnitCtx::noise_level_index

global noise level index

Definition at line 143 of file atrac3plus.h.

◆ noise_table_index

int Atrac3pChanUnitCtx::noise_table_index

global noise RNG table index

Definition at line 144 of file atrac3plus.h.

◆ swap_channels

uint8_t Atrac3pChanUnitCtx::swap_channels[ATRAC3P_SUBBANDS]

1 - perform subband-wise channel swapping

Definition at line 145 of file atrac3plus.h.

Referenced by decode_residual_spectrum().

◆ negate_coeffs

uint8_t Atrac3pChanUnitCtx::negate_coeffs[ATRAC3P_SUBBANDS]

1 - subband-wise IMDCT coefficients negation

Definition at line 146 of file atrac3plus.h.

Referenced by decode_residual_spectrum().

◆ channels

Atrac3pChanParams Atrac3pChanUnitCtx::channels[2]

◆ wave_synth_hist

Atrac3pWaveSynthParams Atrac3pChanUnitCtx::wave_synth_hist[2]

waves synth history for two frames

Definition at line 150 of file atrac3plus.h.

◆ waves_info

Atrac3pWaveSynthParams* Atrac3pChanUnitCtx::waves_info

Definition at line 151 of file atrac3plus.h.

Referenced by ff_atrac3p_generate_tones(), and reconstruct_frame().

◆ waves_info_prev

Atrac3pWaveSynthParams* Atrac3pChanUnitCtx::waves_info_prev

Definition at line 152 of file atrac3plus.h.

Referenced by ff_atrac3p_generate_tones(), and reconstruct_frame().

◆ ipqf_ctx

Atrac3pIPQFChannelCtx Atrac3pChanUnitCtx::ipqf_ctx[2]

Definition at line 154 of file atrac3plus.h.

Referenced by reconstruct_frame().

◆ prev_buf

float Atrac3pChanUnitCtx::prev_buf[2][ATRAC3P_FRAME_SAMPLES]

overlapping buffer

Definition at line 155 of file atrac3plus.h.

Referenced by reconstruct_frame().


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