goto INVALID_PARM;
if (sizeof(arg->de_config) != sizeof(isp->params.de_config))
goto INVALID_PARM;
+ if (sizeof(arg->ce_config) != sizeof(isp->params.ce_config))
+ goto INVALID_PARM;
if (sizeof(arg->dp_config) != sizeof(isp->params.dp_config))
goto INVALID_PARM;
if (sizeof(arg->nr_config) != sizeof(isp->params.nr_config))
sizeof(struct sh_css_dp_config));
memcpy(&isp->params.de_config, &arg->de_config,
sizeof(struct sh_css_de_config));
+ memcpy(&isp->params.ce_config, &arg->ce_config,
+ sizeof(struct sh_css_ce_config));
memcpy(&isp->params.nr_config, &arg->nr_config,
sizeof(struct sh_css_nr_config));
memcpy(&isp->params.ee_config, &arg->ee_config,
sh_css_set_wb_config(&isp->params.wb_config);
sh_css_set_ob_config(&isp->params.ob_config);
sh_css_set_de_config(&isp->params.de_config);
+ sh_css_set_ce_config(&isp->params.ce_config);
sh_css_set_dp_config(&isp->params.dp_config);
sh_css_set_nr_config(&isp->params.nr_config);
sh_css_set_ee_config(&isp->params.ee_config);
const struct sh_css_ee_config *default_ee_config;
const struct sh_css_ob_config *default_ob_config;
const struct sh_css_de_config *default_de_config;
+ const struct sh_css_ce_config *default_ce_config;
const struct sh_css_gc_config *default_gc_config;
const struct sh_css_tnr_config *default_tnr_config;
const struct sh_css_3a_config *default_3a_config;
struct sh_css_ee_config ee_config;
struct sh_css_ob_config ob_config;
struct sh_css_de_config de_config;
+ struct sh_css_ce_config ce_config;
struct sh_css_gc_config gc_config;
struct sh_css_tnr_config tnr_config;
struct sh_css_3a_config s3a_config;
unsigned int c2_coring_threshold;
};
+/* Chroma enhancement */
+struct atomisp_ce_config {
+ unsigned int uv_level_min;
+ unsigned int uv_level_max;
+};
+
/* Defect pixel correction configuration */
struct atomisp_dp_config {
/* [intensity] The threshold of defect Pixel Correction, representing
struct atomisp_cc_config cc_config;
struct atomisp_ob_config ob_config;
struct atomisp_de_config de_config;
+ struct atomisp_ce_config ce_config;
struct atomisp_dp_config dp_config;
struct atomisp_nr_config nr_config;
struct atomisp_ee_config ee_config;