Package flumotion :: Package component :: Package effects :: Package deinterlace :: Module deinterlace :: Class Deinterlace
[hide private]

Class Deinterlace

source code

extern.log.log.Loggable --+        
                          |        
       feedcomponent.Effect --+    
                              |    
   feedcomponent.PostProcEffect --+
                                  |
                                 Deinterlace

I am an effect that can be added to any component that has a deinterlacer component and a way of changing the deinterlace method.

Instance Methods [hide private]
 
__init__(self, name, sourcePad, pipeline, mode, method) source code
 
setUIState(self, state)
Set the given UI state on the effect.
source code
 
effect_setMethod(self, method)
Sets the deinterlacing method
source code
string
effect_getMethod(self)
Gets the deinterlacing method
source code
 
effect_setMode(self, mode)
Sets the deinterlacing mode
source code
 
effect_getMode(self, mode)
GetSets the deinterlacing method
source code

Inherited from feedcomponent.PostProcEffect: plug

Inherited from feedcomponent.Effect: getComponent, setComponent

Inherited from extern.log.log.Loggable: __providedBy__, __provides__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  logCategory = 'deinterlace'
Implementors can provide a category to log their messages under.

Inherited from extern.log.log.Loggable: __implemented__

Instance Variables [hide private]

Inherited from feedcomponent.PostProcEffect: component, effectBin, name, pipeline, sourcePad

Method Details [hide private]

__init__(self, name, sourcePad, pipeline, mode, method)
(Constructor)

source code 
Parameters:
  • element - the video source element on which the post processing effect will be added
  • pipeline - the pipeline of the element
  • mode - deinterlace mode
  • methid - deinterlace method
Overrides: feedcomponent.Effect.__init__

setUIState(self, state)

source code 

Set the given UI state on the effect. This method is ideal for adding keys to the UI state.

Parameters:
  • state - the UI state for the component to use.
Overrides: feedcomponent.Effect.setUIState
(inherited documentation)

effect_setMethod(self, method)

source code 

Sets the deinterlacing method

Parameters:
  • value - the method to set to deinterlace
Returns:
the actual method set to deinterlace

effect_getMethod(self)

source code 

Gets the deinterlacing method

Returns: string
the method set for deinterlacing

effect_setMode(self, mode)

source code 

Sets the deinterlacing mode

Parameters:
  • value - the method to set to deinterlace
Returns:
the actual method set to deinterlace

effect_getMode(self, mode)

source code 

GetSets the deinterlacing method

Parameters:
  • value - the method used for deinterlacing

    Returns: the actual method used to deinterlace