venc_get_mod_param
Applicability
|
Product |
Supported (√/x) |
|---|---|
|
|
x |
|
|
x |
|
|
x |
|
|
√ |
|
|
√ |
Function Usage
Obtains the encoding module parameters.
Prototype
- C Prototype
1hi_s32 hi_mpi_venc_get_mod_param(hi_venc_mod_param *mod_param)
- Python Function
1mod_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.