1#ifndef SUPERIMPOSEDFRAME_HH
2#define SUPERIMPOSEDFRAME_HH
18 [[nodiscard]]
unsigned getLineWidth(
unsigned line)
const override;
20 unsigned line, std::span<Pixel> helpBuf)
const override;
Interface for getting lines from a video frame.
This class represents a frame that is the (per-pixel) alpha-blend of two other frames.
void init(const FrameSource *top, const FrameSource *bottom)
unsigned getLineWidth(unsigned line) const override
Gets the number of display pixels on the given line.
std::span< const Pixel > getUnscaledLine(unsigned line, std::span< Pixel > helpBuf) const override
Get a specific line, with the 'native' line-width.
This file implemented 3 utility functions: