GstGL.GLMixer

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gst.Element Gst.Element GstBase.Aggregator GstBase.Aggregator Gst.Element->GstBase.Aggregator Gst.Object->Gst.Element GstVideo.VideoAggregator GstVideo.VideoAggregator GstBase.Aggregator->GstVideo.VideoAggregator GstGL.GLBaseMixer GstGL.GLBaseMixer GstGL.GLMixer GstGL.GLMixer GstGL.GLBaseMixer->GstGL.GLMixer GstVideo.VideoAggregator->GstGL.GLBaseMixer

Subclasses:

None

Methods

Inherited:

GstGL.GLBaseMixer (1), GstVideo.VideoAggregator (1), GstBase.Aggregator (16), Gst.Element (82), Gst.Object (27), GObject.Object (37)

Structs:

GstGL.GLMixerClass (1), Gst.ElementClass (10), GObject.ObjectClass (5)

class

add_rgba_pad_templates ()

get_framebuffer ()

process_textures (outbuf)

Virtual Methods

Inherited:

GstGL.GLBaseMixer (2), GstVideo.VideoAggregator (4), GstBase.Aggregator (22), Gst.Element (16), Gst.Object (1), GObject.Object (7)

do_process_buffers (outbuf)

do_process_textures (out_tex)

Properties

Inherited:

GstGL.GLBaseMixer (1), GstVideo.VideoAggregator (1), GstBase.Aggregator (5), Gst.Object (2)

Signals

Inherited:

GstBase.Aggregator (1), Gst.Element (3), Gst.Object (1), GObject.Object (1)

Fields

Inherited:

GstBase.Aggregator (1), Gst.Element (3), Gst.Object (1), GObject.Object (1)

Name

Type

Access

Description

out_caps

Gst.Caps

r

the configured output Gst.Caps

parent

GstGL.GLBaseMixer

r

Class Details

class GstGL.GLMixer(**kwargs)
Bases:

GstGL.GLBaseMixer

Abstract:

Yes

Structure:

GstGL.GLMixerClass

GstGL.GLMixer helps implement an element that operates on RGBA textures.

New in version 1.24.

classmethod add_rgba_pad_templates()

Adds the default RGBA pad templates to this class. If you have any special template requirements like a different pad subclass or different supported caps, you should not call this function and add the pad templates yourself manually.

New in version 1.24.

get_framebuffer()[source]
Returns:

(nullable): The GstGL.GLFramebuffer in use by this self

Return type:

GstGL.GLFramebuffer

New in version 1.24.

process_textures(outbuf)[source]
Parameters:

outbuf (Gst.Buffer) – output GstBuffer

Returns:

whether processing of textures succeeded

Return type:

bool

Perform processing required and call #GstGLMixerClass::process_textures(). Intended for use within implementations of #GstGLMixerClass::process_buffers().

New in version 1.24.

do_process_buffers(outbuf) virtual
Parameters:

outbuf (Gst.Buffer) –

Return type:

bool

Perform operations on the input buffers to produce an output buffer.

New in version 1.24.

do_process_textures(out_tex) virtual
Parameters:

out_tex (GstGL.GLMemory) –

Returns:

whether processing of textures succeeded

Return type:

bool

Perform processing required and call #GstGLMixerClass::process_textures(). Intended for use within implementations of #GstGLMixerClass::process_buffers().

New in version 1.24.