FFmpeg
Public Member Functions | Data Fields
SingleChannelElement Struct Reference

Single Channel Element - used for both SCE and LFE elements. More...

#include <aacdec.h>

Public Member Functions

 INTFLOAT_UNION (sf, [120])
 scalefactors More...
 
 INTFLOAT_ALIGNED_UNION (32, coeffs, 1024)
 coefficients for IMDCT, maybe processed More...
 
 INTFLOAT_ALIGNED_UNION (32, saved, 1536)
 overlap More...
 
 INTFLOAT_ALIGNED_UNION (32, ret_buf, 2048)
 PCM output buffer. More...
 
 INTFLOAT_ALIGNED_UNION (16, ltp_state, 3072)
 time signal for LTP More...
 

Data Fields

IndividualChannelStream ics
 
TemporalNoiseShaping tns
 
enum BandType band_type [128]
 band types More...
 
int band_type_run_end [120]
 band type run end points More...
 
int sfo [120]
 scalefactor offsets More...
 
union {
   struct PredictorState *   predictor_state
 
}; 
 
union {
   float *   output
 PCM output. More...
 
}; 
 
Pulse pulse
 
enum BandType band_alt [128]
 alternative band type More...
 
int sf_idx [128]
 scalefactor indices More...
 
uint8_t zeroes [128]
 band is not coded More...
 
uint8_t can_pns [128]
 band is allowed to PNS (informative) More...
 
float is_ener [128]
 Intensity stereo pos. More...
 
float pns_ener [128]
 Noise energy values. More...
 
float pcoeffs [1024]
 coefficients for IMDCT, pristine More...
 
float coeffs [1024]
 coefficients for IMDCT, maybe processed More...
 
float ret_buf [2048]
 PCM output buffer. More...
 
float ltp_state [3072]
 time signal for LTP More...
 
float lcoeffs [1024]
 MDCT of LTP coefficients. More...
 
float prcoeffs [1024]
 Main prediction coefs. More...
 
PredictorState predictor_state [MAX_PREDICTORS]
 

Detailed Description

Single Channel Element - used for both SCE and LFE elements.

Definition at line 145 of file aacdec.h.

Member Function Documentation

◆ INTFLOAT_UNION()

SingleChannelElement::INTFLOAT_UNION ( sf  )

scalefactors

◆ INTFLOAT_ALIGNED_UNION() [1/4]

SingleChannelElement::INTFLOAT_ALIGNED_UNION ( 32  ,
coeffs  ,
1024   
)

coefficients for IMDCT, maybe processed

◆ INTFLOAT_ALIGNED_UNION() [2/4]

SingleChannelElement::INTFLOAT_ALIGNED_UNION ( 32  ,
saved  ,
1536   
)

overlap

◆ INTFLOAT_ALIGNED_UNION() [3/4]

SingleChannelElement::INTFLOAT_ALIGNED_UNION ( 32  ,
ret_buf  ,
2048   
)

PCM output buffer.

◆ INTFLOAT_ALIGNED_UNION() [4/4]

SingleChannelElement::INTFLOAT_ALIGNED_UNION ( 16  ,
ltp_state  ,
3072   
)

time signal for LTP

Field Documentation

◆ ics

IndividualChannelStream SingleChannelElement::ics

◆ tns

TemporalNoiseShaping SingleChannelElement::tns

◆ band_type

enum BandType SingleChannelElement::band_type

◆ band_type_run_end

int SingleChannelElement::band_type_run_end[120]

band type run end points

Definition at line 149 of file aacdec.h.

Referenced by apply_intensity_stereo(), and ff_aac_decode_ics().

◆ sfo

int SingleChannelElement::sfo[120]

scalefactor offsets

Definition at line 150 of file aacdec.h.

Referenced by ff_aac_decode_ics().

◆ predictor_state [1/2]

struct PredictorState* SingleChannelElement::predictor_state

Definition at line 158 of file aacdec.h.

Referenced by ff_aac_apply_main_pred(), ff_aac_search_for_pred(), and reset_predictor_group().

◆ @13

union { ... }

◆ output

float* SingleChannelElement::output

PCM output.

Definition at line 161 of file aacdec.h.

Referenced by frame_configure_elements(), and spectral_to_sample().

◆ @15

union { ... }

◆ pulse

Pulse SingleChannelElement::pulse

Definition at line 130 of file aacenc.h.

Referenced by adjust_frame_information(), and encode_individual_channel().

◆ band_alt

enum BandType SingleChannelElement::band_alt[128]

alternative band type

Definition at line 132 of file aacenc.h.

Referenced by ff_aac_search_for_pred(), mark_pns(), and search_for_pns().

◆ sf_idx

int SingleChannelElement::sf_idx[128]

◆ zeroes

uint8_t SingleChannelElement::zeroes[128]

◆ can_pns

uint8_t SingleChannelElement::can_pns[128]

band is allowed to PNS (informative)

Definition at line 135 of file aacenc.h.

Referenced by ff_pns_bits(), mark_pns(), and search_for_quantizers_twoloop().

◆ is_ener

float SingleChannelElement::is_ener[128]

Intensity stereo pos.

Definition at line 136 of file aacenc.h.

Referenced by apply_intensity_stereo(), ff_aac_search_for_is(), and set_special_band_scalefactors().

◆ pns_ener

float SingleChannelElement::pns_ener[128]

Noise energy values.

Definition at line 137 of file aacenc.h.

Referenced by mark_pns(), search_for_pns(), and set_special_band_scalefactors().

◆ pcoeffs

float SingleChannelElement::pcoeffs[1024]

coefficients for IMDCT, pristine

Definition at line 138 of file aacenc.h.

Referenced by aac_encode_frame(), apply_window_and_mdct(), ff_aac_adjust_common_pred(), ff_aac_apply_tns(), and ff_aac_is_encoding_err().

◆ coeffs

float SingleChannelElement::coeffs[1024]

◆ ret_buf

float SingleChannelElement::ret_buf[2048]

PCM output buffer.

Definition at line 140 of file aacenc.h.

Referenced by aac_encode_frame(), apply_window_and_mdct(), ff_aac_ltp_insert_new_frame(), and frame_configure_elements().

◆ ltp_state

float SingleChannelElement::ltp_state[3072]

time signal for LTP

Definition at line 141 of file aacenc.h.

Referenced by aac_encode_frame(), ff_aac_ltp_insert_new_frame(), ff_aac_search_for_ltp(), and ff_aac_update_ltp().

◆ lcoeffs

float SingleChannelElement::lcoeffs[1024]

MDCT of LTP coefficients.

Definition at line 142 of file aacenc.h.

Referenced by aac_encode_frame(), and ff_aac_search_for_ltp().

◆ prcoeffs

float SingleChannelElement::prcoeffs[1024]

Main prediction coefs.

Definition at line 143 of file aacenc.h.

Referenced by ff_aac_apply_main_pred(), and ff_aac_search_for_pred().

◆ predictor_state [2/2]

PredictorState SingleChannelElement::predictor_state[MAX_PREDICTORS]

Definition at line 144 of file aacenc.h.


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