hi_mpi_sys_get_chn_csc_matrix

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

Obtains the CSC matrix parameters of a channel.

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