Table of Contents

Enum VideoRendererEVRDeinterlaceMode

Namespace
VisioForge.Core.Types
Assembly
VisioForge.Core.dll

Specifies the deinterlacing modes available for the Enhanced Video Renderer (EVR). Deinterlacing converts interlaced video (where each frame consists of two fields captured at different times) into progressive video (where each frame contains all lines of a single moment in time).

public enum VideoRendererEVRDeinterlaceMode

Fields

Auto = 0

The EVR automatically selects the best deinterlacing method based on the video content and available hardware capabilities. This is generally the recommended setting for optimal quality and performance.

ForceHalfInterlace = 1

Forces the EVR to skip the second field (in temporal order) of every interlaced frame. This results in half-resolution video but can be useful for very low-latency scenarios or when higher-quality deinterlacing is not needed or causes performance issues.

ForceBob = 2

Forces the EVR to use bob deinterlacing. Bob deinterlacing creates a full frame from each field by interpolating missing lines, resulting in smoother motion but potentially visible artifacts.

AllowDropToHalfInterlace = 3

Allows the EVR to drop to half-interlace mode if it is falling behind in rendering. This provides a fallback for performance, sacrificing quality for smoothness.

AllowDropToBob = 4

Allows the EVR to drop to bob deinterlacing if it is falling behind in rendering. This provides a fallback for performance, sacrificing some quality for smoother playback.

Remarks

Proper deinterlacing is crucial for displaying interlaced content (e.g., from broadcast TV, DVDs, or legacy cameras) on progressive displays (e.g., computer monitors, LCD TVs) without artifacts like combing or jagged edges. The choice of mode can impact visual quality and CPU/GPU usage significantly. Auto mode is generally recommended as it allows the EVR to intelligently select the best method based on content characteristics and hardware capabilities. Bob deinterlacing creates smoother motion but may introduce slight blurring as it interpolates missing lines. Half-interlace mode discards half the resolution but requires minimal processing, useful for low-power devices. The "AllowDrop" modes provide fallback strategies when system resources are constrained, preventing frame drops by reducing quality. Deinterlacing is only meaningful for interlaced source content - progressive content passes through unchanged.