![]() |
CI130X SDK API手册
2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
|
解析m4a格式头信息以获取aac解码需要的信息 更多...
结构体 | |
struct | sound_format |
struct | sound_flag |
struct | media_sound |
struct | esds_format |
struct | media_info_typedef |
struct | aac_stco_Typedef |
struct | m4a_file_info_t |
类型定义 | |
typedef struct sound_format | sound_format |
typedef struct sound_flag | sound_flag |
typedef struct media_sound | media_sound |
typedef struct esds_format | esds_format |
typedef struct media_info_typedef | media_info_typedef |
枚举 | |
enum | AtomEnum { FTYP, WIDE, MDAT, MOOV, MVHD, TRAK, TKHD, TAPT, CLEF, PROF, ENOF, EDTS, ELST, MDIA, MDHD, HDLR, MINF, VMHD, SMHD, DINF, DREF, STBL, STSD, STTS, STSC, STSZ, STCO, UDTA, FREE, SKIP, META, LOAD, IODS, ILST, KEYS, DATA, TRKN, DISK, CPIL, PGAP, TMPO, GNRE, COVR, CNAM, CART, CALB, CGEN, CDAY, CTOO, CWRT, NONE } |
函数 | |
int32_t | alloc_m4a_info (m4a_file_info_t *m4a_file_info) |
申请m4a容器解码器 更多... | |
int32_t | free_m4a_info (m4a_file_info_t *m4a_file_info) |
销毁m4a容器解码器 更多... | |
int | collectMediaData (mem_file_t *fp, m4a_file_info_t *m4a_file_info, uint32_t parentAtomSize, uint32_t child) |
解析m4a容器 更多... | |
解析m4a格式头信息以获取aac解码需要的信息
struct sound_format |
struct media_sound |
成员变量 | ||
---|---|---|
uint32_t | ctime | |
uint32_t | duration | |
sound_flag | flag | |
sound_format | format | |
uint32_t | mtime | |
uint32_t | timeScale |
struct media_info_typedef |
成员变量 | ||
---|---|---|
esds_format | bitrate | |
sound_format | format | |
media_sound | sound |
struct m4a_file_info_t |
成员变量 | ||
---|---|---|
aac_stco_Typedef * | aac_stco_struct | |
uint8_t * | albumTag | |
uint8_t * | artistTag | |
media_info_typedef * | media_info | |
uint8_t * | nameTag |
typedef struct esds_format esds_format |
typedef struct media_info_typedef media_info_typedef |
typedef struct media_sound media_sound |
typedef struct sound_flag sound_flag |
typedef struct sound_format sound_format |
int32_t alloc_m4a_info | ( | m4a_file_info_t * | m4a_file_info | ) |
申请m4a容器解码器
m4a_file_info | m4a容器解码器 |
RETURN_OK | 申请成功 |
RETURN_ERR | 申请失败 |
int collectMediaData | ( | mem_file_t * | fp, |
m4a_file_info_t * | m4a_file_info, | ||
uint32_t | parentAtomSize, | ||
uint32_t | child | ||
) |
解析m4a容器
fp | 数据读取描述符 |
m4a_file_info | m4a容器解码器 |
parentAtomSize | 文件大小 |
child | atom节点 |
RETURN_OK | 播放启动成功 |
RETURN_ERR | 播放启动失败 |
int32_t free_m4a_info | ( | m4a_file_info_t * | m4a_file_info | ) |
销毁m4a容器解码器
m4a_file_info | m4a容器解码器 |
RETURN_OK | 销毁成功 |
RETURN_ERR | 销毁失败 |