venc_get_qpmap_size

Applicability

Product

Supported (√/x)

Atlas A3 training products/Atlas A3 inference products

x

Atlas A2 training products/Atlas A2 inference products

x

Atlas training products

x

Atlas inference products

Atlas 200I/500 A2 inference products

x

Function Usage

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)
    

Parameter Description

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 Description

Return Value

Description

size

Int.

  • 0: failure
  • Other values: success