22 static constexpr std::string_view
CODEC_4CC =
"ZMBV";
36 [[nodiscard]]
unsigned neededSize()
const;
37 void addFullFrame(
unsigned& workUsed);
38 void addXorFrame (
unsigned& workUsed);
39 [[nodiscard]]
unsigned possibleBlock(
int vx,
int vy,
size_t offset);
40 [[nodiscard]]
unsigned compareBlock(
int vx,
int vy,
size_t offset);
41 void addXorBlock(
int vx,
int vy,
size_t offset,
unsigned& workUsed);
Interface for getting lines from a video frame.
This class manages the lifetime of a block of memory.
static constexpr std::string_view CODEC_4CC
ZMBVEncoder & operator=(ZMBVEncoder &&)=delete
ZMBVEncoder & operator=(const ZMBVEncoder &)=delete
std::span< const uint8_t > compressFrame(bool keyFrame, const FrameSource *frame)
ZMBVEncoder(ZMBVEncoder &&)=delete
ZMBVEncoder(const ZMBVEncoder &)=delete
This file implemented 3 utility functions: