hi_mpi_venc_get_qpmap_size

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function Description

Obtains the size of the QpMap table. Only H.264/H.265 encoding channels support this API.

Prototype

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

Parameters

Parameter

Input/Output

Description

type

Input

Encode protocol type.

width

Input

Width of the encoding image.

height

Input

Height of the encoding image.

Returns

  • 0: failure
  • Other values: success