![]() |
CI130X SDK API手册
2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
|
结构体 | |
struct | _AACFrameInfo |
宏定义 | |
#define | AAC_MAX_NCHANS 2 /* set to default max number of channels */ |
#define | AAC_MAX_NSAMPS 1024 |
#define | AAC_MAINBUF_SIZE (768 * AAC_MAX_NCHANS) |
#define | AAC_NUM_PROFILES 3 |
#define | AAC_PROFILE_MP 0 |
#define | AAC_PROFILE_LC 1 |
#define | AAC_PROFILE_SSR 2 |
#define | AAC_ENABLE_MPEG4 |
类型定义 | |
typedef struct _AACFrameInfo | AACFrameInfo |
typedef void * | HAACDecoder |
枚举 | |
enum | { ERR_AAC_NONE = 0, ERR_AAC_INDATA_UNDERFLOW = -1, ERR_AAC_NULL_POINTER = -2, ERR_AAC_INVALID_ADTS_HEADER = -3, ERR_AAC_INVALID_ADIF_HEADER = -4, ERR_AAC_INVALID_FRAME = -5, ERR_AAC_MPEG4_UNSUPPORTED = -6, ERR_AAC_CHANNEL_MAP = -7, ERR_AAC_SYNTAX_ELEMENT = -8, ERR_AAC_DEQUANT = -9, ERR_AAC_STEREO_PROCESS = -10, ERR_AAC_PNS = -11, ERR_AAC_SHORT_BLOCK_DEINT = -12, ERR_AAC_TNS = -13, ERR_AAC_IMDCT = -14, ERR_AAC_NCHANS_TOO_HIGH = -15, ERR_AAC_SBR_INIT = -16, ERR_AAC_SBR_BITSTREAM = -17, ERR_AAC_SBR_DATA = -18, ERR_AAC_SBR_PCM_FORMAT = -19, ERR_AAC_SBR_NCHANS_TOO_HIGH = -20, ERR_AAC_SBR_SINGLERATE_UNSUPPORTED = -21, ERR_AAC_RAWBLOCK_PARAMS = -22, ERR_AAC_UNKNOWN = -9999 } |
函数 | |
HAACDecoder | AACInitDecoder (void) |
void | AACFreeDecoder (HAACDecoder hAACDecoder) |
int | AACClearDecoder (HAACDecoder hAACDecoder) |
int | AACDecode (HAACDecoder hAACDecoder, unsigned char **inbuf, int *bytesLeft, short *outbuf) |
int | AACFindSyncWord (unsigned char *buf, int nBytes) |
void | AACGetLastFrameInfo (HAACDecoder hAACDecoder, AACFrameInfo *aacFrameInfo) |
int | AACSetRawBlockParams (HAACDecoder hAACDecoder, int copyLast, AACFrameInfo *aacFrameInfo) |
int | AACFlushCodec (HAACDecoder hAACDecoder) |
struct _AACFrameInfo |
#define AAC_ENABLE_MPEG4 |
#define AAC_MAINBUF_SIZE (768 * AAC_MAX_NCHANS) |
#define AAC_MAX_NCHANS 2 /* set to default max number of channels */ |
#define AAC_MAX_NSAMPS 1024 |
#define AAC_NUM_PROFILES 3 |
#define AAC_PROFILE_LC 1 |
#define AAC_PROFILE_MP 0 |
#define AAC_PROFILE_SSR 2 |
typedef struct _AACFrameInfo AACFrameInfo |
typedef void* HAACDecoder |
anonymous enum |
int AACClearDecoder | ( | HAACDecoder | hAACDecoder | ) |
int AACDecode | ( | HAACDecoder | hAACDecoder, |
unsigned char ** | inbuf, | ||
int * | bytesLeft, | ||
short * | outbuf | ||
) |
int AACFindSyncWord | ( | unsigned char * | buf, |
int | nBytes | ||
) |
int AACFlushCodec | ( | HAACDecoder | hAACDecoder | ) |
void AACFreeDecoder | ( | HAACDecoder | hAACDecoder | ) |
void AACGetLastFrameInfo | ( | HAACDecoder | hAACDecoder, |
AACFrameInfo * | aacFrameInfo | ||
) |
HAACDecoder AACInitDecoder | ( | void | ) |
int AACSetRawBlockParams | ( | HAACDecoder | hAACDecoder, |
int | copyLast, | ||
AACFrameInfo * | aacFrameInfo | ||
) |