1#ifndef SUPERIMPOSEDVIDEOFRAME_HH
2#define SUPERIMPOSEDVIDEOFRAME_HH
20template<std::
unsigned_
integral Pixel>
28 [[nodiscard]]
unsigned getLineWidth(
unsigned line)
const override;
30 unsigned line,
unsigned& width,
31 void* buf,
unsigned bufWidth)
const override;
Interface for getting lines from a video frame.
This class represents a frame that is the (per-pixel) alpha-blend of a (laser-disc) video frame and a...
SuperImposedVideoFrame(const FrameSource &src, const FrameSource &super, const PixelOperations< Pixel > &pixelOps)
const void * getLineInfo(unsigned line, unsigned &width, void *buf, unsigned bufWidth) const override
Abstract implementation of getLinePtr().
unsigned getLineWidth(unsigned line) const override
Gets the number of display pixels on the given line.
This file implemented 3 utility functions: