FFmpeg  4.0
Functions | Variables
aactab.h File Reference

AAC data declarations. More...

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

Go to the source code of this file.

Functions

static void ff_aac_tableinit (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]
 
float ff_aac_kbd_long_960 [960]
 
float ff_aac_kbd_short_120 [120]
 
int ff_aac_kbd_long_1024_fixed [1024]
 
int ff_aac_kbd_long_512_fixed [512]
 
int ff_aac_kbd_short_128_fixed [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 * ff_aac_codebook_vectors []
 
const float * ff_aac_codebook_vector_vals []
 
const uint16_t * 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()

static void ff_aac_tableinit ( void  )
inlinestatic

Definition at line 45 of file aactab.h.

Referenced by aac_encode_init_tables(), and aac_static_table_init().

Variable Documentation

◆ ff_aac_pow2sf_tab

float ff_aac_pow2sf_tab[428]

◆ ff_aac_pow34sf_tab

float ff_aac_pow34sf_tab[428]

◆ 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),
}
#define Q30(x)
Definition: aac_defines.h:95

Definition at line 94 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),
}
#define Q31(x)
Definition: aac_defines.h:96

Definition at line 105 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),
}
#define Q31(x)
Definition: aac_defines.h:96

Definition at line 109 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),
}
#define Q31(x)
Definition: aac_defines.h:96

Definition at line 114 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),
}
#define Q31(x)
Definition: aac_defines.h:96

Definition at line 119 of file aactab.h.

◆ tns_tmp2_map

const INTFLOAT* const tns_tmp2_map[4]
static
Initial value:
= {
}
static const INTFLOAT tns_tmp2_map_1_3[4]
Definition: aactab.h:105
static const INTFLOAT tns_tmp2_map_1_4[8]
Definition: aactab.h:114
static const INTFLOAT tns_tmp2_map_0_3[8]
Definition: aactab.h:109
static const INTFLOAT tns_tmp2_map_0_4[16]
Definition: aactab.h:119

Definition at line 126 of file aactab.h.

Referenced by decode_tns(), and quantize_coefs().

◆ ff_aac_kbd_long_1024

float ff_aac_kbd_long_1024[1024]

◆ ff_aac_kbd_short_128

float ff_aac_kbd_short_128[128]

◆ ff_aac_kbd_long_960

float ff_aac_kbd_long_960[960]

Definition at line 40 of file aactab.c.

Referenced by aac_static_table_init(), and imdct_and_windowing_960().

◆ ff_aac_kbd_short_120

float ff_aac_kbd_short_120[120]

Definition at line 41 of file aactab.c.

Referenced by aac_static_table_init(), and imdct_and_windowing_960().

◆ ff_aac_kbd_long_1024_fixed

int ff_aac_kbd_long_1024_fixed[1024]

Definition at line 42 of file aactab.c.

◆ ff_aac_kbd_long_512_fixed

int ff_aac_kbd_long_512_fixed[512]

◆ ff_aac_kbd_short_128_fixed

int ff_aac_kbd_short_128_fixed[128]

Definition at line 43 of file aactab.c.

◆ ff_aac_eld_window_512

const float ff_aac_eld_window_512[1920]

Definition at line 1411 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 1895 of file aactab.c.

◆ ff_aac_eld_window_480

const float ff_aac_eld_window_480[1800]

Definition at line 2378 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 2831 of file aactab.c.

◆ ff_aac_num_swb_1024

const uint8_t ff_aac_num_swb_1024[]

Definition at line 45 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 49 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 53 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 57 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 61 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 65 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 73 of file aactab.c.

◆ ff_aac_scalefactor_bits

const uint8_t ff_aac_scalefactor_bits[121]

Definition at line 92 of file aactab.c.

◆ ff_aac_spectral_codes

const uint16_t* const ff_aac_spectral_codes[11]

Definition at line 417 of file aactab.c.

Referenced by quantize_and_encode_band_cost_template().

◆ ff_aac_spectral_bits

const uint8_t* const ff_aac_spectral_bits[11]

Definition at line 422 of file aactab.c.

Referenced by quantize_and_encode_band_cost_template().

◆ ff_aac_spectral_sizes

const uint16_t ff_aac_spectral_sizes[11]

Definition at line 427 of file aactab.c.

◆ ff_aac_codebook_vectors

const float* ff_aac_codebook_vectors[]

Definition at line 918 of file aactab.c.

Referenced by quantize_and_encode_band_cost_template().

◆ ff_aac_codebook_vector_vals

const float* ff_aac_codebook_vector_vals[]

Definition at line 1074 of file aactab.c.

Referenced by decode_spectrum_and_dequant().

◆ ff_aac_codebook_vector_idx

const uint16_t* ff_aac_codebook_vector_idx[]

Definition at line 1083 of file aactab.c.

Referenced by decode_spectrum_and_dequant().

◆ ff_swb_offset_1024

const uint16_t* const ff_swb_offset_1024[13]

Definition at line 1336 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 1344 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 1352 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 1360 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 1368 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 1378 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 1394 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 1398 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 1402 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 1406 of file aactab.c.

Referenced by aac_encode_frame(), and decode_ics_info().