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.

109 lines
2.7 KiB

  1. #pragma once
  2. //==========================================================================;
  3. //
  4. // Definitions for video settings.
  5. //
  6. // $Date: 21 Aug 1998 14:58:10 $
  7. // $Revision: 1.0 $
  8. // $Author: Tashjian $
  9. //
  10. // $Copyright: (c) 1997 - 1998 ATI Technologies Inc. All Rights Reserved. $
  11. //
  12. //==========================================================================;
  13. /* Type: Connector
  14. * Purpose: Defines a video source
  15. */
  16. typedef enum { ConComposite, ConTuner, ConSVideo } Connector;
  17. /* Type: State
  18. * Purpose: used to define on-off operations
  19. */
  20. typedef enum { Off, On } State;
  21. /* Type: Level
  22. * Purpose: used to define a pin state
  23. */
  24. //typedef enum { Low, Hi } Level;
  25. /* Type: Field
  26. * Purpose: defines fields
  27. */
  28. typedef enum { VF_Both, VF_Even, VF_Odd } VidField;
  29. /* Type: VideoFormat
  30. * Purpose: Used to define video format
  31. */
  32. typedef enum { VFormat_AutoDetect,
  33. VFormat_NTSC,
  34. VFormat_NTSC_J,
  35. VFormat_PAL_BDGHI,
  36. VFormat_PAL_M,
  37. VFormat_PAL_N,
  38. VFormat_SECAM,
  39. VFormat_PAL_N_COMB } VideoFormat;
  40. /* Type: LumaRange
  41. * Purpose: Used to define Luma Output Range
  42. */
  43. typedef enum { LumaNormal, LumaFull } LumaRange;
  44. /* Type: OutputRounding
  45. * Purpose: Controls the number of bits output
  46. */
  47. typedef enum { RND_Normal, RND_6Luma4Chroma, RND_7Luma5Chroma } OutputRounding;
  48. /* Type: ClampLevel
  49. * Purpose: Defines the clamp levels
  50. */
  51. typedef enum { ClampLow, ClampMiddle, ClampNormal, ClampHi } ClampLevel;
  52. /*
  53. * Type: Crystal
  54. * Purpose: Defines which crystal to use
  55. */
  56. typedef enum { Crystal_XT0 = 1, Crystal_XT1, Crystal_AutoSelect } Crystal;
  57. /*
  58. * Type: HoriFilter
  59. * Purpose: Defines horizontal low-pass filter
  60. */
  61. typedef enum { HFilter_AutoFormat,
  62. HFilter_CIF,
  63. HFilter_QCIF,
  64. HFilter_ICON } HorizFilter;
  65. /*
  66. * Type: CoringLevel
  67. * Purpose: Defines Luma coring level
  68. */
  69. typedef enum { Coring_None,
  70. Coring_8,
  71. Coring_16,
  72. Coring_32 } CoringLevel;
  73. /*
  74. * Type: ThreeState
  75. * Purpose: Defines output three-states for the OE pin
  76. */
  77. typedef enum { TS_Timing_Data,
  78. TS_Data,
  79. TS_Timing_Data_Clock,
  80. TS_Clock_Data } ThreeState;
  81. /*
  82. * Type: SCLoopGain
  83. * Purpose: Defines subcarrier loop gain
  84. */
  85. typedef enum { SC_Normal, SC_DivBy8, SC_DivBy16, SC_DivBy32 } SCLoopGain;
  86. /*
  87. * Type: ComparePt
  88. * Purpose: Defines the majority comparison point for the White Crush Up function
  89. */
  90. typedef enum { CompPt_3Q, CompPt_2Q, CompPt_1Q, CompPt_Auto } ComparePt;