FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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.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
 

Functions

static void make_filters_from_proto (float(*filter)[8][2], const float *proto, int bands)
 
static 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 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

#define NR_ALLPASS_BANDS20   30

Definition at line 37 of file aacps_tablegen.h.

Referenced by ps_tableinit().

#define NR_ALLPASS_BANDS34   50

Definition at line 38 of file aacps_tablegen.h.

Referenced by ps_tableinit().

#define PS_AP_LINKS   3

Definition at line 39 of file aacps_tablegen.h.

Referenced by ps_tableinit().

Function Documentation

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

Definition at line 71 of file aacps_tablegen.h.

Referenced by ps_tableinit().

static void ps_tableinit ( void  )
static

< Linear Inter-channel Intensity Difference

Definition at line 83 of file aacps_tablegen.h.

Referenced by main().

Variable Documentation

float pd_re_smooth[8 *8 *8]
static

Definition at line 40 of file aacps_tablegen.h.

Referenced by main(), and ps_tableinit().

float pd_im_smooth[8 *8 *8]
static

Definition at line 41 of file aacps_tablegen.h.

Referenced by main(), and ps_tableinit().

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

Definition at line 42 of file aacps_tablegen.h.

Referenced by main(), and ps_tableinit().

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

Definition at line 43 of file aacps_tablegen.h.

Referenced by main(), and ps_tableinit().

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

Definition at line 44 of file aacps_tablegen.h.

Referenced by main(), and ps_tableinit().

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

Definition at line 45 of file aacps_tablegen.h.

Referenced by main(), and ps_tableinit().

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

Definition at line 46 of file aacps_tablegen.h.

Referenced by main(), and ps_tableinit().

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

Definition at line 47 of file aacps_tablegen.h.

Referenced by main(), and ps_tableinit().

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

Definition at line 48 of file aacps_tablegen.h.

Referenced by main(), and ps_tableinit().

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

Definition at line 49 of file aacps_tablegen.h.

Referenced by main(), and ps_tableinit().

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

Definition at line 51 of file aacps_tablegen.h.

Referenced by ps_tableinit().

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

Definition at line 56 of file aacps_tablegen.h.

Referenced by ps_tableinit().

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

Definition at line 61 of file aacps_tablegen.h.

Referenced by ps_tableinit().

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

Definition at line 66 of file aacps_tablegen.h.

Referenced by ps_tableinit().