• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • VideoContext
  • video::VideoContext Class

    class video::VideoContext

    Video-specific ProcessorContext for graph execution. More...

    Header: #include <VideoContext>
    Since: 1.0
    Inherits: media::graph::ProcessorContext

    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 and VideoProcessor.