hi_isp_dp_dynamic_attr

说明

定义动态坏点校正属性。

定义

typedef struct { 
    hi_bool enable; 
    hi_bool sup_twinkle_en; 
    hi_s8   soft_thr; 
    hi_u8   soft_slope; 
    hi_op_mode op_type; 
    hi_isp_dp_dynamic_manual_attr manual_attr; 
    hi_isp_dp_dynamic_auto_attr  auto_attr;
} hi_isp_dp_dynamic_attr;

成员

成员名称

描述

enable

是否使能动态坏点校正功能。

  • HI_FALSE:否
  • HI_TRUE:是

op_type

DPC动态坏点校正工作模式。

  • HI_OP_MODE_AUTO:自动
  • HI_OP_MODE_MANUAL:手动

manual_attr

手动模式下配置动态坏点校正参数。请参见hi_isp_dp_dynamic_manual_attr

auto_attr

自动模式下配置动态坏点校正参数。请参见hi_isp_dp_dynamic_auto_attr

sup_twinkle_en

是否使能闪烁抑制功能。

  • HI_FALSE:否
  • HI_TRUE:是

soft_thr

闪烁抑制的阈值,值越小,所能处理的像素点越多,图像会越模糊。

取值范围:[0, 127]。

soft_slope

闪烁抑制模块中,控制偏差小于soft_thr的像素点的校正情况。值越大,参与校正处理的像素点越多,图像会越模糊。

取值范围:[0, 255]。

注意事项