hi_mpi_sys_get_chn_csc_matrix

Description

Obtains the CSC matrix parameters of a channel.

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_sys_get_chn_csc_matrix(hi_mod_id mode, hi_s32 chn, hi_csc_matrix *csc_matrix, hi_csc_coefficient *csc_coefficient);

Parameters

Parameter

Input/Output

Description

mode

Input

Module ID, either HI_ID_VDEC or HI_ID_VPC.

chn

Input

Channel ID.

When mode is set to HI_ID_VDEC, for details about the channel ID range, see the value range of chn in hi_mpi_vdec_create_chn.

When mode is set to HI_ID_VPC, for details about the channel ID range, see the value range of chn in hi_mpi_vpc_create_chn.

csc_matrix

Output

Pointer to the data standard of the CSC matrix.

csc_coefficient

Output

Pointer to the CSC matrix parameters.

Returns