cx25821-medusa-video.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Driver for the Conexant CX25821 PCIe bridge
  3. *
  4. * Copyright (C) 2009 Conexant Systems Inc.
  5. * Authors <shu.lin@conexant.com>, <hiep.huynh@conexant.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. *
  16. * GNU General Public License for more details.
  17. */
  18. #ifndef _MEDUSA_VIDEO_H
  19. #define _MEDUSA_VIDEO_H
  20. #include "cx25821-medusa-defines.h"
  21. /* Color control constants */
  22. #define VIDEO_PROCAMP_MIN 0
  23. #define VIDEO_PROCAMP_MAX 10000
  24. #define UNSIGNED_BYTE_MIN 0
  25. #define UNSIGNED_BYTE_MAX 0xFF
  26. #define SIGNED_BYTE_MIN -128
  27. #define SIGNED_BYTE_MAX 127
  28. /* Default video color settings */
  29. #define SHARPNESS_DEFAULT 50
  30. #define SATURATION_DEFAULT 5000
  31. #define BRIGHTNESS_DEFAULT 6200
  32. #define CONTRAST_DEFAULT 5000
  33. #define HUE_DEFAULT 5000
  34. #endif