SBRData Struct Reference

Spectral Band Replication per channel data. More...

#include <sbr.h>

Collaboration diagram for SBRData:
Collaboration graph

Data Fields

Main bitstream data variables
unsigned bs_frame_class
 
unsigned bs_add_harmonic_flag
 
unsigned bs_num_env
 
uint8_t bs_freq_res [7]
 
unsigned bs_num_noise
 
uint8_t bs_df_env [5]
 
uint8_t bs_df_noise [2]
 
uint8_t bs_invf_mode [2][5]
 
uint8_t bs_add_harmonic [48]
 
unsigned bs_amp_res
 

State variables

int synthesis_filterbank_samples_offset
 
int e_a [2]
 l_APrev and l_A More...
 
float bw_array [5]
 Chirp factors. More...
 
float W [2][32][32][2]
 QMF values of the original signal. More...
 
int Ypos
 QMF output of the HF adjustor. More...
 
float q_temp [42][48]
 
uint8_t s_indexmapped [8][48]
 
float env_facs [6][48]
 Envelope scalefactors. More...
 
float noise_facs [3][5]
 Noise scalefactors. More...
 
uint8_t t_env [8]
 Envelope time borders. More...
 
uint8_t t_env_num_env_old
 Envelope time border of the last envelope of the previous frame. More...
 
uint8_t t_q [3]
 Noise time borders. More...
 
unsigned f_indexnoise
 
unsigned f_indexsine
 
 DECLARE_ALIGNED (32, float, synthesis_filterbank_samples)[SBR_SYNTHESIS_BUF_SIZE]
 
 DECLARE_ALIGNED (32, float, analysis_filterbank_samples)[1312]
 
 DECLARE_ALIGNED (16, float, Y)[2][38][64][2]
 
 DECLARE_ALIGNED (16, float, g_temp)[42][48]
 

Detailed Description

Spectral Band Replication per channel data.

Definition at line 62 of file sbr.h.

Member Function Documentation

SBRData::DECLARE_ALIGNED ( 32  ,
float  ,
synthesis_filterbank_samples   
)
SBRData::DECLARE_ALIGNED ( 32  ,
float  ,
analysis_filterbank_samples   
)
SBRData::DECLARE_ALIGNED ( 16  ,
float  ,
Y   
)
SBRData::DECLARE_ALIGNED ( 16  ,
float  ,
g_temp   
)

Field Documentation

uint8_t SBRData::bs_add_harmonic[48]
unsigned SBRData::bs_add_harmonic_flag
unsigned SBRData::bs_amp_res

Definition at line 76 of file sbr.h.

Referenced by copy_sbr_grid(), read_sbr_envelope(), read_sbr_grid(), and sbr_dequant().

uint8_t SBRData::bs_df_env[5]

Definition at line 72 of file sbr.h.

Referenced by read_sbr_dtdf(), and read_sbr_envelope().

uint8_t SBRData::bs_df_noise[2]

Definition at line 73 of file sbr.h.

Referenced by read_sbr_dtdf(), and read_sbr_noise().

unsigned SBRData::bs_frame_class

Definition at line 67 of file sbr.h.

Referenced by copy_sbr_grid(), and read_sbr_grid().

uint8_t SBRData::bs_freq_res[7]
uint8_t SBRData::bs_invf_mode[2][5]

Definition at line 74 of file sbr.h.

Referenced by read_sbr_channel_pair_element(), read_sbr_invf(), and sbr_chirp().

unsigned SBRData::bs_num_noise
float SBRData::bw_array[5]

Chirp factors.

Definition at line 89 of file sbr.h.

Referenced by ff_sbr_apply(), and sbr_chirp().

int SBRData::e_a[2]

l_APrev and l_A

Definition at line 87 of file sbr.h.

Referenced by copy_sbr_grid(), ff_sbr_apply(), read_sbr_grid(), and sbr_turnoff().

float SBRData::env_facs[6][48]

Envelope scalefactors.

Definition at line 99 of file sbr.h.

Referenced by read_sbr_envelope(), sbr_dequant(), and sbr_mapping().

unsigned SBRData::f_indexnoise

Definition at line 108 of file sbr.h.

Referenced by sbr_hf_assemble(), and sbr_make_f_derived().

unsigned SBRData::f_indexsine

Definition at line 109 of file sbr.h.

Referenced by sbr_hf_assemble().

float SBRData::noise_facs[3][5]

Noise scalefactors.

Definition at line 101 of file sbr.h.

Referenced by read_sbr_noise(), sbr_dequant(), and sbr_mapping().

float SBRData::q_temp[42][48]

Definition at line 96 of file sbr.h.

Referenced by sbr_hf_assemble().

uint8_t SBRData::s_indexmapped[8][48]

Definition at line 97 of file sbr.h.

Referenced by sbr_gain_calc(), and sbr_mapping().

int SBRData::synthesis_filterbank_samples_offset

Definition at line 85 of file sbr.h.

Referenced by ff_aac_sbr_ctx_init(), and ff_sbr_apply().

uint8_t SBRData::t_env[8]

Envelope time borders.

Definition at line 103 of file sbr.h.

Referenced by copy_sbr_grid(), ff_sbr_apply(), read_sbr_grid(), sbr_env_estimate(), sbr_hf_assemble(), and sbr_mapping().

uint8_t SBRData::t_env_num_env_old

Envelope time border of the last envelope of the previous frame.

Definition at line 105 of file sbr.h.

Referenced by copy_sbr_grid(), read_sbr_grid(), sbr_hf_assemble(), and sbr_x_gen().

uint8_t SBRData::t_q[3]

Noise time borders.

Definition at line 107 of file sbr.h.

Referenced by copy_sbr_grid(), read_sbr_grid(), and sbr_mapping().

float SBRData::W[2][32][32][2]

QMF values of the original signal.

Definition at line 91 of file sbr.h.

Referenced by ff_sbr_apply().

int SBRData::Ypos

QMF output of the HF adjustor.

Definition at line 93 of file sbr.h.

Referenced by ff_sbr_apply().


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