video::VideoContext

Video-specific ProcessorContext for graph execution.

Declared in src/libs/libvideo/video/VideoContext.hpp
Inherits media::graph::ProcessorContext
Group video

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.

In this section