acl.himpi.venc_get_mod_param

C Prototype

hi_s32 hi_mpi_venc_get_mod_param(hi_venc_mod_param *mod_param)

Python Function

mod_param, ret = acl.himpi.venc_get_mod_param(mod_param)

Function Usage

Obtains the encoding module parameters.

The Atlas 200/300/500 Inference Product does not support this API in the current version.

The Atlas Training Series Product does not support this API in the current version.

Input Description

mod_param: dict, type of the encoding module. For details, see hi_venc_mod_param.

Return Value

ret: int, error code.

mod_param: dict, pointer to encoding module parameters.

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.