Class GLBlurVideoEffect
- Namespace
- VisioForge.Core.Types.X.OpenGL
- Assembly
- VisioForge.Core.dll
Applies a GPU-accelerated blur effect to video frames using OpenGL shaders. This effect softens the video image by averaging pixel values with their neighbors, creating a smooth, out-of-focus appearance.
public class GLBlurVideoEffect : 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 for real-time processing with minimal CPU overhead. The blur operation is performed entirely on the GPU, making it suitable for high-resolution video streams.
Effect Description: The blur effect applies a convolution filter that smooths the image by averaging each pixel with surrounding pixels. This creates a soft-focus appearance by reducing detail and noise in the video.
Use Cases:
- Privacy protection - obscuring sensitive information or faces in video streams
- Background softening for video conferencing or presentations
- Aesthetic effects for creative video production
- Noise reduction in low-light or compressed video
- Depth-of-field simulation in post-processing
- Transition effects between video scenes
Performance: Highly optimized for real-time processing on GPU. Performance impact depends on video resolution and GPU capabilities, but typically adds less than 1-2ms per frame on modern hardware.
Constructors
GLBlurVideoEffect()
Initializes a new instance of the VisioForge.Core.Types.X.OpenGL.GLBlurVideoEffect class. Creates a blur effect with default settings for GPU-accelerated video processing.
public GLBlurVideoEffect()