gldownload
gldownload — A from GL to video flow filter
|
|
Description
download opengl textures into video frames.
Color space conversion
When needed, the color space conversion is made in a fragment shader using
one frame buffer object instance.
Examples
A pipeline to test downloading.
No special opengl extension is used in this pipeline, that's why it should work
with OpenGL >= 1.1. That's the case if you are using the MESA3D driver v1.3.
A pipeline to test hardware scaling.
Frame buffer extension is required. Inded one FBO is used bettween glupload and gldownload,
because the texture needs to be resized.
A pipeline to test hardware colorspace conversion.
Your driver must support GLSL (OpenGL Shading Language needs OpenGL >= 2.1).
Texture RGB32 is converted to one of the 4 following format YUY2, UYVY, I420, YV12 and AYUV,
through some fragment shaders and using one framebuffer (FBO extension OpenGL >= 1.4).
MESA >= 7.1 supports GLSL but it's made in software.
A pipeline to test hardware colorspace conversion
FBO and GLSL are required.
Details
GstGLDownload
typedef struct _GstGLDownload GstGLDownload;