GstGLViewConvert
Convert stereoscopic/multiview video using fragment shaders.
GstGLViewConvert
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstGLViewConvert
GstGLViewConvert is an opaque struct and should only be accessed through the provided api.
Members
object
(GstObject)
–
context
(GstGLContext *)
–
shader
(GstGLShader *)
–
input_mode_override
(GstVideoMultiviewMode)
–
input_flags_override
(GstVideoMultiviewFlags)
–
output_mode_override
(GstVideoMultiviewMode)
–
output_flags_override
(GstVideoMultiviewFlags)
–
downmix_mode
(GstGLStereoDownmix)
–
in_info
(GstVideoInfo)
–
out_info
(GstVideoInfo)
–
from_texture_target
(GstGLTextureTarget)
–
to_texture_target
(GstGLTextureTarget)
–
caps_passthrough
(gboolean)
–
initted
(gboolean)
–
reconfigure
(gboolean)
–
fbo
(GstGLFramebuffer *)
–
Class structure
GstGL.GLViewConvert
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──GstGL.GLViewConvert
GstGL.GLViewConvert is an opaque struct and should only be accessed through the provided api.
Members
object
(Gst.Object)
–
context
(GstGL.GLContext)
–
shader
(GstGL.GLShader)
–
input_mode_override
(GstVideo.VideoMultiviewMode)
–
input_flags_override
(GstVideo.VideoMultiviewFlags)
–
output_mode_override
(GstVideo.VideoMultiviewMode)
–
output_flags_override
(GstVideo.VideoMultiviewFlags)
–
downmix_mode
(GstGL.GLStereoDownmix)
–
in_info
(GstVideo.VideoInfo)
–
out_info
(GstVideo.VideoInfo)
–
from_texture_target
(GstGL.GLTextureTarget)
–
to_texture_target
(GstGL.GLTextureTarget)
–
caps_passthrough
(Number)
–
initted
(Number)
–
reconfigure
(Number)
–
fbo
(GstGL.GLFramebuffer)
–
GstGL.GLViewConvert
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──GstGL.GLViewConvert
GstGL.GLViewConvert is an opaque struct and should only be accessed through the provided api.
Members
object
(Gst.Object)
–
context
(GstGL.GLContext)
–
shader
(GstGL.GLShader)
–
input_mode_override
(GstVideo.VideoMultiviewMode)
–
input_flags_override
(GstVideo.VideoMultiviewFlags)
–
output_mode_override
(GstVideo.VideoMultiviewMode)
–
output_flags_override
(GstVideo.VideoMultiviewFlags)
–
downmix_mode
(GstGL.GLStereoDownmix)
–
in_info
(GstVideo.VideoInfo)
–
out_info
(GstVideo.VideoInfo)
–
from_texture_target
(GstGL.GLTextureTarget)
–
to_texture_target
(GstGL.GLTextureTarget)
–
caps_passthrough
(bool)
–
initted
(bool)
–
reconfigure
(bool)
–
fbo
(GstGL.GLFramebuffer)
–
Constructors
gst_gl_view_convert_new
GstGLViewConvert * gst_gl_view_convert_new ()
a new GstGLViewConvert
Since : 1.6
GstGL.GLViewConvert.prototype.new
function GstGL.GLViewConvert.prototype.new(): {
// javascript wrapper for 'gst_gl_view_convert_new'
}
a new GstGL.GLViewConvert
Since : 1.6
GstGL.GLViewConvert.new
def GstGL.GLViewConvert.new ():
#python wrapper for 'gst_gl_view_convert_new'
a new GstGL.GLViewConvert
Since : 1.6
Methods
gst_gl_view_convert_fixate_caps
GstCaps * gst_gl_view_convert_fixate_caps (GstGLViewConvert * viewconvert, GstPadDirection direction, GstCaps * caps, GstCaps * othercaps)
Provides an implementation of fixate_caps()
Parameters:
viewconvert
–
direction
–
caps
(
[transfer: none])
–
the GstCaps of direction
othercaps
(
[transfer: full])
–
the GstCaps to fixate
the fixated GstCaps
Since : 1.6
GstGL.GLViewConvert.prototype.fixate_caps
function GstGL.GLViewConvert.prototype.fixate_caps(direction: Gst.PadDirection, caps: Gst.Caps, othercaps: Gst.Caps): {
// javascript wrapper for 'gst_gl_view_convert_fixate_caps'
}
Provides an implementation of vfunc_fixate_caps()
Parameters:
Since : 1.6
GstGL.GLViewConvert.fixate_caps
def GstGL.GLViewConvert.fixate_caps (self, direction, caps, othercaps):
#python wrapper for 'gst_gl_view_convert_fixate_caps'
Provides an implementation of do_fixate_caps()
Parameters:
Since : 1.6
gst_gl_view_convert_get_output
GstFlowReturn gst_gl_view_convert_get_output (GstGLViewConvert * viewconvert, GstBuffer ** outbuf_ptr)
Retrieve the processed output buffer placing the output in outbuf_ptr.
Since : 1.6
GstGL.GLViewConvert.prototype.get_output
function GstGL.GLViewConvert.prototype.get_output(): {
// javascript wrapper for 'gst_gl_view_convert_get_output'
}
Retrieve the processed output buffer placing the output in outbuf_ptr.
Parameters:
Returns a tuple made of:
Since : 1.6
GstGL.GLViewConvert.get_output
def GstGL.GLViewConvert.get_output (self):
#python wrapper for 'gst_gl_view_convert_get_output'
Retrieve the processed output buffer placing the output in outbuf_ptr.
Parameters:
Returns a tuple made of:
Since : 1.6
gst_gl_view_convert_perform
GstBuffer * gst_gl_view_convert_perform (GstGLViewConvert * viewconvert, GstBuffer * inbuf)
Converts the data contained by inbuf using the formats specified by the GstCaps passed to gst_gl_view_convert_set_caps
Since : 1.6
GstGL.GLViewConvert.prototype.perform
function GstGL.GLViewConvert.prototype.perform(inbuf: Gst.Buffer): {
// javascript wrapper for 'gst_gl_view_convert_perform'
}
Converts the data contained by inbuf using the formats specified by the Gst.Caps passed to GstGL.GLViewConvert.prototype.set_caps
a converted Gst.Buffer or null
Since : 1.6
GstGL.GLViewConvert.perform
def GstGL.GLViewConvert.perform (self, inbuf):
#python wrapper for 'gst_gl_view_convert_perform'
Converts the data contained by inbuf using the formats specified by the Gst.Caps passed to GstGL.GLViewConvert.set_caps
a converted Gst.Buffer or None
Since : 1.6
gst_gl_view_convert_reset
gst_gl_view_convert_reset (GstGLViewConvert * viewconvert)
Reset viewconvert to the default state. Further operation will require setting the caps with gst_gl_view_convert_set_caps.
Parameters:
viewconvert
–
Since : 1.6
GstGL.GLViewConvert.prototype.reset
function GstGL.GLViewConvert.prototype.reset(): {
// javascript wrapper for 'gst_gl_view_convert_reset'
}
Reset viewconvert to the default state. Further operation will require setting the caps with GstGL.GLViewConvert.prototype.set_caps.
Parameters:
Since : 1.6
GstGL.GLViewConvert.reset
def GstGL.GLViewConvert.reset (self):
#python wrapper for 'gst_gl_view_convert_reset'
Reset viewconvert to the default state. Further operation will require setting the caps with GstGL.GLViewConvert.set_caps.
Parameters:
Since : 1.6
gst_gl_view_convert_set_caps
gboolean gst_gl_view_convert_set_caps (GstGLViewConvert * viewconvert, GstCaps * in_caps, GstCaps * out_caps)
Initializes viewconvert with the information required for conversion.
Since : 1.6
GstGL.GLViewConvert.prototype.set_caps
function GstGL.GLViewConvert.prototype.set_caps(in_caps: Gst.Caps, out_caps: Gst.Caps): {
// javascript wrapper for 'gst_gl_view_convert_set_caps'
}
Initializes viewconvert with the information required for conversion.
Parameters:
Since : 1.6
GstGL.GLViewConvert.set_caps
def GstGL.GLViewConvert.set_caps (self, in_caps, out_caps):
#python wrapper for 'gst_gl_view_convert_set_caps'
Initializes viewconvert with the information required for conversion.
Parameters:
Since : 1.6
gst_gl_view_convert_set_context
gst_gl_view_convert_set_context (GstGLViewConvert * viewconvert, GstGLContext * context)
Set context on viewconvert
Since : 1.6
GstGL.GLViewConvert.prototype.set_context
function GstGL.GLViewConvert.prototype.set_context(context: GstGL.GLContext): {
// javascript wrapper for 'gst_gl_view_convert_set_context'
}
Set context on viewconvert
Since : 1.6
GstGL.GLViewConvert.set_context
def GstGL.GLViewConvert.set_context (self, context):
#python wrapper for 'gst_gl_view_convert_set_context'
Set context on viewconvert
Since : 1.6
gst_gl_view_convert_submit_input_buffer
GstFlowReturn gst_gl_view_convert_submit_input_buffer (GstGLViewConvert * viewconvert, gboolean is_discont, GstBuffer * input)
Submit input to be processed by viewconvert
Parameters:
viewconvert
–
is_discont
–
true if we have a discontinuity
input
(
[transfer: full])
–
Since : 1.6
GstGL.GLViewConvert.prototype.submit_input_buffer
function GstGL.GLViewConvert.prototype.submit_input_buffer(is_discont: Number, input: Gst.Buffer): {
// javascript wrapper for 'gst_gl_view_convert_submit_input_buffer'
}
Submit input to be processed by viewconvert
Parameters:
true if we have a discontinuity
Since : 1.6
GstGL.GLViewConvert.submit_input_buffer
def GstGL.GLViewConvert.submit_input_buffer (self, is_discont, input):
#python wrapper for 'gst_gl_view_convert_submit_input_buffer'
Submit input to be processed by viewconvert
Parameters:
true if we have a discontinuity
Since : 1.6
gst_gl_view_convert_transform_caps
GstCaps * gst_gl_view_convert_transform_caps (GstGLViewConvert * viewconvert, GstPadDirection direction, GstCaps * caps, GstCaps * filter)
Provides an implementation of transform_caps()
Parameters:
viewconvert
–
direction
–
caps
(
[transfer: none])
–
the GstCaps to transform
filter
(
[transfer: none])
–
a set of filter GstCaps
the converted GstCaps
Since : 1.6
GstGL.GLViewConvert.prototype.transform_caps
function GstGL.GLViewConvert.prototype.transform_caps(direction: Gst.PadDirection, caps: Gst.Caps, filter: Gst.Caps): {
// javascript wrapper for 'gst_gl_view_convert_transform_caps'
}
Provides an implementation of vfunc_transform_caps()
Parameters:
Since : 1.6
GstGL.GLViewConvert.transform_caps
def GstGL.GLViewConvert.transform_caps (self, direction, caps, filter):
#python wrapper for 'gst_gl_view_convert_transform_caps'
Provides an implementation of do_transform_caps()
Parameters:
Since : 1.6
Properties
input_flags_override
“self.props.input_flags_override” GstVideo.VideoMultiviewFlags
Flags : Read / Write
input_mode_override
“self.props.input_mode_override” GstVideo.VideoMultiviewMode
Flags : Read / Write
output_flags_override
“self.props.output_flags_override” GstVideo.VideoMultiviewFlags
Flags : Read / Write
output_mode_override
“self.props.output_mode_override” GstVideo.VideoMultiviewMode
Flags : Read / Write
Functions
gst_gl_stereo_downmix_mode_get_type
GType gst_gl_stereo_downmix_mode_get_type ()
GstGL.prototype.gl_stereo_downmix_mode_get_type
function GstGL.prototype.gl_stereo_downmix_mode_get_type(): {
// javascript wrapper for 'gst_gl_stereo_downmix_mode_get_type'
}
GstGL.gl_stereo_downmix_mode_get_type
def GstGL.gl_stereo_downmix_mode_get_type ():
#python wrapper for 'gst_gl_stereo_downmix_mode_get_type'
Enumerations
GstGLStereoDownmix
Output anaglyph type to generate when downmixing to mono
Members
GST_GL_STEREO_DOWNMIX_ANAGLYPH_GREEN_MAGENTA_DUBOIS
(0)
–
Dubois optimised Green-Magenta anaglyph
GST_GL_STEREO_DOWNMIX_ANAGLYPH_RED_CYAN_DUBOIS
(1)
–
Dubois optimised Red-Cyan anaglyph
GST_GL_STEREO_DOWNMIX_ANAGLYPH_AMBER_BLUE_DUBOIS
(2)
–
Dubois optimised Amber-Blue anaglyph
GstGL.GLStereoDownmix
Output anaglyph type to generate when downmixing to mono
Members
GstGL.GLStereoDownmix.GREEN_MAGENTA_DUBOIS
(0)
–
Dubois optimised Green-Magenta anaglyph
GstGL.GLStereoDownmix.RED_CYAN_DUBOIS
(1)
–
Dubois optimised Red-Cyan anaglyph
GstGL.GLStereoDownmix.AMBER_BLUE_DUBOIS
(2)
–
Dubois optimised Amber-Blue anaglyph
GstGL.GLStereoDownmix
Output anaglyph type to generate when downmixing to mono
Members
GstGL.GLStereoDownmix.GREEN_MAGENTA_DUBOIS
(0)
–
Dubois optimised Green-Magenta anaglyph
GstGL.GLStereoDownmix.RED_CYAN_DUBOIS
(1)
–
Dubois optimised Red-Cyan anaglyph
GstGL.GLStereoDownmix.AMBER_BLUE_DUBOIS
(2)
–
Dubois optimised Amber-Blue anaglyph
Constants
GST_TYPE_GL_STEREO_DOWNMIX_MODE_TYPE
#define GST_TYPE_GL_STEREO_DOWNMIX_MODE_TYPE GST_TYPE_GL_STEREO_DOWNMIX
The results of the search are