CI130X SDK API手册  2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
宏定义 | 函数 | 变量
aacpns.c 文件参考
#include "aaccoder.h"
#include "aacassembly.h"

宏定义

#define NUM_ITER_INVSQRT   4
 
#define X0_COEF_2   0xc0000000 /* Q29: -2.0 */
 
#define X0_OFF_2   0x60000000 /* Q29: 3.0 */
 
#define Q26_3   0x0c000000 /* Q26: 3.0 */
 

函数

static unsigned int Get32BitVal (unsigned int *last)
 
static int InvRootR (int r)
 
static int ScaleNoiseVector (int *coef, int nVals, int sf)
 
static void GenerateNoiseVector (int *coef, int *last, int nVals)
 
static void CopyNoiseVector (int *coefL, int *coefR, int nVals)
 
int PNS (AACDecInfo *aacDecInfo, int ch)
 

变量

static const int pow14 [4]
 

宏定义说明

◆ NUM_ITER_INVSQRT

#define NUM_ITER_INVSQRT   4

◆ Q26_3

#define Q26_3   0x0c000000 /* Q26: 3.0 */

◆ X0_COEF_2

#define X0_COEF_2   0xc0000000 /* Q29: -2.0 */

◆ X0_OFF_2

#define X0_OFF_2   0x60000000 /* Q29: 3.0 */

函数说明

◆ CopyNoiseVector()

static void CopyNoiseVector ( int *  coefL,
int *  coefR,
int  nVals 
)
static

◆ GenerateNoiseVector()

static void GenerateNoiseVector ( int *  coef,
int *  last,
int  nVals 
)
static

◆ Get32BitVal()

static unsigned int Get32BitVal ( unsigned int *  last)
static

◆ InvRootR()

static int InvRootR ( int  r)
static

◆ PNS()

int PNS ( AACDecInfo aacDecInfo,
int  ch 
)

◆ ScaleNoiseVector()

static int ScaleNoiseVector ( int *  coef,
int  nVals,
int  sf 
)
static

变量说明

◆ pow14

const int pow14[4]
static
初始值:
= {
0x40000000, 0x4c1bf829, 0x5a82799a, 0x6ba27e65
}