![]() |
CI130X SDK API手册
2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
|
#include "bitstreamf.h"结构体 | |
| struct | FLACContext |
类型定义 | |
| typedef struct FLACContext | FLACContext |
枚举 | |
| enum | decorrelation_type { INDEPENDENT, LEFT_SIDE, RIGHT_SIDE, MID_SIDE } |
函数 | |
| int | flac_decode_frame24 (FLACContext *s, uint8_t *buf, int buf_size, int32_t *wavbuf) |
| int | flac_decode_frame16 (FLACContext *s, uint8_t *buf, int buf_size, int16_t *wavbuf) |
| int | flac_seek_frame (uint8_t *buf, uint32_t size, FLACContext *fc) |
| struct FLACContext |
| 成员变量 | ||
|---|---|---|
| int | bitstream_index | |
| int | bitstream_size | |
| int | blocksize | |
| int | bps | |
| int | channels | |
| int | curr_bps | |
| int * | decoded0 | |
| int * | decoded1 | |
| enum decorrelation_type | decorrelation | |
| int | framesize | |
| GetBitContext | gb | |
| int | max_blocksize | |
| int | max_framesize | |
| int | min_blocksize | |
| int | min_framesize | |
| int | sample_skip | |
| unsigned long | samplenumber | |
| int | samplerate | |
| int | seekpoints | |
| int | seektable | |
| unsigned long | totalsamples | |
| typedef struct FLACContext FLACContext |
| int flac_decode_frame16 | ( | FLACContext * | s, |
| uint8_t * | buf, | ||
| int | buf_size, | ||
| int16_t * | wavbuf | ||
| ) |
| int flac_decode_frame24 | ( | FLACContext * | s, |
| uint8_t * | buf, | ||
| int | buf_size, | ||
| int32_t * | wavbuf | ||
| ) |
| int flac_seek_frame | ( | uint8_t * | buf, |
| uint32_t | size, | ||
| FLACContext * | fc | ||
| ) |
1.8.14