hi_mpi_venc_get_mod_param
The
The Ascend 910 AI Processor does not support this API.
Description
Obtains the encoding module parameters.
Restrictions
It is recommended that users 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 the encoding module parameters. |
Returns
- 0: success
- Other values: failure. For details, see VENC/JPEGE Return Codes.
Parent topic: VENC/JPEGE