GstGL.GLViewConvert¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Output anaglyph type to generate when downmixing to mono |
||
r/w |
Override any input information about multiview layout flags |
||
r/w |
Override any input information about multiview layout |
||
r/w |
Override automatic negotiation for output multiview layout flags |
||
r/w |
Override automatic output mode selection for multiview layout |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
caps_passthrough |
r |
||
context |
r |
||
downmix_mode |
r |
||
fbo |
r |
||
from_texture_target |
r |
||
in_info |
r |
||
initted |
r |
||
input_flags_override |
r |
||
input_mode_override |
r |
||
object |
r |
||
out_info |
r |
||
output_flags_override |
r |
||
output_mode_override |
r |
||
reconfigure |
r |
||
shader |
r |
||
to_texture_target |
r |
Class Details¶
- class GstGL.GLViewConvert(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Convert stereoscopic/multiview video using fragment shaders.
- classmethod new()[source]¶
- Returns:
a new
GstGL.GLViewConvert
- Return type:
New in version 1.6.
- fixate_caps(direction, caps, othercaps)[source]¶
- Parameters:
direction (
Gst.PadDirection
) – aGst.PadDirection
- Returns:
the fixated
Gst.Caps
- Return type:
Provides an implementation of
GstBase.BaseTransform.do_fixate_caps
()New in version 1.6.
- get_output()[source]¶
- Returns:
-
- outbuf_ptr:
- 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
) – theGstGL.GLMemory
filledGst.Buffer
to convert- Returns:
a converted
Gst.Buffer
orNone
- Return type:
Gst.Buffer
orNone
Converts the data contained by inbuf using the formats specified by the
Gst.Caps
passed toGstGL.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:
Initializes self with the information required for conversion.
New in version 1.6.
- set_context(context)[source]¶
- Parameters:
context (
GstGL.GLContext
) – theGstGL.GLContext
to set
Set context on self
New in version 1.6.
- submit_input_buffer(is_discont, input)[source]¶
- Parameters:
is_discont (
bool
) – true if we have a discontinuityinput (
Gst.Buffer
) – aGst.Buffer
- Returns:
- Return type:
Submit input to be processed by self
New in version 1.6.
- transform_caps(direction, caps, filter)[source]¶
- Parameters:
direction (
Gst.PadDirection
) – aGst.PadDirection
- Returns:
the converted
Gst.Caps
- Return type:
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:
- Default Value:
- Flags:
Output anaglyph type to generate when downmixing to mono
- GstGL.GLViewConvert.props.input_flags_override¶
- Name:
input-flags-override
- Type:
- Default Value:
- Flags:
Override any input information about multiview layout flags
- GstGL.GLViewConvert.props.input_mode_override¶
- Name:
input-mode-override
- Type:
- Default Value:
- Flags:
Override any input information about multiview layout
- GstGL.GLViewConvert.props.output_flags_override¶
- Name:
output-flags-override
- Type:
- Default Value:
- Flags:
Override automatic negotiation for output multiview layout flags
- GstGL.GLViewConvert.props.output_mode_override¶
- Name:
output-mode-override
- Type:
- Default Value:
- Flags:
Override automatic output mode selection for multiview layout