Class GLMirrorVideoEffect
- Namespace
- VisioForge.Core.Types.X.OpenGL
- Assembly
- VisioForge.Core.dll
Applies a GPU-accelerated mirror reflection effect to video frames using OpenGL shaders. This effect creates horizontal or vertical symmetry by reflecting portions of the video image along a center axis.
public class GLMirrorVideoEffect : 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 real-time geometric transformation entirely on the GPU. The mirroring operation uses optimized texture coordinate flipping for zero-copy processing.
Effect Description: The mirror effect splits the frame along a central axis (horizontal or vertical) and reflects one half onto the other, creating perfect bilateral symmetry. This can produce kaleidoscope-like or mandala patterns depending on the content, and can be applied horizontally (left-right reflection) or vertically (top-bottom reflection).
Use Cases:
- Artistic and psychedelic visual effects for music videos or live performances
- Creating symmetrical compositions for creative video production
- Video conferencing applications with mirrored self-view
- Educational demonstrations of symmetry and reflection concepts
- Special effects in gaming or interactive installations
- Correcting reversed video from certain cameras or capture devices
Performance: Extremely lightweight operation with negligible performance impact. The GPU-accelerated shader performs texture coordinate transformation without additional pixel processing, typically adding less than 0.5ms per frame. The effect has no dependency on frame content or complexity.
Constructors
GLMirrorVideoEffect()
Initializes a new instance of the VisioForge.Core.Types.X.OpenGL.GLMirrorVideoEffect class. Creates a mirror reflection effect for GPU-accelerated video processing.
public GLMirrorVideoEffect()