Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.3 KiB

  1. #pragma once
  2. //==========================================================================;
  3. //
  4. // Decoder specific constants
  5. //
  6. // $Date: 05 Aug 1998 11:31:52 $
  7. // $Revision: 1.0 $
  8. // $Author: Tashjian $
  9. //
  10. // $Copyright: (c) 1997 - 1998 ATI Technologies Inc. All Rights Reserved. $
  11. //
  12. //==========================================================================;
  13. #ifdef __cplusplus
  14. const int HueMin = -90;
  15. const int HueMax = 90;
  16. const int HueDef = 0;
  17. const int SatMinNTSC = 0;
  18. const int SatMaxNTSC = 0x1FF;
  19. const int SatDefNTSC = 0xFE;
  20. const int SatMinSECAM = 0;
  21. const int SatMaxSECAM = 0x1FF;
  22. const int SatDefSECAM = 0x87;
  23. const int ConMin = 0;
  24. const int ConMax = 236;
  25. const int ConDef = 100;
  26. const int BrtMin = -50;
  27. const int BrtMax = 50;
  28. const int BrtDef = 0;
  29. const int ParamMin = 0;
  30. const int ParamMax = 255;
  31. const int ParamDef = 128;
  32. #else
  33. #define HueMin -90
  34. #define HueMax 90
  35. #define HueDef 0
  36. #define SatMinNTSC 0
  37. #define SatMaxNTSC 0x1FF
  38. #define SatDefNTSC 0xFE
  39. #define SatMinSECAM 0
  40. #define SatMaxSECAM 0x1FF
  41. #define SatDefSECAM 0x87
  42. #define ConMin 0
  43. #define ConMax 236
  44. #define ConDef 100
  45. #define BrtMin -50
  46. #define BrtMax 50
  47. #define BrtDef 0
  48. #define ParamMin 0
  49. #define ParamMax 255
  50. #define ParamDef 128
  51. #endif