hi_mpi_venc_get_mod_param

Applicable Products

Product

Supported

Ascend 950PR / Ascend 950DT

☓

Atlas A3 training products / Atlas A3 inference products

☓

Atlas A2 training products / Atlas A2 inference products

☓

Atlas 200I/500 A2 inference products

√

Atlas inference products

√

Atlas training products

☓

Function

Obtains the encoding module parameters.

You are advised to set the mod_type parameter in the hi_venc_mod_param structure before calling this API. This API obtains the corresponding module parameters based on the module type.

Prototype

hi_s32 hi_mpi_venc_get_mod_param(hi_venc_mod_param *mod_param)

Parameters

Parameter

Input/Output

Description

mod_param

Output

Pointer to module-specific encoding parameters.

Returns

Reference

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