VMRDeinterlacePrefs 枚举 (strmif.h)

[与此页面关联的功能 DirectShow 是旧版功能。 它已被 MediaPlayerIMFMediaEngineMedia Foundation 中的音频/视频捕获所取代。 这些功能已针对Windows 10和Windows 11进行了优化。 Microsoft 强烈建议新代码尽可能在 Media Foundation 中使用 MediaPlayerIMFMediaEngine音频/视频捕获 ,而不是 DirectShow。 如果可能,Microsoft 建议重写使用旧 API 的现有代码以使用新 API。]

如果无法使用应用程序设置的方法, VMRDeinterlacePrefs 枚举类型描述 视频混合呈现器筛选器 7 (VMR-7) 使用的去隔行方法。

语法

typedef enum VMRDeinterlacePrefs {
  DeinterlacePref_NextBest = 0x1,
  DeinterlacePref_BOB = 0x2,
  DeinterlacePref_Weave = 0x4,
  DeinterlacePref_Mask = 0x7
} ;

常量

 
DeinterlacePref_NextBest
值: 0x1
使用驱动程序提供的下一个最佳模式。
DeinterlacePref_BOB
值: 0x2
使用 bob 方法。
DeinterlacePref_Weave
值: 0x4
使用 weave 方法 (即,没有反隔行) 。
DeinterlacePref_Mask
值: 0x7
前面标志的按位 OR 。 此值不是有效的标志。

要求

   
标头 strmif.h (包括 Dshow.h)

另请参阅

DirectShow 枚举类型

IVMRDeinterlaceControl 接口