---
title: hi_isp_inner_state_info
description: "定义内部寄存器实际配置信息参数。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/ispdevug/ispdevapi_0263.html
sourcePath: /source/zh/canncommercial/900/others/ispdevug/ispdevapi_0263.html
indexId: 6f8e4b9d5cfd60835cfa53086f8f00bdc9646992c234287cf52dfe883d985b9f65
---
# hi_isp_inner_state_info

#### 说明

定义内部寄存器实际配置信息参数。


#### 定义

```
typedef struct {
hi_u16
texture_strength[HI_ISP_SHARPEN_GAIN_NUM];
hi_u16
edge_strength[HI_ISP_SHARPEN_GAIN_NUM];
hi_u16
texture_freq;
hi_u16
edge_freq;
hi_u8
over_shoot;
hi_u8
under_shoot;
hi_u8
shoot_sup_strength;
hi_u16
coarse_strength[HI_ISP_BAYER_CHN_NUM];
hi_u8
wdr_frame_strength[HI_ISP_WDR_MAX_FRAME_NUM];
hi_u8
fine_strength;
hi_u16
coring_wgt;
hi_u16
dehaze_strength_actual;
hi_u16
drc_strength_actual;
hi_u32
wdr_exp_ratio_actual[HI_ISP_WDR_MAX_FRAME_NUM - 1];
hi_bool
wdr_switch_finish;
hi_bool
res_switch_finish;
hi_u16
black_level_actual[HI_ISP_BAYER_CHN_NUM];
} hi_isp_inner_state_info;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| texture\_strength[HI\_ISP\_SHARPEN\_GAIN\_NUM] | 无方向的细节纹理的锐化强度，图像无方向的细节纹理的锐度。 取值范围：[0, 4095]。 |
| edge\_strength[HI\_ISP\_SHARPEN\_GAIN\_NUM] | 带方向的边缘的锐化强度，图像带方向的边缘的锐度。 取值范围：[0, 4095]。 |
| texture\_freq | 图像的无方向细节纹理的增强频段控制。图像的细节纹理增强的频率。 取值范围：[0, 4095]。 |
| edge\_freq | 图像的带方向的边缘的增强频段控制。图像边缘增强的频率。 取值范围：[0, 4095]。 |
| over\_shoot | 图像的overshoot（锐化后的白边白点）的强度。 取值范围：[0, 127]。 |
| under\_shoot | 图像的undershoot（锐化后的黑边黑点）的强度。 取值范围：[0, 127]。 |
| shoot\_sup\_strength | 图像锐化后的overshoot和undershoot的抑制强度。用于在保证清晰度不明显下降的前提下，抑制锐化后的图像的overshoot和undershoot的宽度和幅度。 |
| coarse\_strength | 线性模式下控制亮度噪声整体去噪强度，四通道强度独立可调，值越大，亮噪去噪强度越大。 取值范围：[0, 0x360]。 \#define HI\_ISP\_BAYER\_CHN\_NUM 4 |
| wdr\_frame\_strength | WDR模式下每一融合帧分别对应的全局亮度去噪强度。 取值范围：[0, 0x50]。 \#define HI\_ISP\_WDR\_MAX\_FRAME\_NUM 4 |
| fine\_strength | 亮噪去除强度，值越大，亮噪去除强度越大。 取值范围：[0x0,0x80]。 |
| coring\_wgt | 随机噪声保留强度，值越大，保留的随机噪声越多。取值范围：[0x0,0xC80]。 |
| dehaze\_strength\_actual | 去雾强度值 |
| drc\_strength\_actual | DRC强度生效值。取值范围：[0x0, 0x3FF]。 |
| wdr\_exp\_ratio\_actual | WDR曝光比 2to1时用wdr\_exp\_ratio\_actual[0]表示曝光比 3to1时用wdr\_exp\_ratio\_actual[0]及wdr\_exp\_ratio\_actual[1]表示曝光比 4to1时用wdr\_exp\_ratio\_actual[0]， wdr\_exp\_ratio\_actual[1] wdr\_exp\_ratio\_actual[2]分别表示曝光比。 |
| wdr\_switch\_finish | WDR切换是否完成标志。 |
| res\_switch\_finish | 分辨率切换是否完成标志。 |
| black\_level\_actual | 实际生效的黑电平的值，分别表示不同 WDR通道R、Gr、Gb、B分量的黑电平。 取值范围：[0x0, 0xFFF]。 |


#### 注意事项

sensor-built-in模式下，查询到的实际生效的黑电平值为14bits；其他模式下，实际生效的黑电平值均为12bits。
