次の方法で共有


VMR9DeinterlaceTech 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 VMR9DeinterlaceTech enumeration type describes the algorithm used for deinterlacing a video stream. The flags are not mutually exclusive; drivers can set a combination of flags.

Syntax

typedef enum __MIDL___MIDL_itf_vmr9_0000_0013_0002 {
  DeinterlaceTech9_Unknown = 0,
  DeinterlaceTech9_BOBLineReplicate = 0x1,
  DeinterlaceTech9_BOBVerticalStretch = 0x2,
  DeinterlaceTech9_MedianFiltering = 0x4,
  DeinterlaceTech9_EdgeFiltering = 0x10,
  DeinterlaceTech9_FieldAdaptive = 0x20,
  DeinterlaceTech9_PixelAdaptive = 0x40,
  DeinterlaceTech9_MotionVectorSteered = 0x80
} VMR9DeinterlaceTech;

Constants

 
DeinterlaceTech9_Unknown
Value: 0
The algorithm is unknown or proprietary.
DeinterlaceTech9_BOBLineReplicate
Value: 0x1
The algorithm creates each missing line by repeating the line above it or below it. This method creates jagged artifacts and is not recommended.
DeinterlaceTech9_BOBVerticalStretch
Value: 0x2
The algorithm creates the missing lines by vertically stretching each video field by a factor of two. For example, it might average two lines or use a (-1, 9, 9, -1)/16 filter across four lines. Slight vertical adjustments are made to ensure that the resulting image does not "bob" up and down
DeinterlaceTech9_MedianFiltering
Value: 0x4
The algorithm uses median filtering to recreate the pixels in the missing lines.
DeinterlaceTech9_EdgeFiltering
Value: 0x10
The algorithm uses an edge filter to create the missing lines. In this process, spatial directional filters are applied to determine the orientation of edges in the picture content. Missing pixels are created by filtering along (rather than across) the detected edges.
DeinterlaceTech9_FieldAdaptive
Value: 0x20
The algorithm uses spatial or temporal interpolation, switching between the two on a field-by-field basis, depending on the amount of motion.
DeinterlaceTech9_PixelAdaptive
Value: 0x40
The algorithm uses spatial or temporal interpolation, switching between the two on a pixel-by-pixel basis, depending on the amount of motion.
DeinterlaceTech9_MotionVectorSteered
Value: 0x80
The algorithm identifies objects within a sequence of video fields. Before it recreates the missing pixels, it aligns the movement axes of the individual objects in the scene to make them parallel with the time axis.

Requirements

Requirement Value
Header vmr9.h

See also

DirectShow Enumerated Types

VMR9DeinterlaceCaps Structure