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

宏定义

#define SF_OFFSET   100
 
#define SQRTHALF   0x5a82799a
 

函数

static int DequantBlock (int *inbuf, int nSamps, int scale)
 
int Dequantize (AACDecInfo *aacDecInfo, int ch)
 
int DeinterleaveShortBlocks (AACDecInfo *aacDecInfo, int ch)
 

变量

static const int pow14 [4]
 
static const int pow43_14 [4][16]
 
static const int pow43 [48]
 
static const int poly43lo [5] = { 0x29a0bda9, 0xb02e4828, 0x5957aa1b, 0x236c498d, 0xff581859 }
 
static const int poly43hi [5] = { 0x10852163, 0xd333f6a4, 0x46e9408b, 0x27c2cef0, 0xfef577b4 }
 
static const int pow2exp [8] = { 14, 13, 11, 10, 9, 7, 6, 5 }
 
static const int pow2frac [8]
 

宏定义说明

◆ SF_OFFSET

#define SF_OFFSET   100

◆ SQRTHALF

#define SQRTHALF   0x5a82799a

函数说明

◆ DeinterleaveShortBlocks()

int DeinterleaveShortBlocks ( AACDecInfo aacDecInfo,
int  ch 
)

◆ DequantBlock()

static int DequantBlock ( int *  inbuf,
int  nSamps,
int  scale 
)
static

◆ Dequantize()

int Dequantize ( AACDecInfo aacDecInfo,
int  ch 
)

变量说明

◆ poly43hi

const int poly43hi[5] = { 0x10852163, 0xd333f6a4, 0x46e9408b, 0x27c2cef0, 0xfef577b4 }
static

◆ poly43lo

const int poly43lo[5] = { 0x29a0bda9, 0xb02e4828, 0x5957aa1b, 0x236c498d, 0xff581859 }
static

◆ pow14

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

◆ pow2exp

const int pow2exp[8] = { 14, 13, 11, 10, 9, 7, 6, 5 }
static

◆ pow2frac

const int pow2frac[8]
static
初始值:
= {
0x6597fa94, 0x50a28be6, 0x7fffffff, 0x6597fa94,
0x50a28be6, 0x7fffffff, 0x6597fa94, 0x50a28be6
}

◆ pow43

const int pow43[48]
static
初始值:
= {
0x1428a2fa, 0x15db1bd6, 0x1796302c, 0x19598d85,
0x1b24e8bb, 0x1cf7fcfa, 0x1ed28af2, 0x20b4582a,
0x229d2e6e, 0x248cdb55, 0x26832fda, 0x28800000,
0x2a832287, 0x2c8c70a8, 0x2e9bc5d8, 0x30b0ff99,
0x32cbfd4a, 0x34eca001, 0x3712ca62, 0x393e6088,
0x3b6f47e0, 0x3da56717, 0x3fe0a5fc, 0x4220ed72,
0x44662758, 0x46b03e7c, 0x48ff1e87, 0x4b52b3f3,
0x4daaebfd, 0x5007b497, 0x5268fc62, 0x54ceb29c,
0x5738c721, 0x59a72a59, 0x5c19cd35, 0x5e90a129,
0x610b9821, 0x638aa47f, 0x660db90f, 0x6894c90b,
0x6b1fc80c, 0x6daeaa0d, 0x70416360, 0x72d7e8b0,
0x75722ef9, 0x78102b85, 0x7ab1d3ec, 0x7d571e09,
}

◆ pow43_14

const int pow43_14[4][16]
static
初始值:
= {
{
0x00000000, 0x10000000, 0x285145f3, 0x453a5cdb,
0x0cb2ff53, 0x111989d6, 0x15ce31c8, 0x1ac7f203,
0x20000000, 0x257106b9, 0x2b16b4a3, 0x30ed74b4,
0x36f23fa5, 0x3d227bd3, 0x437be656, 0x49fc823c,
},
{
0x00000000, 0x1306fe0a, 0x2ff221af, 0x52538f52,
0x0f1a1bf4, 0x1455ccc2, 0x19ee62a8, 0x1fd92396,
0x260dfc14, 0x2c8694d8, 0x333dcb29, 0x3a2f5c7a,
0x4157aed5, 0x48b3aaa3, 0x50409f76, 0x57fc3010,
},
{
0x00000000, 0x16a09e66, 0x39047c0f, 0x61e734aa,
0x11f59ac4, 0x182ec633, 0x1ed66a45, 0x25dfc55a,
0x2d413ccd, 0x34f3462d, 0x3cefc603, 0x4531ab69,
0x4db4adf8, 0x56752054, 0x5f6fcfcd, 0x68a1eca1,
},
{
0x00000000, 0x1ae89f99, 0x43ce3e4b, 0x746d57b2,
0x155b8109, 0x1cc21cdc, 0x24ac1839, 0x2d0a479e,
0x35d13f33, 0x3ef80748, 0x48775c93, 0x524938cd,
0x5c68841d, 0x66d0df0a, 0x717e7bfe, 0x7c6e0305,
},
}