venc_get_qpmap_stride

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

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

Description

Obtains the stride of the QpMap table.

Prototype

  • C Prototype
    1
    hi_s32 hi_mpi_venc_get_qpmap_stride(hi_u32 width)
    
  • Python Function
    1
    stride = acl.himpi.venc_get_qpmap_stride(width)
    

Parameters

Parameter

Description

width

Int, width of the encoded image.

Return Value

Return Value

Description

stride

Int.

  • 0: failure.
  • Other values: success