GstGL.GLViewConvert

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned GstGL.GLViewConvert GstGL.GLViewConvert Gst.Object->GstGL.GLViewConvert

Subclasses:

None

Methods

Inherited:

Gst.Object (27), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

fixate_caps (direction, caps, othercaps)

get_output ()

perform (inbuf)

reset ()

set_caps (in_caps, out_caps)

set_context (context)

submit_input_buffer (is_discont, input)

transform_caps (direction, caps, filter)

Virtual Methods

Inherited:

Gst.Object (1), GObject.Object (7)

Properties

Inherited:

Gst.Object (2)

Name

Type

Flags

Short Description

downmix-mode

GstGL.GLStereoDownmix

r/w

Output anaglyph type to generate when downmixing to mono

input-flags-override

GstVideo.VideoMultiviewFlags

r/w

Override any input information about multiview layout flags

input-mode-override

GstVideo.VideoMultiviewMode

r/w

Override any input information about multiview layout

output-flags-override

GstVideo.VideoMultiviewFlags

r/w

Override automatic negotiation for output multiview layout flags

output-mode-override

GstVideo.VideoMultiviewMode

r/w

Override automatic output mode selection for multiview layout

Signals

Inherited:

Gst.Object (1), GObject.Object (1)

Fields

Inherited:

Gst.Object (1), GObject.Object (1)

Name

Type

Access

Description

caps_passthrough

bool

r

context

GstGL.GLContext

r

downmix_mode

GstGL.GLStereoDownmix

r

fbo

GstGL.GLFramebuffer

r

from_texture_target

GstGL.GLTextureTarget

r

in_info

GstVideo.VideoInfo

r

initted

bool

r

input_flags_override

GstVideo.VideoMultiviewFlags

r

input_mode_override

GstVideo.VideoMultiviewMode

r

object

Gst.Object

r

out_info

GstVideo.VideoInfo

r

output_flags_override

GstVideo.VideoMultiviewFlags

r

output_mode_override

GstVideo.VideoMultiviewMode

r

reconfigure

bool

r

shader

GstGL.GLShader

r

to_texture_target

GstGL.GLTextureTarget

r

Class Details

class GstGL.GLViewConvert(**kwargs)
Bases:

Gst.Object

Abstract:

No

Structure:

GstGL.GLViewConvertClass

Convert stereoscopic/multiview video using fragment shaders.

classmethod new()[source]
Returns:

a new GstGL.GLViewConvert

Return type:

GstGL.GLViewConvert

New in version 1.6.

fixate_caps(direction, caps, othercaps)[source]
Parameters:
Returns:

the fixated Gst.Caps

Return type:

Gst.Caps

Provides an implementation of GstBase.BaseTransform.do_fixate_caps()

New in version 1.6.

get_output()[source]
Returns:

a Gst.FlowReturn

outbuf_ptr:

a Gst.Buffer

Return type:

(Gst.FlowReturn, outbuf_ptr: Gst.Buffer)

Retrieve the processed output buffer placing the output in outbuf_ptr.

New in version 1.6.

perform(inbuf)[source]
Parameters:

inbuf (Gst.Buffer) – the GstGL.GLMemory filled Gst.Buffer to convert

Returns:

a converted Gst.Buffer or None

Return type:

Gst.Buffer or None

Converts the data contained by inbuf using the formats specified by the Gst.Caps passed to GstGL.GLViewConvert.set_caps()

New in version 1.6.

reset()[source]

Reset self to the default state. Further operation will require setting the caps with GstGL.GLViewConvert.set_caps().

New in version 1.6.

set_caps(in_caps, out_caps)[source]
Parameters:
Return type:

bool

Initializes self with the information required for conversion.

New in version 1.6.

set_context(context)[source]
Parameters:

context (GstGL.GLContext) – the GstGL.GLContext to set

Set context on self

New in version 1.6.

submit_input_buffer(is_discont, input)[source]
Parameters:
Returns:

a Gst.FlowReturn

Return type:

Gst.FlowReturn

Submit input to be processed by self

New in version 1.6.

transform_caps(direction, caps, filter)[source]
Parameters:
Returns:

the converted Gst.Caps

Return type:

Gst.Caps

Provides an implementation of GstBase.BaseTransform.do_transform_caps()

New in version 1.6.

Property Details

GstGL.GLViewConvert.props.downmix_mode
Name:

downmix-mode

Type:

GstGL.GLStereoDownmix

Default Value:

GstGL.GLStereoDownmix.GREEN_MAGENTA_DUBOIS

Flags:

READABLE, WRITABLE

Output anaglyph type to generate when downmixing to mono

GstGL.GLViewConvert.props.input_flags_override
Name:

input-flags-override

Type:

GstVideo.VideoMultiviewFlags

Default Value:

GstVideo.VideoMultiviewFlags.NONE

Flags:

READABLE, WRITABLE

Override any input information about multiview layout flags

GstGL.GLViewConvert.props.input_mode_override
Name:

input-mode-override

Type:

GstVideo.VideoMultiviewMode

Default Value:

GstVideo.VideoMultiviewMode.NONE

Flags:

READABLE, WRITABLE

Override any input information about multiview layout

GstGL.GLViewConvert.props.output_flags_override
Name:

output-flags-override

Type:

GstVideo.VideoMultiviewFlags

Default Value:

GstVideo.VideoMultiviewFlags.NONE

Flags:

READABLE, WRITABLE

Override automatic negotiation for output multiview layout flags

GstGL.GLViewConvert.props.output_mode_override
Name:

output-mode-override

Type:

GstVideo.VideoMultiviewMode

Default Value:

GstVideo.VideoMultiviewMode.NONE

Flags:

READABLE, WRITABLE

Override automatic output mode selection for multiview layout