sys_get_chn_csc_matrix
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
x |
|
√ |
|
√ |
Function Usage
Obtains the CSC matrix parameters of a channel.
Prototype
- C Prototype
1hi_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);
- Python Function
1csc_matrix, csc_coefficient, ret = acl.himpi.sys_get_chn_csc_matrix(mode, chn)
Parameter Description
Parameter |
Description |
|---|---|
mode |
Int, module ID, either HI_ID_VDEC or HI_ID_VPC. |
chn |
Int, channel ID.
|
Return Value Description
Return Value |
Description |
|---|---|
csc_matrix |
Int, data standard of the CSC matrix. For details, see hi_csc_matrix. |
csc_coefficient |
Dict, CSC matrix parameter value. For details, see hi_csc_coefficient. |
ret |
Int, error code.
|
Restrictions
- The channel passed to this API call must have been created.
- If acl.himpi.sys_set_chn_csc_matrix has not been called to set the CSC matrix parameters, the default CSC matrix parameters following the BT.601 Wide standard are returned.
Parent topic: Common APIs