hi_mpi_venc_get_qpmap_size

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

Obtains the size of the QpMap table.

Restrictions

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