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

函数

static _XIF_ void UnpackSFMPEG1 (BitStreamInfo *bsi, SideInfoSub *sis, ScaleFactorInfoSub *sfis, int *scfsi, int gr, ScaleFactorInfoSub *sfisGr0)
 
static _XIF_ void UnpackSFMPEG2 (BitStreamInfo *bsi, SideInfoSub *sis, ScaleFactorInfoSub *sfis, int gr, int ch, int modeExt, ScaleFactorJS *sfjs)
 
_XIF_ int UnpackScaleFactors (MP3DecInfo *mp3DecInfo, unsigned char *buf, int *bitOffset, int bitsAvail, int gr, int ch)
 

变量

static _DIF_ const char SFLenTab [16][2]
 
static _DIF_ const char NRTab [6][3][4]
 

函数说明

◆ UnpackScaleFactors()

_XIF_ int UnpackScaleFactors ( MP3DecInfo mp3DecInfo,
unsigned char *  buf,
int *  bitOffset,
int  bitsAvail,
int  gr,
int  ch 
)

◆ UnpackSFMPEG1()

static _XIF_ void UnpackSFMPEG1 ( BitStreamInfo bsi,
SideInfoSub sis,
ScaleFactorInfoSub sfis,
int *  scfsi,
int  gr,
ScaleFactorInfoSub sfisGr0 
)
static

◆ UnpackSFMPEG2()

static _XIF_ void UnpackSFMPEG2 ( BitStreamInfo bsi,
SideInfoSub sis,
ScaleFactorInfoSub sfis,
int  gr,
int  ch,
int  modeExt,
ScaleFactorJS sfjs 
)
static

变量说明

◆ NRTab

_DIF_ const char NRTab[6][3][4]
static
初始值:
= {
{ {6, 5, 5, 5},
{3, 3, 3, 3},
{6, 3, 3, 3},
},
{ {6, 5, 7, 3},
{3, 3, 4, 2},
{6, 3, 4, 2},
},
{ {11, 10, 0, 0},
{6, 6, 0, 0},
{6, 3, 6, 0},
},
{ {7, 7, 7, 0},
{4, 4, 4, 0},
{6, 5, 4, 0},
},
{ {6, 6, 6, 3},
{4, 3, 3, 2},
{6, 4, 3, 2},
},
{ {8, 8, 5, 0},
{5, 4, 3, 0},
{6, 6, 3, 0},
}
}

◆ SFLenTab

_DIF_ const char SFLenTab[16][2]
static
初始值:
= {
{0, 0}, {0, 1},
{0, 2}, {0, 3},
{3, 0}, {1, 1},
{1, 2}, {1, 3},
{2, 1}, {2, 2},
{2, 3}, {3, 1},
{3, 2}, {3, 3},
{4, 2}, {4, 3},
}