GNU Linux-libre 4.14.266-gnu1
[releases.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / isp / kernels / tdf / tdf_1.0 / ia_css_tdf_default.host.c
1 /*
2  * Support for Intel Camera Imaging ISP subsystem.
3  * Copyright (c) 2015, Intel Corporation.
4  *
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.
8  *
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
12  * more details.
13  */
14
15 #include "ia_css_tdf_types.h"
16
17 const struct ia_css_tdf_config default_tdf_config = {
18         .thres_flat_table = {0},
19         .thres_detail_table = {0},
20         .epsilon_0 = 4095,
21         .epsilon_1 = 5733,
22         .eps_scale_text = 409,
23         .eps_scale_edge = 3686,
24         .sepa_flat = 1294,
25         .sepa_edge = 4095,
26         .blend_flat = 819,
27         .blend_text = 819,
28         .blend_edge = 8191,
29         .shading_gain = 1024,
30         .shading_base_gain = 8191,
31         .local_y_gain = 0,
32         .local_y_base_gain = 2047,
33         .rad_x_origin = 0,
34         .rad_y_origin = 0
35 };
36