venc_get_mod_param

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

Function Usage

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)
    

Parameter Description

Parameter

Description

mod_param

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

Return Value Description

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 the API call sequence, see JPEGE and VENC.