| Top |  |  |  |  | 
GstGLColorConvert is an object that converts between color spaces and/or formats using OpenGL Shaders.
A GstGLColorConvert can be created with gst_gl_color_convert_new(), the
configuration negotiated with gst_gl_color_convert_transform_caps() and the
conversion performed with gst_gl_color_convert_perform().
The glcolorconvertelement provides a GStreamer element that uses GstGLColorConvert to convert between video formats and color spaces.
GstGLColorConvert *
gst_gl_color_convert_new (GstGLContext *context);
Since: 1.4
gboolean gst_gl_color_convert_set_caps (GstGLColorConvert *convert,GstCaps *in_caps,GstCaps *out_caps);
Initializes convert
 with the information required for conversion.
Since: 1.6
GstCaps * gst_gl_color_convert_transform_caps (GstGLContext *context,GstPadDirection direction,GstCaps *caps,GstCaps *filter);
Provides an implementation of GstBaseTransformClass.transform_caps()
| context | a GstGLContext to use for transforming  | |
| direction | ||
| caps | the GstCaps to transform. | [transfer none] | 
| filter | a set of filter GstCaps. | [transfer none] | 
Since: 1.6
GstCaps * gst_gl_color_convert_fixate_caps (GstGLContext *context,GstPadDirection direction,GstCaps *caps,GstCaps *other);
Provides an implementation of GstBaseTransformClass.fixate_caps()
| context | a GstGLContext to use for transforming  | |
| direction | ||
| caps | the GstCaps of  | [transfer none] | 
| other | the GstCaps to fixate. | [transfer full] | 
Since: 1.8
gboolean gst_gl_color_convert_decide_allocation (GstGLColorConvert *convert,GstQuery *query);
Provides an implementation of GstBaseTransformClass.decide_allocation()
Since: 1.8
GstBuffer * gst_gl_color_convert_perform (GstGLColorConvert *convert,GstBuffer *inbuf);
Converts the data contained by inbuf
 using the formats specified by the
GstCaps passed to gst_gl_color_convert_set_caps()
Since: 1.4
#define GST_GL_COLOR_CONVERT_FORMATS
The currently supported formats that can be converted
#define GST_GL_COLOR_CONVERT_VIDEO_CAPS
The currently supported GstCaps that can be converted
typedef struct _GstGLColorConvert GstGLColorConvert;
Opaque GstGLColorConvert object
typedef struct {
} GstGLColorConvertClass;
The GstGLColorConvertClass struct only contains private data