CI13LC SDK API手册  2.1.1
本手册用于描述CI13LC SDK各个组件和驱动API
宏定义 | 类型定义 | 函数 | 变量
mp3dqchan.c 文件参考
#include "mp3coder.h"
#include "mp3assembly.h"

宏定义

#define SQRTHALF   0x5a82799a
 

类型定义

typedef int ARRAY3[3]
 

函数

static _XIF_ int DequantBlock (int *inbuf, int *outbuf, int num, int scale)
 
_XIF_ int STATNAME() DequantChannel (int *sampleBuf, int *workBuf, int *nonZeroBound, FrameHeader *fh, SideInfoSub *sis, ScaleFactorInfoSub *sfis, CriticalBandInfo *cbi)
 

变量

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

宏定义说明

◆ SQRTHALF

#define SQRTHALF   0x5a82799a

类型定义说明

◆ ARRAY3

typedef int ARRAY3[3]

函数说明

◆ DequantBlock()

static _XIF_ int DequantBlock ( int *  inbuf,
int *  outbuf,
int  num,
int  scale 
)
static

◆ DequantChannel()

_XIF_ int STATNAME() DequantChannel ( int *  sampleBuf,
int *  workBuf,
int *  nonZeroBound,
FrameHeader fh,
SideInfoSub sis,
ScaleFactorInfoSub sfis,
CriticalBandInfo cbi 
)

变量说明

◆ poly43hi

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

◆ poly43lo

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

◆ pow14

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

◆ pow2exp

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

◆ pow2frac

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

◆ pow43

_DIF_ const int pow43[]
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

_DIF_ const int pow43_14[4][16]
static
初始值:
= {
{ 0x00000000, 0x10000000, 0x285145f3, 0x453a5cdb,
0x0cb2ff53, 0x111989d6, 0x15ce31c8, 0x1ac7f203,
0x20000000, 0x257106b9, 0x2b16b4a3, 0x30ed74b4,
0x36f23fa5, 0x3d227bd3, 0x437be656, 0x49fc823c, },
{ 0x00000000, 0x0d744fcd, 0x21e71f26, 0x3a36abd9,
0x0aadc084, 0x0e610e6e, 0x12560c1d, 0x168523cf,
0x1ae89f99, 0x1f7c03a4, 0x243bae49, 0x29249c67,
0x2e34420f, 0x33686f85, 0x38bf3dff, 0x3e370182, },
{ 0x00000000, 0x0b504f33, 0x1c823e07, 0x30f39a55,
0x08facd62, 0x0c176319, 0x0f6b3522, 0x12efe2ad,
0x16a09e66, 0x1a79a317, 0x1e77e301, 0x2298d5b4,
0x26da56fc, 0x2b3a902a, 0x2fb7e7e7, 0x3450f650, },
{ 0x00000000, 0x09837f05, 0x17f910d7, 0x2929c7a9,
0x078d0dfa, 0x0a2ae661, 0x0cf73154, 0x0fec91cb,
0x1306fe0a, 0x16434a6c, 0x199ee595, 0x1d17ae3d,
0x20abd76a, 0x2459d551, 0x28204fbb, 0x2bfe1808, },
}

◆ preTab

_DIF_ const char preTab[22] = { 0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,2,2,3,3,3,2,0 }
static