Previous topicNext topic
Help > XEngine_AVCodec > XEngine_VideoCodec > VideoCodec_Help >
VideoCodec_Help_GetList

函数

VideoCodec_Help_GetList

功能

获得当前版本支持的视频编解码器

语法

bool VideoCodec_Help_GetList(AVCODEC_VIDEO_CODECLIST * **pppSt_ListEncoder, int* pInt_EncoderCount, AVCODEC_VIDEO_CODECLIST * **pppSt_ListDecoder, int* pInt_DecoderCount)

参数

 参数.一:pStl_ListEncoder
  In/Out:Out
  类型:三级指针
  可空:N
  意思:导出获取到的编码器
 参数.二:pInt_EncoderCount
  In/Out:Out
  类型:整数型指针
  可空:N
  意思:导出编码器个数
 参数.三:pStl_ListDecoder
  In/Out:Out
  类型:三级指针
  可空:N
  意思:导出获取到的解码器
 参数.四:pInt_DecoderCount
  In/Out:Out
  类型:整数型指针
  可空:N
  意思:导出解码器个数

返回值

类型:逻辑型
意思:是否成功

备注

参数一和三必须使用基础库的BaseLib_Memory_Free函数释放内存

示例