1 /* Release Version: irci_stable_candrpv_0415_20150521_0458 */
2 /* Release Version: irci_ecr-master_20150911_0724 */
4 * Support for Intel Camera Imaging ISP subsystem.
5 * Copyright (c) 2015, Intel Corporation.
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms and conditions of the GNU General Public License,
9 * version 2, as published by the Free Software Foundation.
11 * This program is distributed in the hope it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17 #ifndef __IA_CSS_HDR_PARAMS_H
18 #define __IA_CSS_HDR_PARAMS_H
20 #include "type_support.h"
22 #define HDR_NUM_INPUT_FRAMES (3)
24 /* HDR irradiance map parameters on ISP. */
25 struct sh_css_hdr_irradiance_params
{
27 int32_t match_shift
[HDR_NUM_INPUT_FRAMES
- 1]; /* Histogram matching shift parameter */
28 int32_t match_mul
[HDR_NUM_INPUT_FRAMES
- 1]; /* Histogram matching multiplication parameter */
29 int32_t thr_low
[HDR_NUM_INPUT_FRAMES
- 1]; /* Weight map soft threshold low bound parameter */
30 int32_t thr_high
[HDR_NUM_INPUT_FRAMES
- 1]; /* Weight map soft threshold high bound parameter */
31 int32_t thr_coeff
[HDR_NUM_INPUT_FRAMES
- 1]; /* Soft threshold linear function coefficient */
32 int32_t thr_shift
[HDR_NUM_INPUT_FRAMES
- 1]; /* Soft threshold precision shift parameter */
33 int32_t weight_bpp
; /* Weight map bits per pixel */
36 /* HDR deghosting parameters on ISP */
37 struct sh_css_hdr_deghost_params
{
41 /* HDR exclusion parameters on ISP */
42 struct sh_css_hdr_exclusion_params
{
46 /* HDR ISP parameters */
47 struct sh_css_isp_hdr_params
{
48 struct sh_css_hdr_irradiance_params irradiance
;
49 struct sh_css_hdr_deghost_params deghost
;
50 struct sh_css_hdr_exclusion_params exclusion
;
53 #endif /* __IA_CSS_HDR_PARAMS_H */