aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/samsung_duallcd/mdnie_table.h
blob: f52b662fbf2b8b5a62acc3b101c20575c8a0505e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
#ifndef __MDNIE_TABLE_H__
#define __MDNIE_TABLE_H__

#include "mdnie.h"


static const unsigned short tune_dynamic_gallery[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_dynamic_ui[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_dynamic_video[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_dynamic_vtcall[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_movie_gallery[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_movie_ui[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_movie_video[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_movie_vtcall[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_standard_gallery[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_standard_ui[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_standard_video[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_standard_vtcall[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_natural_gallery[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_natural_ui[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_natural_video[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_natural_vtcall[] = {
	END_SEQ, 0x0000,
};

static const unsigned short *tune_camera;

static const unsigned short *tune_camera_outdoor;

static const unsigned short tune_cold[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_cold_outdoor[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_outdoor[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_warm[] = {
	END_SEQ, 0x0000,
};

static const unsigned short tune_warm_outdoor[] = {
	END_SEQ, 0x0000,
};

struct mdnie_tunning_info etc_table[CABC_MAX][OUTDOOR_MAX][TONE_MAX] = {
	{
		{
			{"NORMAL",		NULL},
			{"WARM",		tune_warm},
			{"COLD",		tune_cold},
		},
		{
			{"NORMAL_OUTDOOR",	tune_outdoor},
			{"WARM_OUTDOOR",	tune_warm_outdoor},
			{"COLD_OUTDOOR",	tune_cold_outdoor},
		},
	}
};

#if defined(CONFIG_FB_MDNIE_PWM)
struct mdnie_tunning_info_cabc tunning_table[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
	{
		{
			{"DYNAMIC_UI",			tune_dynamic_ui,		0},
			{"DYNAMIC_VIDEO_NORMAL",	tune_dynamic_video,	LUT_VIDEO},
			{"DYNAMIC_VIDEO_WARM",		tune_dynamic_video,	LUT_VIDEO},
			{"DYNAMIC_VIDEO_COLD",		tune_dynamic_video,	LUT_VIDEO},
			{"CAMERA",				NULL/*tune_camera*/,			0},
			{"DYNAMIC_UI",			tune_dynamic_ui,		0},
			{"DYNAMIC_GALLERY",		tune_dynamic_gallery,	0},
			{"DYNAMIC_VT",			tune_dynamic_vtcall,		0},
		}, {
			{"STANDARD_UI",			tune_standard_ui,		0},
			{"STANDARD_VIDEO_NORMAL",	tune_standard_video,	LUT_VIDEO},
			{"STANDARD_VIDEO_WARM",		tune_standard_video,	LUT_VIDEO},
			{"STANDARD_VIDEO_COLD",		tune_standard_video,	LUT_VIDEO},
			{"CAMERA",				NULL/*tune_camera*/,			0},
			{"STANDARD_UI",			tune_standard_ui,		0},
			{"STANDARD_GALLERY",		tune_standard_gallery,	0},
			{"STANDARD_VT",			tune_standard_vtcall,		0},
		}, {
			{"MOVIE_UI",			tune_movie_ui,			0},
			{"MOVIE_VIDEO_NORMAL",		tune_movie_video,	LUT_VIDEO},
			{"MOVIE_VIDEO_WARM",		tune_movie_video,	LUT_VIDEO},
			{"MOVIE_VIDEO_COLD",		tune_movie_video,	LUT_VIDEO},
			{"CAMERA",			NULL/*tune_camera*/,			0},
			{"MOVIE_UI",			tune_movie_ui,			0},
			{"MOVIE_GALLERY",		tune_movie_gallery,		0},
			{"MOVIE_VT",			tune_movie_vtcall,		0},
		},
	},
	{
		{
			{"DYNAMIC_UI_CABC",		tune_dynamic_ui,		0},
			{"DYNAMIC_VIDEO_NORMAL_CABC",	tune_dynamic_video,	LUT_VIDEO},
			{"DYNAMIC_VIDEO_WARM_CABC",	tune_dynamic_video,	LUT_VIDEO},
			{"DYNAMIC_VIDEO_COLD",		tune_dynamic_video,	LUT_VIDEO},
			{"CAMERA",				NULL/*tune_camera*/,			0},
			{"DYNAMIC_UI_CABC",		tune_dynamic_ui,		0},
			{"DYNAMIC_GALLERY_CABC",	tune_dynamic_gallery,	0},
			{"DYNAMIC_VT_CABC",		tune_dynamic_vtcall,		0},
		}, {
			{"STANDARD_UI_CABC",		tune_standard_ui,		0},
			{"STANDARD_VIDEO_NORMAL_CABC",	tune_standard_video,	LUT_VIDEO},
			{"STANDARD_VIDEO_WARM_CABC",	tune_standard_video,	LUT_VIDEO},
			{"STANDARD_VIDEO_COLD_CABC",	tune_standard_video,	LUT_VIDEO},
			{"CAMERA",					NULL/*tune_camera*/,			0},
			{"STANDARD_UI_CABC",		tune_standard_ui,		0},
			{"STANDARD_GALLERY_CABC",	tune_standard_gallery,	0},
			{"STANDARD_VT_CABC",		tune_standard_vtcall,		0},
		}, {
			{"MOVIE_UI_CABC",		tune_movie_ui,			0},
			{"MOVIE_VIDEO_NORMAL_CABC",	tune_movie_video,	LUT_VIDEO},
			{"MOVIE_VIDEO_WARM_CABC",	tune_movie_video,	LUT_VIDEO},
			{"MOVIE_VIDEO_COLD_CABC",	tune_movie_video,	LUT_VIDEO},
			{"CAMERA",				NULL/*tune_camera*/,			0},
			{"MOVIE_UI_CABC",		tune_movie_ui,			0},
			{"MOVIE_GALLERY_CABC",		tune_movie_gallery,		0},
			{"MOVIE_VT_CABC",		tune_movie_vtcall,		0},
		},
	},
};
#else
struct mdnie_tunning_info tunning_table[CABC_MAX][MODE_MAX][SCENARIO_MAX] = {
	{
		{
			{"DYNAMIC_UI",			tune_dynamic_ui},
			{"DYNAMIC_VIDEO_NORMAL",	tune_dynamic_video},
			{"DYNAMIC_VIDEO_WARM",		tune_dynamic_video},
			{"DYNAMIC_VIDEO_COLD",		tune_dynamic_video},
			{"CAMERA",			NULL/*tune_camera*/},
			{"DYNAMIC_UI",			tune_dynamic_ui},
			{"DYNAMIC_GALLERY",		tune_dynamic_gallery},
			{"DYNAMIC_VT",			tune_dynamic_vtcall},
		}, {
			{"STANDARD_UI",			tune_standard_ui},
			{"STANDARD_VIDEO_NORMAL",	tune_standard_video},
			{"STANDARD_VIDEO_WARM",		tune_standard_video},
			{"STANDARD_VIDEO_COLD",		tune_standard_video},
			{"CAMERA",			NULL/*tune_camera*/},
			{"STANDARD_UI",			tune_standard_ui},
			{"STANDARD_GALLERY",		tune_standard_gallery},
			{"STANDARD_VT",			tune_standard_vtcall},
		}, {
			{"NATURAL_UI",			tune_natural_ui},
			{"NATURAL_VIDEO_NORMAL",	tune_natural_video},
			{"NATURAL_VIDEO_WARM",		tune_natural_video},
			{"NATURAL_VIDEO_COLD",		tune_natural_video},
			{"CAMERA",			NULL/*tune_camera*/},
			{"NATURAL_UI",			tune_natural_ui},
			{"NATURAL_GALLERY",		tune_natural_gallery},
			{"NATURAL_VT",			tune_natural_vtcall},
		}, {
			{"MOVIE_UI",			tune_movie_ui},
			{"MOVIE_VIDEO_NORMAL",		tune_movie_video},
			{"MOVIE_VIDEO_WARM",		tune_movie_video},
			{"MOVIE_VIDEO_COLD",		tune_movie_video},
			{"CAMERA",			NULL/*tune_camera*/},
			{"MOVIE_UI",			tune_movie_ui},
			{"MOVIE_GALLERY",		tune_movie_gallery},
			{"MOVIE_VT",			tune_movie_vtcall},
		},
	}
};
#endif

#endif /* __MDNIE_TABLE_H__ */