aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/samsung_duallcd/mdnie_table.h
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.com>2012-09-22 09:48:20 +0200
committercodeworkx <codeworkx@cyanogenmod.com>2012-09-22 14:02:16 +0200
commit2489007e7d740ccbc3e0a202914e243ad5178787 (patch)
treeb8e6380ea7b1da63474ad68a5dba997e01146043 /drivers/video/samsung_duallcd/mdnie_table.h
parent5f67568eb31e3a813c7c52461dcf66ade15fc2e7 (diff)
downloadkernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.zip
kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.gz
kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.bz2
merge opensource jb u5
Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2
Diffstat (limited to 'drivers/video/samsung_duallcd/mdnie_table.h')
-rw-r--r--drivers/video/samsung_duallcd/mdnie_table.h217
1 files changed, 217 insertions, 0 deletions
diff --git a/drivers/video/samsung_duallcd/mdnie_table.h b/drivers/video/samsung_duallcd/mdnie_table.h
new file mode 100644
index 0000000..f52b662
--- /dev/null
+++ b/drivers/video/samsung_duallcd/mdnie_table.h
@@ -0,0 +1,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__ */