venc_get_mod_param

Applicable Products

Product

Supported (√/x)

Ascend 950PR&950DT products

x

Atlas A3 products

x

Atlas A2 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 Values

Return Value

Description

mod_param

Dict, pointer to encoding module parameters.

ret

Int, error code.

Constraints

You are advised to 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.