FFmpeg
Macros | Functions | Variables
aacps_tablegen.h File Reference
#include <math.h>
#include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/libm.h"
#include "libavutil/mathematics.h"
#include "libavutil/mem_internal.h"

Go to the source code of this file.

Macros

#define NR_ALLPASS_BANDS20   30
 
#define NR_ALLPASS_BANDS34   50
 
#define PS_AP_LINKS   3
 
#define TABLE_CONST
 

Functions

static av_cold void make_filters_from_proto (float(*filter)[8][2], const float *proto, int bands)
 
static av_cold void ps_tableinit (void)
 

Variables

static float pd_re_smooth [8 *8 *8]
 
static float pd_im_smooth [8 *8 *8]
 
static float HA [46][8][4]
 
static float HB [46][8][4]
 
static float f20_0_8 [8][8][2]
 
static float f34_0_12 [12][8][2]
 
static float f34_1_8 [8][8][2]
 
static float f34_2_4 [4][8][2]
 
static TABLE_CONST float Q_fract_allpass [2][50][3][2]
 
static float phi_fract [2][50][2]
 
static const float g0_Q8 []
 
static const float g0_Q12 []
 
static const float g1_Q8 []
 
static const float g2_Q4 []
 

Macro Definition Documentation

◆ NR_ALLPASS_BANDS20

#define NR_ALLPASS_BANDS20   30

Definition at line 38 of file aacps_tablegen.h.

◆ NR_ALLPASS_BANDS34

#define NR_ALLPASS_BANDS34   50

Definition at line 39 of file aacps_tablegen.h.

◆ PS_AP_LINKS

#define PS_AP_LINKS   3

Definition at line 40 of file aacps_tablegen.h.

◆ TABLE_CONST

#define TABLE_CONST

Definition at line 41 of file aacps_tablegen.h.

Function Documentation

◆ make_filters_from_proto()

static av_cold void make_filters_from_proto ( float(*)  filter[8][2],
const float proto,
int  bands 
)
static

Definition at line 73 of file aacps_tablegen.h.

Referenced by ps_tableinit().

◆ ps_tableinit()

static av_cold void ps_tableinit ( void  )
static

< Linear Inter-channel Intensity Difference

Definition at line 85 of file aacps_tablegen.h.

Variable Documentation

◆ pd_re_smooth

float pd_re_smooth[8 *8 *8]
static

Definition at line 42 of file aacps_tablegen.h.

Referenced by ps_tableinit().

◆ pd_im_smooth

float pd_im_smooth[8 *8 *8]
static

Definition at line 43 of file aacps_tablegen.h.

Referenced by ps_tableinit().

◆ HA

float HA[46][8][4]
static

Definition at line 44 of file aacps_tablegen.h.

Referenced by ps_tableinit().

◆ HB

float HB[46][8][4]
static

Definition at line 45 of file aacps_tablegen.h.

Referenced by ps_tableinit().

◆ f20_0_8

float f20_0_8[8][8][2]
static

Definition at line 46 of file aacps_tablegen.h.

Referenced by ps_tableinit().

◆ f34_0_12

float f34_0_12[12][8][2]
static

Definition at line 47 of file aacps_tablegen.h.

Referenced by ps_tableinit().

◆ f34_1_8

float f34_1_8[8][8][2]
static

Definition at line 48 of file aacps_tablegen.h.

Referenced by ps_tableinit().

◆ f34_2_4

float f34_2_4[4][8][2]
static

Definition at line 49 of file aacps_tablegen.h.

Referenced by ps_tableinit().

◆ Q_fract_allpass

TABLE_CONST float Q_fract_allpass[2][50][3][2]
static

Definition at line 50 of file aacps_tablegen.h.

Referenced by ps_tableinit().

◆ phi_fract

float phi_fract[2][50][2]
static

Definition at line 51 of file aacps_tablegen.h.

Referenced by ps_tableinit().

◆ g0_Q8

const float g0_Q8[]
static
Initial value:
= {
0.00746082949812f, 0.02270420949825f, 0.04546865930473f, 0.07266113929591f,
0.09885108575264f, 0.11793710567217f, 0.125f
}

Definition at line 53 of file aacps_tablegen.h.

Referenced by ps_tableinit().

◆ g0_Q12

const float g0_Q12[]
static
Initial value:
= {
0.04081179924692f, 0.03812810994926f, 0.05144908135699f, 0.06399831151592f,
0.07428313801106f, 0.08100347892914f, 0.08333333333333f
}

Definition at line 58 of file aacps_tablegen.h.

Referenced by ps_tableinit().

◆ g1_Q8

const float g1_Q8[]
static
Initial value:
= {
0.01565675600122f, 0.03752716391991f, 0.05417891378782f, 0.08417044116767f,
0.10307344158036f, 0.12222452249753f, 0.125f
}

Definition at line 63 of file aacps_tablegen.h.

Referenced by ps_tableinit().

◆ g2_Q4

const float g2_Q4[]
static
Initial value:
= {
-0.05908211155639f, -0.04871498374946f, 0.0f, 0.07778723915851f,
0.16486303567403f, 0.23279856662996f, 0.25f
}

Definition at line 68 of file aacps_tablegen.h.

Referenced by ps_tableinit().