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.

106 lines
4.6 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 __CODPROP_H
  12. #define __CODPROP_H
  13. // ------------------------------------------------------------------------
  14. // Property set for
  15. // ------------------------------------------------------------------------
  16. DEFINE_KSPROPERTY_TABLE(DefaultCodecProperties)
  17. {
  18. DEFINE_KSPROPERTY_ITEM
  19. (
  20. KSPROPERTY_VBICODECFILTERING_SCANLINES_REQUESTED_BIT_ARRAY,
  21. TRUE, // GetSupported or Handler
  22. sizeof(KSPROPERTY), // MinProperty
  23. sizeof(VBICODECFILTERING_SCANLINES), // MinData
  24. TRUE, // SetSupported or Handler
  25. NULL, // Values
  26. 0, // RelationsCount
  27. NULL, // Relations
  28. NULL, // SupportHandler
  29. 0, // SerializedSize
  30. ),
  31. DEFINE_KSPROPERTY_ITEM
  32. (
  33. KSPROPERTY_VBICODECFILTERING_SCANLINES_DISCOVERED_BIT_ARRAY,
  34. TRUE, // GetSupported or Handler
  35. sizeof(KSPROPERTY), // MinProperty
  36. sizeof(VBICODECFILTERING_SCANLINES), // MinData
  37. FALSE, // SetSupported or Handler
  38. NULL, // Values
  39. 0, // RelationsCount
  40. NULL, // Relations
  41. NULL, // SupportHandler
  42. 0, // SerializedSize
  43. ),
  44. DEFINE_KSPROPERTY_ITEM
  45. (
  46. KSPROPERTY_VBICODECFILTERING_SUBSTREAMS_REQUESTED_BIT_ARRAY,
  47. TRUE, // GetSupported or Handler
  48. sizeof(KSPROPERTY), // MinProperty
  49. sizeof(VBICODECFILTERING_CC_SUBSTREAMS),// MinData
  50. TRUE, // SetSupported or Handler
  51. NULL, // Values
  52. 0, // RelationsCount
  53. NULL, // Relations
  54. NULL, // SupportHandler
  55. 0, // SerializedSize
  56. ),
  57. DEFINE_KSPROPERTY_ITEM
  58. (
  59. KSPROPERTY_VBICODECFILTERING_SUBSTREAMS_DISCOVERED_BIT_ARRAY,
  60. TRUE, // GetSupported or Handler
  61. sizeof(KSPROPERTY), // MinProperty
  62. sizeof(VBICODECFILTERING_CC_SUBSTREAMS),// MinData
  63. FALSE, // SetSupported or Handler
  64. NULL, // Values
  65. 0, // RelationsCount
  66. NULL, // Relations
  67. NULL, // SupportHandler
  68. 0, // SerializedSize
  69. ),
  70. DEFINE_KSPROPERTY_ITEM
  71. (
  72. KSPROPERTY_VBICODECFILTERING_STATISTICS,
  73. TRUE, // GetSupported or Handler
  74. sizeof(KSPROPERTY), // MinProperty
  75. sizeof(VBICODECFILTERING_STATISTICS_CC),// MinData
  76. TRUE, // SetSupported or Handler
  77. NULL, // Values
  78. 0, // RelationsCount
  79. NULL, // Relations
  80. NULL, // SupportHandler
  81. 0, // SerializedSize
  82. ),
  83. };
  84. // ------------------------------------------------------------------------
  85. // Array of all of the property sets supported by the codec
  86. // ------------------------------------------------------------------------
  87. DEFINE_KSPROPERTY_SET_TABLE(CodecPropertyTable)
  88. {
  89. DEFINE_KSPROPERTY_SET
  90. (
  91. &KSPROPSETID_VBICodecFiltering,
  92. SIZEOF_ARRAY(DefaultCodecProperties),
  93. DefaultCodecProperties,
  94. 0,
  95. NULL,
  96. ),
  97. };
  98. #define NUMBER_OF_CODEC_PROPERTY_SETS (SIZEOF_ARRAY (CodecPropertyTable))
  99. #endif // __CODPROP_H