venc_get_mod_param

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

√

Description

Obtains the encoding module parameters.

Prototype

  • C Prototype
    1
    hi_s32 hi_mpi_venc_get_mod_param(hi_venc_mod_param *mod_param)
    
  • Python Function
    1
    mod_param, ret = acl.himpi.venc_get_mod_param(mod_param)
    

Parameters

Parameter

Description

mod_param

Dict, encoding module type. For details, see hi_venc_mod_param.

Return Value

Return Value

Description

mod_param

Dict, pointer to encoding module parameters.

ret

Int, error code.

Restrictions

You are advised to set mod_type in the hi_venc_mod_param dictionary before calling this API. This API will obtain the corresponding module parameters based on the module type.

Reference

For the API call sequence, see JPEGE and VENC.