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.

81 lines
3.0 KiB

  1. // $Header: G:/SwDev/WDM/Video/bt848/rcs/Vbifmt.h 1.4 1998/04/29 22:43:41 tomz Exp $
  2. #ifndef __VBIFMT_H
  3. #define __VBIFMT_H
  4. #include "defaults.h"
  5. KS_DATARANGE_VIDEO_VBI StreamFormatVBI =
  6. {
  7. // KSDATARANGE
  8. {
  9. {
  10. sizeof( KS_DATARANGE_VIDEO_VBI ),
  11. 0,
  12. VBISamples * 12, // SampleSize
  13. 0, // Reserved
  14. { STATIC_KSDATAFORMAT_TYPE_VBI },
  15. { STATIC_KSDATAFORMAT_SUBTYPE_RAW8 },
  16. { STATIC_KSDATAFORMAT_SPECIFIER_VBI }
  17. }
  18. },
  19. true, // BOOL, bFixedSizeSamples (all samples same size?)
  20. true, // BOOL, bTemporalCompression (all I frames?)
  21. KS_VIDEOSTREAM_VBI, // StreamDescriptionFlags (KS_VIDEO_DESC_*)
  22. 0, // MemoryAllocationFlags (KS_VIDEO_ALLOC_*)
  23. // _KS_VIDEO_STREAM_CONFIG_CAPS
  24. {
  25. { STATIC_KSDATAFORMAT_SPECIFIER_VBI },
  26. KS_AnalogVideo_NTSC_M, // AnalogVideoStandard
  27. {
  28. VBISamples, VBILines // SIZE InputSize
  29. },
  30. {
  31. VBISamples, 12 // SIZE MinCroppingSize; smallest rcSrc cropping rect allowed
  32. },
  33. {
  34. VBISamples, 12 // SIZE MaxCroppingSize; largest rcSrc cropping rect allowed
  35. },
  36. 1, // int CropGranularityX; // granularity of cropping size
  37. 1, // int CropGranularityY;
  38. 1, // int CropAlignX; // alignment of cropping rect
  39. 1, // int CropAlignY;
  40. {
  41. VBISamples, 12 // SIZE MinOutputSize; // smallest bitmap stream can produce
  42. },
  43. {
  44. VBISamples, 12 // SIZE MaxOutputSize; // largest bitmap stream can produce
  45. },
  46. 1, // int OutputGranularityX; // granularity of output bitmap size
  47. 2, // int OutputGranularityY;
  48. 0, // StretchTapsX (0 no stretch, 1 pix dup, 2 interp...)
  49. 0, // StretchTapsY
  50. 0, // ShrinkTapsX
  51. 0, // ShrinkTapsY
  52. 333667, // LONGLONG MinFrameInterval; // 100 nS units
  53. 333667, // LONGLONG MaxFrameInterval;
  54. VBISamples * 30 * VBILines * 2 * 8, // LONG MinBitsPerSecond;
  55. VBISamples * 30 * VBILines * 2 * 8 // LONG MaxBitsPerSecond;
  56. },
  57. // KS_VBIINFOHEADER (default format)
  58. {
  59. VBIStart, // StartLine -- inclusive
  60. VBIEnd, // EndLine -- inclusive
  61. VBISampFreq, // SamplingFrequency
  62. 454, // MinLineStartTime; // (uS past HR LE) * 100
  63. 900, // MaxLineStartTime; // (uS past HR LE) * 100
  64. // empirically discovered
  65. 780, // ActualLineStartTime // (uS past HR LE) * 100
  66. 5902, // ActualLineEndTime; // (uS past HR LE) * 100
  67. KS_AnalogVideo_NTSC_M, // VideoStandard;
  68. VBISamples, // SamplesPerLine;
  69. VBISamples, // StrideInBytes;
  70. VBISamples * 12 // BufferSize;
  71. }
  72. };
  73. #endif