Поделиться через


VMR9DeinterlacePrefs enumeration (vmr9.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The VMR9DeinterlacePrefs enumeration type describes the deinterlacing method that the Video Mixing Renderer Filter 9 (VMR-9) uses if the method set by the application cannot be used.

Syntax

typedef enum __MIDL___MIDL_itf_vmr9_0000_0013_0001 {
  DeinterlacePref9_NextBest = 0x1,
  DeinterlacePref9_BOB = 0x2,
  DeinterlacePref9_Weave = 0x4,
  DeinterlacePref9_Mask = 0x7
} VMR9DeinterlacePrefs;

Constants

 
DeinterlacePref9_NextBest
Value: 0x1
Use the next best mode offered by the driver.
DeinterlacePref9_BOB
Value: 0x2
Use the bob method.
DeinterlacePref9_Weave
Value: 0x4
Use the weave method (that is, no deinterlacing).
DeinterlacePref9_Mask
Value: 0x7
Bitwise OR of the previous flags. This value is used internally by the VMR, and is not a valid flag.

Requirements

Requirement Value
Header vmr9.h

See also

DirectShow Enumerated Types

IVMRDeinterlaceControl9 Interface