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, [128])
 scalefactors (8 windows * 16 sfb max) More...
 
 INTFLOAT_ALIGNED_UNION (32, coeffs, 1024)
 coefficients for IMDCT, maybe processed More...
 
 INTFLOAT_ALIGNED_UNION (32, prev_coeffs, 1024)
 unscaled previous contents of coeffs[] for USAC 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
 
AACUsacElemData ue
 USAC element data. More...
 
TemporalNoiseShaping tns
 
enum BandType band_type [128]
 band types More...
 
int sfo [128]
 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 210 of file aacdec.h.

Member Function Documentation

◆ INTFLOAT_UNION()

SingleChannelElement::INTFLOAT_UNION ( sf  )

scalefactors (8 windows * 16 sfb max)

◆ INTFLOAT_ALIGNED_UNION() [1/5]

SingleChannelElement::INTFLOAT_ALIGNED_UNION ( 32  ,
coeffs  ,
1024   
)

coefficients for IMDCT, maybe processed

◆ INTFLOAT_ALIGNED_UNION() [2/5]

SingleChannelElement::INTFLOAT_ALIGNED_UNION ( 32  ,
prev_coeffs  ,
1024   
)

unscaled previous contents of coeffs[] for USAC

◆ INTFLOAT_ALIGNED_UNION() [3/5]

SingleChannelElement::INTFLOAT_ALIGNED_UNION ( 32  ,
saved  ,
1536   
)

overlap

◆ INTFLOAT_ALIGNED_UNION() [4/5]

SingleChannelElement::INTFLOAT_ALIGNED_UNION ( 32  ,
ret_buf  ,
2048   
)

PCM output buffer.

◆ INTFLOAT_ALIGNED_UNION() [5/5]

SingleChannelElement::INTFLOAT_ALIGNED_UNION ( 16  ,
ltp_state  ,
3072   
)

time signal for LTP

Field Documentation

◆ ics

IndividualChannelStream SingleChannelElement::ics

◆ ue

AACUsacElemData SingleChannelElement::ue

◆ tns

TemporalNoiseShaping SingleChannelElement::tns

◆ band_type

enum BandType SingleChannelElement::band_type

◆ sfo

int SingleChannelElement::sfo[128]

scalefactor offsets

Definition at line 215 of file aacdec.h.

Referenced by apply_noise_fill(), decode_scalefactors(), and decode_usac_scale_factors().

◆ predictor_state [1/2]

struct PredictorState* SingleChannelElement::predictor_state

Definition at line 224 of file aacdec.h.

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

◆ @18

union { ... }

◆ output

float* SingleChannelElement::output

PCM output.

Definition at line 227 of file aacdec.h.

Referenced by decode_usac_core_coder(), frame_configure_elements(), and spectral_to_sample().

◆ @20

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: