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.

97 lines
2.3 KiB

  1. // $Header: G:/SwDev/WDM/Video/bt848/rcs/Viddefs.h 1.3 1998/04/29 22:43:42 tomz Exp $
  2. #ifndef __VIDDEFS_H
  3. #define __VIDDEFS_H
  4. /* Type: Connector
  5. * Purpose: Defines a video source
  6. */
  7. typedef enum { ConSVideo = 1, ConTuner, ConComposite } Connector;
  8. /* Type: State
  9. * Purpose: used to define on-off operations
  10. */
  11. typedef enum { Off, On } State;
  12. /* Type: Field
  13. * Purpose: defines fields
  14. */
  15. typedef enum { VF_Both, VF_Even, VF_Odd } VidField;
  16. /* Type: VideoFormat
  17. * Purpose: Used to define video format
  18. */
  19. typedef enum { VFormat_AutoDetect,
  20. VFormat_NTSC,
  21. VFormat_Reserved2,
  22. VFormat_PAL_BDGHI,
  23. VFormat_PAL_M,
  24. VFormat_PAL_N,
  25. VFormat_SECAM } VideoFormat;
  26. /* Type: LumaRange
  27. * Purpose: Used to define Luma Output Range
  28. */
  29. typedef enum { LumaNormal, LumaFull } LumaRange;
  30. /* Type: OutputRounding
  31. * Purpose: Controls the number of bits output
  32. */
  33. typedef enum { RND_Normal, RND_6Luma4Chroma, RND_7Luma5Chroma } OutputRounding;
  34. /* Type: ClampLevel
  35. * Purpose: Defines the clamp levels
  36. */
  37. typedef enum { ClampLow, ClampMiddle, ClampNormal, ClampHi } ClampLevel;
  38. /*
  39. * Type: Crystal
  40. * Purpose: Defines which crystal to use
  41. */
  42. typedef enum { Crystal_XT0 = 1, Crystal_XT1, Crystal_AutoSelect } Crystal;
  43. /*
  44. * Type: HoriFilter
  45. * Purpose: Defines horizontal low-pass filter
  46. */
  47. typedef enum { HFilter_AutoFormat,
  48. HFilter_CIF,
  49. HFilter_QCIF,
  50. HFilter_ICON } HorizFilter;
  51. /*
  52. * Type: CoringLevel
  53. * Purpose: Defines Luma coring level
  54. */
  55. typedef enum { Coring_None,
  56. Coring_8,
  57. Coring_16,
  58. Coring_32 } CoringLevel;
  59. /*
  60. * Type: ThreeState
  61. * Purpose: Defines output three-states for the OE pin
  62. */
  63. typedef enum { TS_Timing_Data,
  64. TS_Data,
  65. TS_Timing_Data_Clock,
  66. TS_Clock_Data } ThreeState;
  67. /*
  68. * Type: SCLoopGain
  69. * Purpose: Defines subcarrier loop gain
  70. */
  71. typedef enum { SC_Normal, SC_DivBy8, SC_DivBy16, SC_DivBy32 } SCLoopGain;
  72. /*
  73. * Type: ComparePt
  74. * Purpose: Defines the majority comparison point for the White Crush Up function
  75. */
  76. typedef enum { CompPt_3Q, CompPt_2Q, CompPt_1Q, CompPt_Auto } ComparePt;
  77. #endif // __VIDDEFS