Source code of Windows XP (NT5)
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.

89 lines
3.2 KiB

  1. //==========================================================================;
  2. //
  3. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4. // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5. // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6. // PURPOSE.
  7. //
  8. // Copyright (c) 1992 - 1998 Microsoft Corporation. All Rights Reserved.
  9. //
  10. //==========================================================================;
  11. #ifndef __GEMSTAR_H
  12. #define __GEMSTAR_H
  13. #ifdef DEFINE_GUIDEX
  14. #undef DEFINE_GUIDEX
  15. #include <ksguid.h>
  16. #endif
  17. //
  18. // Gemstar subtype
  19. //
  20. #define STATIC_KSDATAFORMAT_SUBTYPE_Gemstar \
  21. 0xb7657a60L, 0xa305, 0x11d1, 0x8d, 0x0a, 0x00, 0x20, 0xaf, 0xf8, 0xd9, 0x6b
  22. DEFINE_GUIDSTRUCT("b7657a60-a305-11d1-8d0a-0020aff8d96b", KSDATAFORMAT_SUBTYPE_Gemstar);
  23. #define KSDATAFORMAT_SUBTYPE_Gemstar DEFINE_GUIDNAMED(KSDATAFORMAT_SUBTYPE_Gemstar)
  24. //
  25. // Gemstar output pin GUID
  26. //
  27. #define STATIC_PINNAME_VIDEO_GEMSTAR \
  28. 0xb68cc640, 0xa308, 0x11d1, 0x8d, 0x0a, 0x00, 0x20, 0xaf, 0xf8, 0xd9, 0x6b
  29. DEFINE_GUIDSTRUCT("b68cc640-a308-11d1-8d0a-0020aff8d96b", PINNAME_VIDEO_GEMSTAR);
  30. #define PINNAME_VIDEO_GEMSTAR DEFINE_GUIDNAMED(PINNAME_VIDEO_GEMSTAR)
  31. //
  32. // Substreams Bitmap
  33. //
  34. typedef struct _VBICODECFILTERING_GEMSTAR_SUBSTREAMS {
  35. DWORD SubstreamMask; // An array of 32 bits
  36. } VBICODECFILTERING_GEMSTAR_SUBSTREAMS, *PVBICODECFILTERING_GEMSTAR_SUBSTREAMS;
  37. typedef struct {
  38. KSPROPERTY Property;
  39. VBICODECFILTERING_GEMSTAR_SUBSTREAMS Substreams;
  40. } KSPROPERTY_VBICODECFILTERING_GEMSTAR_SUBSTREAMS_S, *PKSPROPERTY_VBICODECFILTERING_GEMSTAR_SUBSTREAMS_S;
  41. //
  42. // Statistics
  43. //
  44. typedef struct _VBICODECFILTERING_STATISTICS_GEMSTAR {
  45. VBICODECFILTERING_STATISTICS_COMMON Common; // Generic VBI statistics
  46. } VBICODECFILTERING_STATISTICS_GEMSTAR, *PVBICODECFILTERING_STATISTICS_GEMSTAR;
  47. typedef struct _VBICODECFILTERING_STATISTICS_GEMSTAR_PIN {
  48. VBICODECFILTERING_STATISTICS_COMMON_PIN Common;// Generic VBI pin statistics
  49. } VBICODECFILTERING_STATISTICS_GEMSTAR_PIN, *PVBICODECFILTERING_STATISTICS_GEMSTAR_PIN;
  50. typedef struct {
  51. KSPROPERTY Property;
  52. VBICODECFILTERING_STATISTICS_GEMSTAR Statistics;
  53. } KSPROPERTY_VBICODECFILTERING_STATISTICS_GEMSTAR_S, *PKSPROPERTY_VBICODECFILTERING_STATISTICS_GEMSTAR_S;
  54. typedef struct {
  55. KSPROPERTY Property;
  56. VBICODECFILTERING_STATISTICS_GEMSTAR_PIN Statistics;
  57. } KSPROPERTY_VBICODECFILTERING_STATISTICS_GEMSTAR_PIN_S, *PKSPROPERTY_VBICODECFILTERING_STATISTICS_GEMSTAR_PIN_S;
  58. #include <pshpack1.h>
  59. //
  60. // Structure passed to clients
  61. //
  62. typedef struct _GEMSTAR_BUFFER{
  63. USHORT Scanline; // As in the scanline number, not a mask
  64. USHORT Substream; // See KS_GEMSTAR_SUBSTREAM...
  65. USHORT DataLength[2]; // Number of decoded bytes array
  66. UCHAR Data[2][4]; // Payload array
  67. } GEMSTAR_BUFFER, *PGEMSTAR_BUFFER;
  68. #include <poppack.h>
  69. #define KS_GEMSTAR_SUBSTREAM_ODD 0x0001L
  70. #define KS_GEMSTAR_SUBSTREAM_EVEN 0x0002L
  71. #define KS_GEMSTAR_SUBSTREAM_BOTH 0x0003L
  72. #endif // __GEMSTAR_H