昇腾社区首页
中文
注册

venc_get_qpmap_size

c函数原型

hi_s32 hi_mpi_venc_get_qpmap_size(hi_payload_type type, hi_u32 width, hi_u32 height)

Python函数

size = acl.himpi.venc_get_qpmap_size(type, width, height)

函数功能

本接口支持用户获取qpmap映射表大小。

Atlas 200/300/500 推理产品,不支持该接口。

Atlas 训练系列产品,不支持该接口。

Atlas 200I/500 A2推理产品,不支持该接口。

Atlas A2训练系列产品/Atlas 800I A2推理产品,不支持该接口。

输入说明

type:编码协议类型,参考hi_payload_type

width:编码图像的宽。

heigh:编码图像的高。

返回值说明

  • 0:失败
  • 非0:成功