![]() |
ISVP-SDK
3.12.0
Ingenic Smart Video Platform SDK
|
视频解码模块,当前只支持JPEG解码 更多...
|
结构体 | |
| struct | IMPDecoderAttr |
| 定义解码器属性 更多... | |
| struct | IMPDecoderCHNAttr |
| 定义解码Channel属性 更多... | |
| struct | IMPDecoderNal |
| 定义解码帧数据属性 更多... | |
| struct | IMPDecoderStream |
| 定义解码器码流属性 更多... | |
函数 | |
| int | IMP_Decoder_CreateChn (int decChn, const IMPDecoderCHNAttr *attr) |
| 创建解码Channel 更多... | |
| int | IMP_Decoder_DestroyChn (int decChn) |
| 销毁解码Channel 更多... | |
| int | IMP_Decoder_StartRecvPic (int decChn) |
| 开启解码Channel接收图像 更多... | |
| int | IMP_Decoder_StopRecvPic (int decChn) |
| 停止解码Channel接收图像 更多... | |
| int | IMP_Decoder_SendStreamTimeout (int decChn, IMPDecoderStream *stream, uint32_t timeoutMsec) |
| 发送需解码数据 更多... | |
| int | IMP_Decoder_PollingFrame (int decChn, uint32_t timeoutMsec) |
| Polling 解码码流缓存 更多... | |
| int | IMP_Decoder_GetFrame (int decChn, IMPFrameInfo **frame) |
| 获取解码码流 更多... | |
| int | IMP_Decoder_ReleaseFrame (int decChn, IMPFrameInfo *frame) |
| 释放码流缓存 更多... | |
视频解码模块,当前只支持JPEG解码
| int IMP_Decoder_CreateChn | ( | int | decChn, |
| const IMPDecoderCHNAttr * | attr | ||
| ) |
创建解码Channel
| [in] | decChn | 解码Channel号,取值范围: [0, NR_MAX_DEC_CHN - 1] |
| [in] | attr | 解码Channel属性指针 |
| 0 | 成功 |
| 非0 | 失败 |
| int IMP_Decoder_DestroyChn | ( | int | decChn | ) |
销毁解码Channel
| [in] | decChn | 解码Channel号,取值范围: [0, NR_MAX_DEC_CHN - 1] |
| 0 | 成功 |
| 非0 | 失败 |
| int IMP_Decoder_GetFrame | ( | int | decChn, |
| IMPFrameInfo ** | frame | ||
| ) |
获取解码码流
| [in] | decChn | 解码Channel号,取值范围: [0, NR_MAX_DEC_CHN - 1] |
| [out] | frame | 解码码流结构体指针 |
| 0 | 成功 |
| 非0 | 失败 |
| int IMP_Decoder_PollingFrame | ( | int | decChn, |
| uint32_t | timeoutMsec | ||
| ) |
Polling 解码码流缓存
| [in] | decChn | 解码Channel号,取值范围: [0, NR_MAX_DEC_CHN - 1] |
| [in] | timeoutMsec | 超时时间 单位ms |
| 0 | 成功 |
| 非0 | 失败 |
| int IMP_Decoder_ReleaseFrame | ( | int | decChn, |
| IMPFrameInfo * | frame | ||
| ) |
释放码流缓存
| [in] | decChn | 解码Channel号,取值范围: [0, NR_MAX_DEC_CHN - 1] |
| [in] | frame | 解码码流结构体指针 |
| 0 | 成功 |
| 非0 | 失败 |
| int IMP_Decoder_SendStreamTimeout | ( | int | decChn, |
| IMPDecoderStream * | stream, | ||
| uint32_t | timeoutMsec | ||
| ) |
发送需解码数据
| [in] | decChn | 解码Channel号,取值范围: [0, NR_MAX_DEC_CHN - 1] |
| [in] | stream | 需解码的数据流结构体指针 |
| [in] | timeoutMsec | 解码超时时间 单位ms |
| 0 | 成功 |
| 非0 | 失败 |
| int IMP_Decoder_StartRecvPic | ( | int | decChn | ) |
开启解码Channel接收图像
| [in] | decChn | 解码Channel号,取值范围: [0, NR_MAX_DEC_CHN - 1] |
| 0 | 成功 |
| 非0 | 失败 |
| int IMP_Decoder_StopRecvPic | ( | int | decChn | ) |
停止解码Channel接收图像
| [in] | decChn | 解码Channel号,取值范围: [0, NR_MAX_DEC_CHN - 1] |
| 0 | 成功 |
| 非0 | 失败 |
1.8.8