FFmpeg
Functions | Variables
aactab.h File Reference

AAC data declarations. More...

#include "libavutil/mem_internal.h"
#include "aac.h"
#include <stdint.h>

Go to the source code of this file.

Functions

void ff_aac_tableinit (void)
 
void ff_aac_float_common_init (void)
 

Variables

float ff_aac_pow2sf_tab [428]
 
float ff_aac_pow34sf_tab [428]
 
static const INTFLOAT ltp_coef [8]
 
static const INTFLOAT tns_tmp2_map_1_3 [4]
 
static const INTFLOAT tns_tmp2_map_0_3 [8]
 
static const INTFLOAT tns_tmp2_map_1_4 [8]
 
static const INTFLOAT tns_tmp2_map_0_4 [16]
 
static const INTFLOAT *const tns_tmp2_map [4]
 
float ff_aac_kbd_long_1024 [1024]
 
float ff_aac_kbd_short_128 [128]
 
const float ff_aac_eld_window_512 [1920]
 
const int ff_aac_eld_window_512_fixed [1920]
 
const float ff_aac_eld_window_480 [1800]
 
const int ff_aac_eld_window_480_fixed [1800]
 
const uint8_t ff_aac_num_swb_1024 []
 
const uint8_t ff_aac_num_swb_960 []
 
const uint8_t ff_aac_num_swb_512 []
 
const uint8_t ff_aac_num_swb_480 []
 
const uint8_t ff_aac_num_swb_128 []
 
const uint8_t ff_aac_num_swb_120 []
 
const uint8_t ff_aac_pred_sfb_max []
 
const uint32_t ff_aac_scalefactor_code [121]
 
const uint8_t ff_aac_scalefactor_bits [121]
 
const uint16_t *const ff_aac_spectral_codes [11]
 
const uint8_t *const ff_aac_spectral_bits [11]
 
const uint16_t ff_aac_spectral_sizes [11]
 
const float *const ff_aac_codebook_vectors []
 
const float *const ff_aac_codebook_vector_vals []
 
const uint16_t *const ff_aac_codebook_vector_idx []
 
const uint16_t *const ff_swb_offset_1024 [13]
 
const uint16_t *const ff_swb_offset_960 [13]
 
const uint16_t *const ff_swb_offset_512 [13]
 
const uint16_t *const ff_swb_offset_480 [13]
 
const uint16_t *const ff_swb_offset_128 [13]
 
const uint16_t *const ff_swb_offset_120 [13]
 
const uint8_t ff_tns_max_bands_1024 [13]
 
const uint8_t ff_tns_max_bands_512 [13]
 
const uint8_t ff_tns_max_bands_480 [13]
 
const uint8_t ff_tns_max_bands_128 [13]
 

Detailed Description

AAC data declarations.

Author
Oded Shimon ( ods15 ods15 dyndns org )
Maxim Gavrilov ( maxim.gavrilov gmail com )

Definition in file aactab.h.

Function Documentation

void ff_aac_tableinit ( void  )

Definition at line 3347 of file aactab.c.

Referenced by aac_encode_init(), and aac_static_table_init().

void ff_aac_float_common_init ( void  )

Referenced by aac_static_table_init(), and dsp_init().

Variable Documentation

float ff_aac_pow2sf_tab[428]
float ff_aac_pow34sf_tab[428]

Definition at line 40 of file aactab.c.

Referenced by aac_tableinit(), find_min_book(), and quantize_and_encode_band_cost_template().

const INTFLOAT ltp_coef[8]
static
Initial value:
= {
Q30(0.570829), Q30(0.696616), Q30(0.813004), Q30(0.911304),
Q30(0.984900), Q30(1.067894), Q30(1.194601), Q30(1.369533),
}
#define Q30(x)
Definition: aac_defines.h:97

Definition at line 50 of file aactab.h.

Referenced by decode_ltp(), and get_lag().

const INTFLOAT tns_tmp2_map_1_3[4]
static
Initial value:
= {
Q31(0.00000000), Q31(-0.43388373), Q31(0.64278758), Q31(0.34202015),
}
#define Q31(x)
Definition: aac_defines.h:98

Definition at line 61 of file aactab.h.

const INTFLOAT tns_tmp2_map_0_3[8]
static
Initial value:
= {
Q31(0.00000000), Q31(-0.43388373), Q31(-0.78183150), Q31(-0.97492790),
Q31(0.98480773), Q31( 0.86602539), Q31( 0.64278758), Q31( 0.34202015),
}
#define Q31(x)
Definition: aac_defines.h:98

Definition at line 65 of file aactab.h.

const INTFLOAT tns_tmp2_map_1_4[8]
static
Initial value:
= {
Q31(0.00000000), Q31(-0.20791170), Q31(-0.40673664), Q31(-0.58778524),
Q31(0.67369562), Q31( 0.52643216), Q31( 0.36124167), Q31( 0.18374951),
}
#define Q31(x)
Definition: aac_defines.h:98

Definition at line 70 of file aactab.h.

