FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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]
 
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_512 []
 
const uint8_t ff_aac_num_swb_480 []
 
const uint8_t ff_aac_num_swb_128 []
 
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_512 [13]
 
const uint16_t *const ff_swb_offset_480 [13]
 
const uint16_t *const ff_swb_offset_128 [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

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

float ff_aac_pow2sf_tab[428]
float ff_aac_pow34sf_tab[428]
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:93

Definition at line 94 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:94

Definition at line 105 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:94

Definition at line 109 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:94

Definition at line 114 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:94

Definition at line 119 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: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().

float ff_aac_kbd_long_1024[1024]
float ff_aac_kbd_short_128[128]
int ff_aac_kbd_long_1024_fixed[1024]

Definition at line 40 of file aactab.c.

int ff_aac_kbd_long_512_fixed[512]
int ff_aac_kbd_short_128_fixed[128]

Definition at line 41 of file aactab.c.

const float ff_aac_eld_window_512[1920]

Definition at line 1291 of file aactab.c.

Referenced by imdct_and_windowing_eld().

const int ff_aac_eld_window_512_fixed[1920]

Definition at line 1775 of file aactab.c.

const float ff_aac_eld_window_480[1800]

Definition at line 2258 of file aactab.c.

Referenced by imdct_and_windowing_eld().

const int ff_aac_eld_window_480_fixed[1800]

Definition at line 2711 of file aactab.c.

const uint8_t ff_aac_num_swb_1024[]

Definition at line 43 of file aactab.c.

Referenced by aac_encode_init(), and decode_ics_info().

const uint8_t ff_aac_num_swb_512[]

Definition at line 47 of file aactab.c.

Referenced by decode_ics_info().

const uint8_t ff_aac_num_swb_480[]

Definition at line 51 of file aactab.c.

Referenced by decode_ics_info().

const uint8_t ff_aac_num_swb_128[]

Definition at line 55 of file aactab.c.

Referenced by aac_encode_init(), and decode_ics_info().

const uint8_t ff_aac_pred_sfb_max[]
const uint32_t ff_aac_scalefactor_code[121]

Definition at line 63 of file aactab.c.

const uint8_t ff_aac_scalefactor_bits[121]

Definition at line 82 of file aactab.c.

const uint16_t* const ff_aac_spectral_codes[11]

Definition at line 407 of file aactab.c.

Referenced by quantize_and_encode_band_cost_template().

const uint8_t* const ff_aac_spectral_bits[11]

Definition at line 412 of file aactab.c.

Referenced by quantize_and_encode_band_cost_template().

const uint16_t ff_aac_spectral_sizes[11]

Definition at line 417 of file aactab.c.

const float* ff_aac_codebook_vectors[]

Definition at line 908 of file aactab.c.

Referenced by quantize_and_encode_band_cost_template().

const float* ff_aac_codebook_vector_vals[]

Definition at line 1064 of file aactab.c.

Referenced by decode_spectrum_and_dequant().

const uint16_t* ff_aac_codebook_vector_idx[]

Definition at line 1073 of file aactab.c.

Referenced by decode_spectrum_and_dequant().

const uint16_t* const ff_swb_offset_1024[13]

Definition at line 1232 of file aactab.c.

Referenced by aac_encode_frame(), and decode_ics_info().

const uint16_t* const ff_swb_offset_512[13]

Definition at line 1240 of file aactab.c.

Referenced by decode_ics_info().

const uint16_t* const ff_swb_offset_480[13]

Definition at line 1248 of file aactab.c.

Referenced by decode_ics_info().

const uint16_t* const ff_swb_offset_128[13]

Definition at line 1256 of file aactab.c.

Referenced by aac_encode_frame(), and decode_ics_info().

const uint8_t ff_tns_max_bands_1024[13]

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

Referenced by decode_ics_info().

const uint8_t ff_tns_max_bands_480[13]

Definition at line 1282 of file aactab.c.

Referenced by decode_ics_info().

const uint8_t ff_tns_max_bands_128[13]

Definition at line 1286 of file aactab.c.

Referenced by aac_encode_frame(), and decode_ics_info().