hi_mpi_vdec_set_protocol_param
This API is not supported in the current version. The function does not take effect. If this API is called, the return value is 0.
Function Description
Sets protocol-specific memory allocation parameters of a channel, such as the slice, picture parameter set (PPS), and sequence parameter set (SPS).
Prototype
hi_s32 hi_mpi_vdec_set_protocol_param(hi_vdec_chn chn, const hi_vdec_protocol_param *protocol_param)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
chn |
Input |
Decoding channel ID. |
protocol_param |
Input |
Pointer to the decoding channel parameters. |
Returns
- 0: success
- Other values: failure. For details, see VDEC/JPEGD Return Codes.
Parent topic: VDEC/JPEGD