VideoContext
Video-specific ProcessorContext for graph execution.
| Inherits | media::graph::ProcessorContext |
| Group | video |
In the namespace video. Declared in src/libs/libvideo/video/VideoContext.hpp.
Detailed description
Provides video frame data and metadata to graph processors during execution. Wraps a QVideoFrame with sample access that conforms to the media::graph::ProcessorContext interface.
The "samples" in video context are pixels: sourceSamples() returns the input frame data and destinationSamples() returns the output frame data. sampleCount() returns the total number of bytes.
See also media::graph::ProcessorContext, VideoProcessor.