hi_mpi_pngd_create_chn

Description

Creates a decoding channel based on the configured channel attributes.

The Ascend 310 AI Processor does not support this API in the current version.

The Ascend 910 AI Processor does not support this API in the current version.

Restrictions

Prototype

hi_s32 hi_mpi_pngd_create_chn(hi_pngd_chn chn, const hi_pngd_chn_attr *attr)

Parameters

Parameter

Input/Output

Description

chn

Input

Decoding channel ID.

The value range of this parameter is [0, 128). The maximum number of channels is 128.

attr

Input

Pointer to the decoding channel attributes.

Returns

See Also

For the API call sequence, see PNGD.