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.

Description

Sets protocol-specific memory allocation parameters of a channel, such as slice, pps, and 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