FFmpeg
Functions | Variables
aactab.h File Reference
#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

◆ ff_aac_tableinit()

void ff_aac_tableinit ( void  )

Definition at line 3346 of file aactab.c.

Referenced by aac_encode_init(), and aac_static_table_init().

◆ ff_aac_float_common_init()

void ff_aac_float_common_init ( void  )

Referenced by aac_static_table_init(), and dsp_init().

Variable Documentation

◆ ff_aac_pow2sf_tab

float ff_aac_pow2sf_tab[428]

◆ ff_aac_pow34sf_tab

float ff_aac_pow34sf_tab[428]

Definition at line 39 of file aactab.c.

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

◆ ltp_coef

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),
}

Definition at line 50 of file aactab.h.

Referenced by decode_ltp(), and get_lag().

◆ tns_tmp2_map_1_3

const INTFLOAT tns_tmp2_map_1_3[4]
static
Initial value:
= {
Q31(0.00000000), Q31(-0.43388373), Q31(0.64278758), Q31(0.34202015),
}

Definition at line 61 of file aactab.h.

◆ tns_tmp2_map_0_3

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),
}

Definition at line 65 of file aactab.h.

◆ tns_tmp2_map_1_4

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),
}

Definition at line 70 of file aactab.h.

◆ tns_tmp2_map_0_4

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),
}

Definition at line 75 of file aactab.h.

◆ tns_tmp2_map

const INTFLOAT* const tns_tmp2_map[4]
static
Initial value:

Definition at line 82 of file aactab.h.

Referenced by decode_tns(), and quantize_coefs().

◆ ff_aac_kbd_long_1024

float ff_aac_kbd_long_1024[1024]

Referenced by WINDOW_FUNC().

◆ ff_aac_kbd_short_128

float ff_aac_kbd_short_128[128]

Referenced by WINDOW_FUNC().

◆ ff_aac_eld_window_512

const float ff_aac_eld_window_512[1920]

Definition at line 1429 of file aactab.c.

Referenced by imdct_and_windowing_eld().

◆ ff_aac_eld_window_512_fixed

const int ff_aac_eld_window_512_fixed[1920]

Definition at line 1913 of file aactab.c.

◆ ff_aac_eld_window_480

const float ff_aac_eld_window_480[1800]

Definition at line 2396 of file aactab.c.

Referenced by imdct_and_windowing_eld().

◆ ff_aac_eld_window_480_fixed

const int ff_aac_eld_window_480_fixed[1800]

Definition at line 2849 of file aactab.c.

◆ ff_aac_num_swb_1024

const uint8_t ff_aac_num_swb_1024[]

Definition at line 63 of file aactab.c.

Referenced by aac_encode_init(), and decode_ics_info().

◆ ff_aac_num_swb_960

const uint8_t ff_aac_num_swb_960[]

Definition at line 67 of file aactab.c.

Referenced by decode_ics_info().

◆ ff_aac_num_swb_512

const uint8_t ff_aac_num_swb_512[]

Definition at line 71 of file aactab.c.

Referenced by decode_ics_info().

◆ ff_aac_num_swb_480

const uint8_t ff_aac_num_swb_480[]

Definition at line 75 of file aactab.c.

Referenced by decode_ics_info().

◆ ff_aac_num_swb_128

const uint8_t ff_aac_num_swb_128[]

Definition at line 79 of file aactab.c.

Referenced by aac_encode_init(), and decode_ics_info().

◆ ff_aac_num_swb_120

const uint8_t ff_aac_num_swb_120[]

Definition at line 83 of file aactab.c.

Referenced by decode_ics_info().

◆ ff_aac_pred_sfb_max

const uint8_t ff_aac_pred_sfb_max[]

◆ ff_aac_scalefactor_code

const uint32_t ff_aac_scalefactor_code[121]

Definition at line 91 of file aactab.c.

◆ ff_aac_scalefactor_bits

const uint8_t ff_aac_scalefactor_bits[121]

Definition at line 110 of file aactab.c.

◆ ff_aac_spectral_codes

const uint16_t* const ff_aac_spectral_codes[11]

Definition at line 435 of file aactab.c.

Referenced by aac_static_table_init(), and quantize_and_encode_band_cost_template().

◆ ff_aac_spectral_bits

const uint8_t* const ff_aac_spectral_bits[11]

Definition at line 440 of file aactab.c.

Referenced by aac_static_table_init(), and quantize_and_encode_band_cost_template().

◆ ff_aac_spectral_sizes

const uint16_t ff_aac_spectral_sizes[11]

Definition at line 445 of file aactab.c.

Referenced by aac_static_table_init().

◆ ff_aac_codebook_vectors

const float* const ff_aac_codebook_vectors[]

Definition at line 936 of file aactab.c.

Referenced by quantize_and_encode_band_cost_template().

◆ ff_aac_codebook_vector_vals

const float* const ff_aac_codebook_vector_vals[]

Definition at line 1092 of file aactab.c.

Referenced by decode_spectrum_and_dequant().

◆ ff_aac_codebook_vector_idx

const uint16_t* const ff_aac_codebook_vector_idx[]

Definition at line 1101 of file aactab.c.

Referenced by aac_static_table_init().

◆ ff_swb_offset_1024

const uint16_t* const ff_swb_offset_1024[13]

Definition at line 1354 of file aactab.c.

Referenced by aac_encode_frame(), and decode_ics_info().

◆ ff_swb_offset_960

const uint16_t* const ff_swb_offset_960[13]

Definition at line 1362 of file aactab.c.

Referenced by decode_ics_info().

◆ ff_swb_offset_512

const uint16_t* const ff_swb_offset_512[13]

Definition at line 1370 of file aactab.c.

Referenced by decode_ics_info().

◆ ff_swb_offset_480

const uint16_t* const ff_swb_offset_480[13]

Definition at line 1378 of file aactab.c.

Referenced by decode_ics_info().

◆ ff_swb_offset_128

const uint16_t* const ff_swb_offset_128[13]

Definition at line 1386 of file aactab.c.

Referenced by aac_encode_frame(), and decode_ics_info().

◆ ff_swb_offset_120

const uint16_t* const ff_swb_offset_120[13]

Definition at line 1396 of file aactab.c.

Referenced by decode_ics_info().

◆ ff_tns_max_bands_1024

const uint8_t ff_tns_max_bands_1024[13]

Definition at line 1412 of file aactab.c.

Referenced by aac_encode_frame(), and decode_ics_info().

◆ ff_tns_max_bands_512

const uint8_t ff_tns_max_bands_512[13]

Definition at line 1416 of file aactab.c.

Referenced by decode_ics_info().

◆ ff_tns_max_bands_480

const uint8_t ff_tns_max_bands_480[13]

Definition at line 1420 of file aactab.c.

Referenced by decode_ics_info().

◆ ff_tns_max_bands_128

const uint8_t ff_tns_max_bands_128[13]

Definition at line 1424 of file aactab.c.

Referenced by aac_encode_frame(), and decode_ics_info().

tns_tmp2_map_1_3
static const INTFLOAT tns_tmp2_map_1_3[4]
Definition: aactab.h:61
tns_tmp2_map_0_4
static const INTFLOAT tns_tmp2_map_0_4[16]
Definition: aactab.h:75
tns_tmp2_map_1_4
static const INTFLOAT tns_tmp2_map_1_4[8]
Definition: aactab.h:70
Q31
#define Q31(x)
Definition: aac_defines.h:96
tns_tmp2_map_0_3
static const INTFLOAT tns_tmp2_map_0_3[8]
Definition: aactab.h:65
Q30
#define Q30(x)
Definition: aac_defines.h:95