Class GLSepiaVideoEffect
- Namespace
- VisioForge.Core.Types.X.OpenGL
- Assembly
- VisioForge.Core.dll
Applies hardware-accelerated sepia tone color grading effect to video frames using OpenGL/OpenGL ES shaders. This effect transforms video colors to warm brown tones reminiscent of vintage photographs from the 19th and early 20th centuries.
public class GLSepiaVideoEffect : GLBaseVideoEffectInheritance
Inherited Members
Remarks
SDK Availability: Available in: VideoCaptureCoreX, MediaPlayerCoreX, Media Blocks SDK (Cross-platform)
Platform Support: Windows, Linux, macOS, Android, iOS (OpenGL ES)
OpenGL Acceleration: This effect is fully GPU-accelerated using OpenGL 3.0+ on desktop platforms and OpenGL ES 2.0+ on mobile devices. The sepia transformation is implemented as a fragment shader that applies a color matrix to each pixel, converting RGB values to sepia tones using industry-standard coefficients. All processing occurs on the GPU with no CPU involvement, enabling real-time color grading at any resolution.
Effect Description: The sepia effect transforms the original video colors into warm brown tones by applying a specific color transformation matrix. This creates a nostalgic, vintage appearance similar to old photographs. The effect desaturates the image and applies brown-yellow tones, reducing the color range to warm earth tones. The transformation preserves the luminance relationships in the original image while shifting the color palette to sepia brown. Unlike simple desaturation, the sepia effect adds warmth and character to the image, creating an aged, timeless aesthetic.
Use Cases:
- Vintage and retro-style video content creation for artistic projects
- Nostalgic storytelling and period piece video production
- Wedding and event videography with classic, timeless aesthetics
- Historical documentaries and archival footage simulation
- Social media content with vintage filters and retro appeal
- Music videos and artistic productions requiring warm, aged visual style
Performance Characteristics: This effect has negligible performance impact as it runs entirely on the GPU. Typical overhead is less than 0.5ms per frame on modern hardware. The sepia transformation is a simple per-pixel color matrix operation, making it one of the most efficient color grading effects. Performance is independent of resolution complexity and remains real-time capable even at 8K resolutions on modern GPUs. The effect requires no CPU-GPU synchronization and adds virtually no latency to the video pipeline. On mobile devices with OpenGL ES, performance is excellent across all supported resolutions with no observable impact on frame rate.
Constructors
GLSepiaVideoEffect()
Initializes a new instance of the VisioForge.Core.Types.X.OpenGL.GLSepiaVideoEffect class.
public GLSepiaVideoEffect()