Home | Trees | Indices | Help |
|
---|
|
object --+ | component.Component --+ | Processor
Base component class of all processors Attributes: parents : List of parent Processors that must be processed before the current Processor pipe : The current ProcessPipe in which the Processor will run
|
|||
__metaclass__ Metaclass of the Processor class, used mainly for ensuring that processor id's are wellformed and unique |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Allocate internal resources and reset state, so that this processor is ready for a new run. The channels, samplerate and/or blocksize and/or totalframes arguments may be required by processors which accept input. An error will occur if any of these arguments is passed to an output-only processor such as a decoder.
|
Number of channels in the data returned by process(). May be different from the number of channels passed to setup()
|
Samplerate of the data returned by process(). May be different from the samplerate passed to setup()
|
The total number of frames that this processor can output for each step in the pipeline, or None if the number is unknown.
|
The total number of frames that this processor will output, or None if the number is unknown.
|
Process input frames and return a (output_frames, eod) tuple. Both input and output frames are 2D numpy arrays, where columns are channels, and containing an undetermined number of frames. eod=True means that the end-of-data has been reached. Output-only processors (such as decoders) will raise an exception if the frames argument is not None. All processors (even encoders) return data, even if that means returning the input unchanged. Warning: it is required to call setup() before this method.
|
Post-Process data after processign the input frames with process() Processors such as analyzers will produce Results during the Post-Process
|
Release resources owned by this processor. The processor cannot be used anymore after calling this method.
|
Information about the media object uri start duration
|
Return the UUID of the processor
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Dec 15 00:09:37 2013 | http://epydoc.sourceforge.net |