FFmpeg
Functions | Variables
aactab.h File Reference
#include "libavutil/mem_internal.h"
#include "aac_defines.h"
#include <stdint.h>

Go to the source code of this file.

Functions

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_float_common_init()

void ff_aac_float_common_init ( void  )

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

Definition at line 48 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 59 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 63 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 68 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 73 of file aactab.h.

◆ tns_tmp2_map

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

Definition at line 80 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 1469 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 1953 of file aactab.c.

◆ ff_aac_eld_window_480

const float ff_aac_eld_window_480[1800]

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

◆ ff_aac_num_swb_1024

const uint8_t ff_aac_num_swb_1024[]

Definition at line 110 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 114 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 118 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 122 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 126 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 130 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 138 of file aactab.c.

◆ ff_aac_scalefactor_bits

const uint8_t ff_aac_scalefactor_bits[121]

Definition at line 157 of file aactab.c.

◆ ff_aac_spectral_codes

const uint16_t* const ff_aac_spectral_codes[11]

Definition at line 482 of file aactab.c.

Referenced by aacdec_common_init(), and quantize_and_encode_band_cost_template().

◆ ff_aac_spectral_bits

const uint8_t* const ff_aac_spectral_bits[11]

Definition at line 487 of file aactab.c.

Referenced by aacdec_common_init(), and quantize_and_encode_band_cost_template().

◆ ff_aac_spectral_sizes

const uint16_t ff_aac_spectral_sizes[11]

Definition at line 492 of file aactab.c.

Referenced by aacdec_common_init().

◆ ff_aac_codebook_vectors

const float* const ff_aac_codebook_vectors[]

Definition at line 983 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 1139 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 1148 of file aactab.c.

Referenced by aacdec_common_init().

◆ ff_swb_offset_1024

const uint16_t* const ff_swb_offset_1024[13]

Definition at line 1394 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 1402 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 1410 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 1418 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 1426 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 1436 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 1452 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 1456 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 1460 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 1464 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:59
tns_tmp2_map_0_4
static const INTFLOAT tns_tmp2_map_0_4[16]
Definition: aactab.h:73
tns_tmp2_map_1_4
static const INTFLOAT tns_tmp2_map_1_4[8]
Definition: aactab.h:68
Q31
#define Q31(x)
Definition: aac_defines.h:90
tns_tmp2_map_0_3
static const INTFLOAT tns_tmp2_map_0_3[8]
Definition: aactab.h:63
Q30
#define Q30(x)
Definition: aac_defines.h:89