2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 #ifndef __IA_CSS_DPC2_TYPES_H
16 #define __IA_CSS_DPC2_TYPES_H
19 * CSS-API header file for Defect Pixel Correction 2 (DPC2) parameters.
22 #include "type_support.h"
25 /** Floating point constants for different metrics. */
26 #define METRIC1_ONE_FP (1<<12)
27 #define METRIC2_ONE_FP (1<<5)
28 #define METRIC3_ONE_FP (1<<12)
29 #define WBGAIN_ONE_FP (1<<9)
33 /** Defect Pixel Correction 2 configuration.
35 * \brief DPC2 public parameters.
36 * \details Struct with all parameters for the Defect Pixel Correction 2
37 * kernel that can be set from the CSS API.
39 * ISP block: DPC1 (DPC after WB)
40 * DPC2 (DPC before WB)
45 struct ia_css_dpc2_config {
58 #endif /* __IA_CSS_DPC2_TYPES_H */