media::graph::ProcessorContext

The execution context that a graph processor gets for one block: its samples and its parameter changes.

Declared in src/libs/libmediacore/mediacore/graph/ProcessorContext.hpp
Inherited By video::VideoContext
Group mediacore

Detailed description

A processor reads its input through sourceSamples() and writes its output through destinationSamples(), both sampleCount() samples long. parameterChanges() lists the sample-accurate parameter changes in the block, each at a sample offset; the base class reports none.

The class is abstract. A media domain subclasses it to add its own context: video::VideoContext gives the bytes of a video frame as its samples.

See also media::graph::ProcessorCharacter, video::VideoContext.