gstgl.glcolor_convert

Module for [GLColorConvert] class

Types 3

#GstGLColorConvert is an object that converts between color spaces and/or formats using OpenGL Shaders.

A #GstGLColorConvert can be created with gstgl.glcolor_convert.GLColorConvert.new_, the configuration negotiated with gstgl.glcolor_convert.GLColorConvert.transformCaps and the conversion performed with gstgl.glcolor_convert.GLColorConvert.perform.

The glcolorconvertelement provides a GStreamer element that uses #GstGLColorConvert to convert between video formats and color spaces.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
GLColorConvert self() nothrowReturns `this`, for use in `with` statements.
GLColorConvertGidBuilder builder() static nothrowGet builder for [gstgl.glcolor_convert.GLColorConvert] Returns: New builder object
gst.caps.Caps fixateCaps(gstgl.glcontext.GLContext context, gst.types.PadDirection direction, gst.caps.Caps caps, gst.caps.Caps other) static nothrowProvides an implementation of #GstBaseTransformClass.fixate_caps()
string swizzleShaderString(gstgl.glcontext.GLContext context) static nothrow
gst.caps.Caps transformCaps(gstgl.glcontext.GLContext context, gst.types.PadDirection direction, gst.caps.Caps caps, gst.caps.Caps filter) static nothrowProvides an implementation of #GstBaseTransformClass.transform_caps()
string yuvToRgbShaderString(gstgl.glcontext.GLContext context) static nothrowThe returned glsl function has declaration:
bool decideAllocation(gst.query.Query query) nothrowProvides an implementation of #GstBaseTransformClass.decide_allocation()
gst.buffer.Buffer perform(gst.buffer.Buffer inbuf) nothrowConverts the data contained by inbuf using the formats specified by the #GstCaps passed to [gstgl.glcolor_convert.GLColorConvert.setCaps]
bool setCaps(gst.caps.Caps inCaps, gst.caps.Caps outCaps) nothrowInitializes convert with the information required for conversion.
Constructors
this(void * ptr, Flag!"Take" take)
Methods
GLColorConvert build() nothrowCreate object from builder. Returns: New object