edp_tcon_mdnie.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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 _EDP_TCON_MDNIE_H_
  19. #define _EDP_TCON_MDNIE_H_
  20. #define NAME_STRING_MAX 30
  21. extern char mdnie_app_name[][NAME_STRING_MAX];
  22. extern char mdnie_mode_name[][NAME_STRING_MAX];
  23. enum BYPASS {
  24. BYPASS_DISABLE = 0,
  25. BYPASS_ENABLE,
  26. };
  27. enum APP {
  28. UI_APP = 0,
  29. VIDEO_APP,
  30. VIDEO_WARM_APP,
  31. VIDEO_COLD_APP,
  32. CAMERA_APP,
  33. NAVI_APP,
  34. GALLERY_APP,
  35. VT_APP,
  36. BROWSER_APP,
  37. eBOOK_APP,
  38. EMAIL_APP,
  39. MAX_APP_MODE,
  40. };
  41. enum MODE {
  42. DYNAMIC_MODE = 0,
  43. STANDARD_MODE,
  44. #if defined(NATURAL_MODE_ENABLE)
  45. NATURAL_MODE,
  46. #endif
  47. MOVIE_MODE,
  48. AUTO_MODE,
  49. MAX_MODE,
  50. };
  51. enum ACCESSIBILITY {
  52. ACCESSIBILITY_OFF = 0,
  53. NEGATIVE,
  54. COLOR_BLIND,
  55. ACCESSIBILITY_MAX,
  56. };
  57. struct mdnie_lite_tun_type {
  58. int mdnie_enable;
  59. enum BYPASS mdnie_bypass;
  60. enum BYPASS cabc_bypass;
  61. enum APP mdnie_app;
  62. enum MODE mdnie_mode;
  63. enum ACCESSIBILITY mdnie_accessibility;
  64. };
  65. extern int mdnie_tune_cmd(short *tune_data, int len);
  66. void init_mdnie_class(void);
  67. int update_mdnie_register(void);
  68. #endif /*_EDP_TCON_MDNIE_H_*/