const INTFLOAT tns_tmp2_map_0_4[16]
static
Initial value:
= {
Q31( 0.00000000), Q31(-0.20791170), Q31(-0.40673664), Q31(-0.58778524),
Q31(-0.74314481), Q31(-0.86602539), Q31(-0.95105654), Q31(-0.99452192),
Q31( 0.99573416), Q31( 0.96182561), Q31( 0.89516330), Q31( 0.79801720),
Q31( 0.67369562), Q31( 0.52643216), Q31( 0.36124167), Q31( 0.18374951),
}
#define Q31(x)
Definition: aac_defines.h:98

Definition at line 75 of file aactab.h.

const INTFLOAT* const tns_tmp2_map[4]
static
Initial value:
= {
}
static const INTFLOAT tns_tmp2_map_1_3[4]
Definition: aactab.h:61
static const INTFLOAT tns_tmp2_map_1_4[8]
Definition: aactab.h:70
static const INTFLOAT tns_tmp2_map_0_3[8]
Definition: aactab.h:65
static const INTFLOAT tns_tmp2_map_0_4[16]
Definition: aactab.h:75

Definition at line 82 of file aactab.h.

Referenced by decode_tns(), and quantize_coefs().

float ff_aac_kbd_long_1024[1024]

Referenced by WINDOW_FUNC().

float ff_aac_kbd_short_128[128]

Referenced by WINDOW_FUNC().

const float ff_aac_eld_window_512[1920]

Definition at line 1430 of file aactab.c.

Referenced by imdct_and_windowing_eld().

const int ff_aac_eld_window_512_fixed[1920]

Definition at line 1914 of file aactab.c.

const float ff_aac_eld_window_480[1800]

Definition at line 2397 of file aactab.c.

Referenced by imdct_and_windowing_eld().

const int ff_aac_eld_window_480_fixed[1800]

Definition at line 2850 of file aactab.c.

const uint8_t ff_aac_num_swb_1024[]

Definition at line 64 of file aactab.c.

Referenced by aac_encode_init(), and decode_ics_info().

const uint8_t ff_aac_num_swb_960[]

Definition at line 68 of file aactab.c.

Referenced by decode_ics_info().

const uint8_t ff_aac_num_swb_512[]

Definition at line 72 of file aactab.c.

Referenced by decode_ics_info().

const uint8_t ff_aac_num_swb_480[]

Definition at line 76 of file aactab.c.

Referenced by decode_ics_info().

const uint8_t ff_aac_num_swb_128[]

Definition at line 80 of file aactab.c.

Referenced by aac_encode_init(), and decode_ics_info().

const uint8_t ff_aac_num_swb_120[]

Definition at line 84 of file aactab.c.

Referenced by decode_ics_info().

const uint8_t ff_aac_pred_sfb_max[]
const uint32_t ff_aac_scalefactor_code[121]

Definition at line 92 of file aactab.c.

const uint8_t ff_aac_scalefactor_bits[121]

Definition at line 111 of file aactab.c.

const uint16_t* const ff_aac_spectral_codes[11]

Definition at line 436 of file aactab.c.

Referenced by aac_static_table_init(), and quantize_and_encode_band_cost_template().

const uint8_t* const ff_aac_spectral_bits[11]

Definition at line 441 of file aactab.c.

Referenced by aac_static_table_init(), and quantize_and_encode_band_cost_template().

const uint16_t ff_aac_spectral_sizes[11]

Definition at line 446 of file aactab.c.

Referenced by aac_static_table_init().

const float* const ff_aac_codebook_vectors[]

Definition at line 937 of file aactab.c.

Referenced by quantize_and_encode_band_cost_template().

const float* const ff_aac_codebook_vector_vals[]

Definition at line 1093 of file aactab.c.

Referenced by decode_spectrum_and_dequant().

const uint16_t* const ff_aac_codebook_vector_idx[]

Definition at line 1102 of file aactab.c.

Referenced by aac_static_table_init().

const uint16_t* const ff_swb_offset_1024[13]

Definition at line 1355 of file aactab.c.

Referenced by aac_encode_frame(), and decode_ics_info().

const uint16_t* const ff_swb_offset_960[13]

Definition at line 1363 of file aactab.c.

Referenced by decode_ics_info().

const uint16_t* const ff_swb_offset_512[13]

Definition at line 1371 of file aactab.c.

Referenced by decode_ics_info().

const uint16_t* const ff_swb_offset_480[13]

Definition at line 1379 of file aactab.c.

Referenced by decode_ics_info().

const uint16_t* const ff_swb_offset_128[13]

Definition at line 1387 of file aactab.c.

Referenced by aac_encode_frame(), and decode_ics_info().

const uint16_t* const ff_swb_offset_120[13]

Definition at line 1397 of file aactab.c.

Referenced by decode_ics_info().

const uint8_t ff_tns_max_bands_1024[13]

Definition at line 1413 of file aactab.c.

Referenced by aac_encode_frame(), and decode_ics_info().

const uint8_t ff_tns_max_bands_512[13]

Definition at line 1417 of file aactab.c.

Referenced by decode_ics_info().

const uint8_t ff_tns_max_bands_480[13]

Definition at line 1421 of file aactab.c.

Referenced by decode_ics_info().

const uint8_t ff_tns_max_bands_128[13]

Definition at line 1425 of file aactab.c.

Referenced by aac_encode_frame(), and decode_ics_info().