venc_get_qpmap_size

Applicability

Product

Supported

Atlas 350 Accelerator Card

x

Atlas A3 training product/Atlas A3 inference product

x

Atlas A2 training product/Atlas A2 inference product

x

Atlas training product

x

Atlas inference product

Atlas 200I/500 A2 inference product

x

Description

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

Prototype

  • C Prototype
    1
    hi_s32 hi_mpi_venc_get_qpmap_size(hi_payload_type type, hi_u32 width, hi_u32 height)
    
  • Python Function
    1
    size = acl.himpi.venc_get_qpmap_size(type, width, height)
    

Parameters

Parameter

Description

type

Int, encoding protocol type. For details, see hi_payload_type.

width

Int, width of the encoded image.

height

Int, height of the encoded image.

Return Value

Return Value

Description

size

int.

  • 0: failure
  • Other values: success