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

#### 产品支持情况

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


#### 功能说明

设定等曝光量转换的曝光参数相关属性。


#### 函数原型

```
hi_s32
hi_mpi_isp_get_exp_convert(
hi_vi_pipe
vi_pipe,
hi_isp_exp_conv_param
*conv_param)
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| vi\_pipe | 输入 | VI PIPE号。 取值范围：[0, 12)。 |
| conv\_param | 输出 | 等曝光量转换相关曝光量属性指针。 |


#### 返回值说明

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


#### 约束说明

- 转换出来的sensor曝光时间、模拟增益、数字增益均为sensor寄存器的值并有对应的寄存器地址，可以直接配给sensor寄存器使用。转换出来的ISP数字增益以倍数为单位，精度是10bit。
- 转换出来的sensor曝光时间、模拟增益、数字增益分别最多为10个寄存器值和10个寄存器地址。
