mdss_video_enhance.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 _MDP4_VIDEO_ENHANCE_H_
  19. #define _MDP4_VIDEO_ENHANCE_H_
  20. #define BROWSER_COLOR_TONE_SET
  21. #define SIG_MDNIE_UI_MODE 0
  22. #define SIG_MDNIE_VIDEO_MODE 1
  23. /*#define SIG_MDNIE_VIDEO_WARM_MODE 2*/
  24. /*#define SIG_MDNIE_VIDEO_COLD_MODE 3*/
  25. #define SIG_MDNIE_CAMERA_MODE 4
  26. #define SIG_MDNIE_NAVI 5
  27. #define SIG_MDNIE_GALLERY 6
  28. #define SIG_MDNIE_VT 7
  29. #define SIG_MDNIE_BYPASS 8
  30. #define SIG_MDNIE_DYNAMIC 0
  31. #define SIG_MDNIE_STANDARD 1
  32. #define SIG_MDNIE_MOVIE 2
  33. /*#if defined(CONFIG_TDMB) || defined(CONFIG_TDMB_MODULE)*/
  34. #define SIG_MDNIE_DMB_MODE 20
  35. /*#define SIG_MDNIE_DMB_WARM_MODE 21
  36. #define SIG_MDNIE_DMB_COLD_MODE 22
  37. #endif*/
  38. #ifdef CONFIG_TARGET_LOCALE_NTT
  39. #define SIG_MDNIE_ISDBT_MODE 30
  40. #define SIG_MDNIE_ISDBT_WARM_MODE 31
  41. #define SIG_MDNIE_ISDBT_COLD_MODE 32
  42. #endif
  43. #ifdef BROWSER_COLOR_TONE_SET
  44. #define SIG_MDNIE_BROWSER_TONE1 40
  45. #define SIG_MDNIE_BROWSER_TONE2 41
  46. #define SIG_MDNIE_BROWSER_TONE3 42
  47. #endif
  48. void init_mdnie_class(void);
  49. void lut_tune(int num, unsigned int *pLutTable);
  50. void sharpness_tune(int num);
  51. int is_negative_on(void);//is_negative_on
  52. int s3c_mdnie_start(void);
  53. int s3c_mdnie_off(void);
  54. #endif /*_MDP4_VIDEO_ENHANCE_H_*/