venc_get_mod_param

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

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

It is recommended that users set the mod_type parameter in the hi_venc_mod_param dictionary before calling this API. This API obtains the corresponding module parameters based on the module type.

Reference

For details about the API call sequence, see JPEGE and VENC.