FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
aacps_fixed_tablegen.h File Reference
#include <math.h>
#include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/mathematics.h"
#include "libavutil/mem.h"
#include "aac_defines.h"
#include "libavutil/softfloat.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 void make_filters_from_proto (int(*filter)[8][2], const int *proto, int bands)
 
static void ps_tableinit (void)
 

Variables

static int pd_re_smooth [8 *8 *8]
 
static int pd_im_smooth [8 *8 *8]
 
static int HA [46][8][4]
 
static int HB [46][8][4]
 
static int f20_0_8 [8][8][2]
 
static int f34_0_12 [12][8][2]
 
static int f34_1_8 [8][8][2]
 
static int f34_2_4 [4][8][2]
 
static TABLE_CONST int Q_fract_allpass [2][50][3][2]
 
static int phi_fract [2][50][2]
 
static const int g0_Q8 []
 
static const int g0_Q12 []
 
static const int g1_Q8 []
 
static const int g2_Q4 []
 
static const int sintbl_4 [4] = { 0, 1073741824, 0, -1073741824 }
 
static const int costbl_4 [4] = { 1073741824, 0, -1073741824, 0 }
 
static const int sintbl_8 [8]
 
static const int costbl_8 [8]
 
static const int sintbl_12 [12]
 
static const int costbl_12 [12]
 

Macro Definition Documentation

#define NR_ALLPASS_BANDS20   30

Definition at line 43 of file aacps_fixed_tablegen.h.

Referenced by ps_tableinit().

#define NR_ALLPASS_BANDS34   50

Definition at line 44 of file aacps_fixed_tablegen.h.

Referenced by ps_tableinit().

#define PS_AP_LINKS   3

Definition at line 45 of file aacps_fixed_tablegen.h.

Referenced by ps_tableinit().

#define TABLE_CONST

Definition at line 46 of file aacps_fixed_tablegen.h.

Referenced by stereo_processing().

Function Documentation

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

Definition at line 91 of file aacps_fixed_tablegen.h.

Referenced by ps_tableinit().

static void ps_tableinit ( void  )
static

Definition at line 135 of file aacps_fixed_tablegen.h.

Referenced by ff_ps_init(), and main().

Variable Documentation

int pd_re_smooth[8 *8 *8]
static

Definition at line 47 of file aacps_fixed_tablegen.h.

Referenced by main(), ps_tableinit(), and stereo_processing().

int pd_im_smooth[8 *8 *8]
static

Definition at line 48 of file aacps_fixed_tablegen.h.

Referenced by main(), ps_tableinit(), and stereo_processing().

int HA[46][8][4]
static

Definition at line 49 of file aacps_fixed_tablegen.h.

Referenced by main(), ps_tableinit(), and stereo_processing().

int HB[46][8][4]
static

Definition at line 50 of file aacps_fixed_tablegen.h.

Referenced by main(), ps_tableinit(), and stereo_processing().

int f20_0_8[8][8][2]
static

Definition at line 51 of file aacps_fixed_tablegen.h.

Referenced by hybrid_analysis(), main(), and ps_tableinit().

int f34_0_12[12][8][2]
static

Definition at line 52 of file aacps_fixed_tablegen.h.

Referenced by hybrid_analysis(), main(), and ps_tableinit().

int f34_1_8[8][8][2]
static

Definition at line 53 of file aacps_fixed_tablegen.h.

Referenced by hybrid_analysis(), main(), and ps_tableinit().

int f34_2_4[4][8][2]
static

Definition at line 54 of file aacps_fixed_tablegen.h.

Referenced by hybrid_analysis(), main(), and ps_tableinit().

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

Definition at line 55 of file aacps_fixed_tablegen.h.

Referenced by decorrelation(), main(), and ps_tableinit().

int phi_fract[2][50][2]
static

Definition at line 56 of file aacps_fixed_tablegen.h.

Referenced by decorrelation(), main(), and ps_tableinit().

const int g0_Q8[]
static
Initial value:
= {
Q31(0.00746082949812f), Q31(0.02270420949825f), Q31(0.04546865930473f), Q31(0.07266113929591f),
Q31(0.09885108575264f), Q31(0.11793710567217f), Q31(0.125f)
}
#define Q31(x)
Definition: aac_defines.h:94

Definition at line 58 of file aacps_fixed_tablegen.h.

Referenced by ps_tableinit().

const int g0_Q12[]
static
Initial value:
= {
Q31(0.04081179924692f), Q31(0.03812810994926f), Q31(0.05144908135699f), Q31(0.06399831151592f),
Q31(0.07428313801106f), Q31(0.08100347892914f), Q31(0.08333333333333f)
}
#define Q31(x)
Definition: aac_defines.h:94

Definition at line 63 of file aacps_fixed_tablegen.h.

Referenced by ps_tableinit().

const int g1_Q8[]
static
Initial value:
= {
Q31(0.01565675600122f), Q31(0.03752716391991f), Q31(0.05417891378782f), Q31(0.08417044116767f),
Q31(0.10307344158036f), Q31(0.12222452249753f), Q31(0.125f)
}
#define Q31(x)
Definition: aac_defines.h:94

Definition at line 68 of file aacps_fixed_tablegen.h.

Referenced by ps_tableinit().

const int g2_Q4[]
static
Initial value:
= {
Q31(-0.05908211155639f), Q31(-0.04871498374946f), Q31(0.0f), Q31(0.07778723915851f),
Q31( 0.16486303567403f), Q31( 0.23279856662996f), Q31(0.25f)
}
#define Q31(x)
Definition: aac_defines.h:94

Definition at line 73 of file aacps_fixed_tablegen.h.

Referenced by ps_tableinit().

const int sintbl_4[4] = { 0, 1073741824, 0, -1073741824 }
static

Definition at line 78 of file aacps_fixed_tablegen.h.

Referenced by make_filters_from_proto().

const int costbl_4[4] = { 1073741824, 0, -1073741824, 0 }
static

Definition at line 79 of file aacps_fixed_tablegen.h.

Referenced by make_filters_from_proto().

const int sintbl_8[8]
static
Initial value:
= { 0, 759250125, 1073741824, 759250125,
0, -759250125, -1073741824, -759250125 }

Definition at line 80 of file aacps_fixed_tablegen.h.

Referenced by make_filters_from_proto().

const int costbl_8[8]
static
Initial value:
= { 1073741824, 759250125, 0, -759250125,
-1073741824, -759250125, 0, 759250125 }

Definition at line 82 of file aacps_fixed_tablegen.h.

Referenced by make_filters_from_proto().

const int sintbl_12[12]
static
Initial value:
= { 0, 536870912, 929887697, 1073741824,
929887697, 536870912, 0, -536870912,
-929887697, -1073741824, -929887697, -536870912 }

Definition at line 84 of file aacps_fixed_tablegen.h.

Referenced by make_filters_from_proto().

const int costbl_12[12]
static
Initial value:
= { 1073741824, 929887697, 536870912, 0,
-536870912, -929887697, -1073741824, -929887697,
-536870912, 0, 536870912, 929887697 }

Definition at line 87 of file aacps_fixed_tablegen.h.

Referenced by make_filters_from_proto().