Class GLDeinterlaceVideoEffect
- Namespace
- VisioForge.Core.Types.X.OpenGL
- Assembly
- VisioForge.Core.dll
Removes interlacing artifacts from video frames using GPU-accelerated OpenGL shaders. This effect converts interlaced video (alternating field lines) to progressive video by interpolating missing scan lines.
public class GLDeinterlaceVideoEffect : GLBaseVideoEffectInheritance
Inherited Members
Remarks
SDK Availability: Available in VideoCaptureCoreX, MediaPlayerCoreX, and Media Blocks SDK (Cross-platform)
Platform Support: Windows, Linux, macOS, Android, iOS (OpenGL ES)
GPU Acceleration: This effect uses hardware-accelerated OpenGL shaders to perform deinterlacing in real-time on the GPU. Multiple deinterlacing algorithms are supported, each optimized for different types of content.
Effect Description: Interlaced video consists of two fields (odd and even scan lines) captured at different times, which can cause visible combing artifacts during motion. This effect reconstructs missing lines using either simple vertical interpolation or advanced motion-adaptive algorithms to produce smooth progressive frames.
Use Cases:
- Converting legacy analog or broadcast video (PAL, NTSC, SECAM) to progressive format
- Processing captures from analog cameras or video capture cards
- Improving playback quality of interlaced content on progressive displays
- Video editing and post-production workflows requiring progressive footage
- Streaming applications where interlaced artifacts would be problematic
- Video archival and restoration projects
Performance: Performance depends on the selected deinterlacing method. VerticalBlur provides the fastest processing with minimal overhead (typically 1-2ms per frame), while MAAD (Motion Adaptive: Advanced Detection) offers better quality with slightly higher computational cost (typically 2-4ms per frame). Both methods are GPU-accelerated for real-time performance.
Constructors
GLDeinterlaceVideoEffect()
Initializes a new instance of the VisioForge.Core.Types.X.OpenGL.GLDeinterlaceVideoEffect class. Creates a deinterlacing effect with default vertical blur method for GPU-accelerated video processing.
public GLDeinterlaceVideoEffect()Properties
Method
Gets or sets the deinterlacing algorithm method to use for removing interlacing artifacts.
public GLDeinterlaceMethod Method { get; set; }