mdnie_lite_tuning_chagall.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /* Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. *
  12. * You should have received a copy of the GNU General Public License
  13. * along with this program; if not, write to the Free Software
  14. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  15. * 02110-1301, USA.
  16. *
  17. */
  18. #ifndef _MDNIE_LITE_TUNING_CHAGALL_H_
  19. #define _MDNIE_LITE_TUNING_CHAGALL_H_
  20. #include "mdss_samsung_dual_oled_cmd_wqxga_panel.h"
  21. enum SCENARIO {
  22. mDNIe_UI_MODE,
  23. mDNIe_VIDEO_MODE,
  24. mDNIe_VIDEO_WARM_MODE,
  25. mDNIe_VIDEO_COLD_MODE,
  26. mDNIe_CAMERA_MODE,
  27. mDNIe_NAVI,
  28. mDNIe_GALLERY,
  29. mDNIe_VT_MODE,
  30. mDNIe_BROWSER_MODE,
  31. mDNIe_eBOOK_MODE,
  32. mDNIe_EMAIL_MODE,
  33. #if defined(CONFIG_TDMB)
  34. mDNIe_DMB_MODE = 20,
  35. mDNIe_DMB_WARM_MODE,
  36. mDNIe_DMB_COLD_MODE,
  37. #endif
  38. MAX_mDNIe_MODE,
  39. #ifdef BROWSER_COLOR_TONE_SET
  40. mDNIe_BROWSER_TONE1 = 40,
  41. mDNIe_BROWSER_TONE2,
  42. mDNIe_BROWSER_TONE3,
  43. #endif
  44. };
  45. enum BACKGROUND {
  46. DYNAMIC_MODE = 0,
  47. STANDARD_MODE,
  48. MOVIE_MODE,
  49. NATURAL_MODE,
  50. AUTO_MODE,
  51. MAX_BACKGROUND_MODE,
  52. };
  53. enum OUTDOOR {
  54. OUTDOOR_OFF_MODE = 0,
  55. OUTDOOR_ON_MODE,
  56. MAX_OUTDOOR_MODE,
  57. };
  58. enum ACCESSIBILITY {
  59. ACCESSIBILITY_OFF,
  60. NEGATIVE,
  61. COLOR_BLIND,
  62. SCREEN_CURTAIN,
  63. ACCESSIBILITY_MAX,
  64. };
  65. #if defined(CONFIG_TDMB)
  66. enum DMB {
  67. DMB_MODE_OFF = -1,
  68. DMB_MODE,
  69. DMB_WARM_MODE,
  70. DMB_COLD_MODE,
  71. MAX_DMB_MODE,
  72. };
  73. #endif
  74. struct mdnie_lite_tun_type {
  75. bool mdnie_enable;
  76. enum SCENARIO scenario;
  77. enum BACKGROUND background;
  78. enum OUTDOOR outdoor;
  79. enum ACCESSIBILITY accessibility;
  80. #if defined(CONFIG_TDMB)
  81. enum DMB dmb;
  82. #endif
  83. int scr_white_red;
  84. int scr_white_green;
  85. int scr_white_blue;
  86. };
  87. void mdnie_lite_tuning_init(struct mipi_samsung_driver_data *msd);
  88. void init_mdnie_class(void);
  89. void is_negative_on(void);
  90. void coordinate_tunning(int x, int y);
  91. void mDNIe_Set_Mode(void);
  92. #endif /*_MDNIE_LITE_TUNING_H_*/