Share via


VMR9DeinterlaceTech Enumeration

 
Microsoft DirectShow 9.0

VMR9DeinterlaceTech Enumeration

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 {
    DeinterlaceTech9_Unknown             = 0x0000,
    DeinterlaceTech9_BOBLineReplicate    = 0x0001,
    DeinterlaceTech9_BOBVerticalStretch  = 0x0002,
    DeinterlaceTech9_MedianFiltering     = 0x0004,
    DeinterlaceTech9_EdgeFiltering       = 0x0010,
    DeinterlaceTech9_FieldAdaptive       = 0x0020,
    DeinterlaceTech9_PixelAdaptive       = 0x0040,
    DeinterlaceTech9_MotionVectorSteered = 0x0080
} VMR9DeinterlacePrefs;

Members

DeinterlaceTech9_Unknown

The algorithm is unknown or proprietary.

DeinterlaceTech9_BOBLineReplicate

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

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

The algorithm uses median filtering to recreate the pixels in the missing lines.

DeinterlaceTech9_EdgeFiltering

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

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

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

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

  Header: Vmr9.h

See Also