---
title: hi_mpi_isp_get_ccm_attr
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/ispdevug/ispdevapi_0245.html
sourcePath: /source/zh/canncommercial/900/others/ispdevug/ispdevapi_0245.html
indexId: 662cbfbd34a79f055ab482cb246424f76eafa71816d622f463e431ec1d3fb51265
---
# hi_mpi_isp_get_ccm_attr

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas 350 加速卡 | ☓ |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | ☓ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | ☓ |
| Atlas 200I/500 A2 推理产品 | √ |
| Atlas 推理系列产品 | ☓ |
| Atlas 训练系列产品 | ☓ |


#### 功能说明

获取颜色矩阵。


#### 函数原型

```
hi_s32
hi_mpi_isp_get_ccm_attr(
hi_vi_pipe
vi_pipe,
hi_isp_color_matrix_attr
*ccm_attr)
```


#### 参数说明

| 参数名称 | 输入/输出 | 描述 |
| --- | --- | --- |
| vi\_pipe | 输入 | VI PIPE号。 取值范围：[0, 12)。 |
| ccm\_attr | 输出 | 颜色矩阵。 |


#### 返回值说明

- 0：成功
- 非0：失败，参见  ISP返回码
。
