Package flumotion :: Package component :: Package effects :: Package videoscale :: Module videoscale :: Class VideoscaleBin
[hide private]

Class VideoscaleBin

source code

       object --+                
                |                
       ??.GObject --+            
                    |            
           gst.Object --+        
                        |        
              gst.Element --+    
                            |    
           object --+       |    
                    |       |    
   gobject.GInterface --+   |    
                        |   |    
??.__main__.GstChildProxy --+    
                            |    
                      gst.Bin --+
                                |
                               VideoscaleBin

I am a GStreamer bin that can scale a video stream from its source pad.

Instance Methods [hide private]
 
__init__(self, width, height, is_square, add_borders, width_correction=8, height_correction=0)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_updateFilter(self, blockPad) source code
 
_configureOutput(self) source code
 
_applyScaleCorrection(self, pad, param) source code
 
_sinkSetCaps(self, pad, caps) source code
 
do_set_property(self, property, value) source code
 
do_get_property(self, property) source code
 
apply(self) source code

Inherited from gst.Bin: __iter__, __repr__, __str__, add, add_many, do_add_element, do_handle_message, do_remove_element, elements, find_unconnected_pad, find_unlinked_pad, get_by_interface, get_by_name, iterate_all_by_interface, iterate_sources, recalculate_latency, recurse, remove, remove_many, sinks, sorted

Inherited from gst.Element: abort_state, add_pad, change_state, continue_state, create_all_pads, do_change_state, do_get_index, do_provide_clock, do_query, do_release_pad, do_request_new_pad, do_send_event, do_set_bus, do_set_clock, do_set_index, flags, found_tags, found_tags_for_pad, get_base_time, get_bus, get_clock, get_compatible_pad, get_compatible_pad_template, get_factory, get_index, get_pad, get_pad_template, get_pad_template_list, get_query_types, get_request_pad, get_start_time, get_state, get_static_pad, implements_interface, is_indexable, is_locked_state, link, link_filtered, link_pads, link_pads_filtered, link_pads_full, lost_state, lost_state_full, no_more_pads, pads, post_message, provide_clock, provides_clock, query, query_convert, query_duration, query_position, release_request_pad, remove_pad, request_pad, requires_clock, seek, seek_simple, send_event, set_base_time, set_bus, set_clock, set_index, set_locked_state, set_start_time, set_state, sink_pads, src_pads, sync_state_with_parent, unlink, unlink_pads

Inherited from gst.Object: debug, default_error, error, fixme, get_name, get_name_prefix, get_parent, get_path_string, has_ancestor, info, log, memdump, set_flag, set_name, set_name_prefix, set_parent, set_property, unparent, unset_flag, warning

Inherited from unreachable.GObject: __copy__, __deepcopy__, __delattr__, __eq__, __gdoc__, __ge__, __gobject_init__, __gt__, __hash__, __le__, __lt__, __ne__, __new__, __setattr__, chain, connect, connect_after, connect_object, connect_object_after, disconnect, disconnect_by_func, emit, emit_stop_by_name, freeze_notify, get_data, get_properties, get_property, handler_block, handler_block_by_func, handler_disconnect, handler_is_connected, handler_unblock, handler_unblock_by_func, notify, props, set_data, set_properties, stop_emission, thaw_notify, weak_ref

Inherited from object: __format__, __getattribute__, __reduce__, __reduce_ex__, __sizeof__, __subclasshook__

Class Variables [hide private]
  logCategory = 'videoscale'
  __gproperties__ = {'width':(gobject.TYPE_UINT, 'width', 'Outpu...
  __gtype__ = <GType flumotion+component+effects+videoscale+vide...
Properties [hide private]

Inherited from gst.Object: __gstrefcount__

Inherited from unreachable.GObject: __grefcount__

Inherited from object: __class__

Method Details [hide private]

__init__(self, width, height, is_square, add_borders, width_correction=8, height_correction=0)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

__gproperties__

Value:
{'width':(gobject.TYPE_UINT, 'width', 'Output width', 1, 10000, 100, g\
object.PARAM_READWRITE), 'height':(gobject.TYPE_UINT, 'height', 'Outpu\
t height', 1, 10000, 100, gobject.PARAM_READWRITE), 'width-correction'\
:(gobject.TYPE_UINT, 'width correction', 'Corrects with to be a multip\
le of this value', 0, 64, 8, gobject.PARAM_READWRITE), 'height-correct\
ion':(gobject.TYPE_UINT, 'height correction', 'Corrects height to be a\
 multiple of this value', 0, 64, 0, gobject.PARAM_READWRITE), 'is-squa\
re':(gobject.TYPE_BOOLEAN, 'PAR 1/1', 'Output with PAR 1/1', False, go\
...

__gtype__

Value:
<GType flumotion+component+effects+videoscale+videoscale+VideoscaleBin\
 (3031705