openMSX
Public Types | Public Member Functions | Static Public Attributes | List of all members
openmsx::ZMBVEncoder Class Reference

#include <ZMBVEncoder.hh>

Collaboration diagram for openmsx::ZMBVEncoder:
Collaboration graph
[legend]

Public Types

using Pixel = uint32_t
 

Public Member Functions

 ZMBVEncoder (unsigned width, unsigned height)
 
std::span< const uint8_t > compressFrame (bool keyFrame, const FrameSource *frame)
 

Static Public Attributes

static constexpr std::string_view CODEC_4CC = "ZMBV"
 

Detailed Description

Definition at line 18 of file ZMBVEncoder.hh.

Member Typedef Documentation

◆ Pixel

using openmsx::ZMBVEncoder::Pixel = uint32_t

Definition at line 22 of file ZMBVEncoder.hh.

Constructor & Destructor Documentation

◆ ZMBVEncoder()

openmsx::ZMBVEncoder::ZMBVEncoder ( unsigned  width,
unsigned  height 
)

Definition at line 119 of file ZMBVEncoder.cc.

Member Function Documentation

◆ compressFrame()

std::span< const uint8_t > openmsx::ZMBVEncoder::compressFrame ( bool  keyFrame,
const FrameSource frame 
)

Definition at line 304 of file ZMBVEncoder.cc.

References openmsx::MemBuffer< T, ALIGNMENT >::data(), and xrange().

Referenced by openmsx::AviWriter::addFrame().

Member Data Documentation

◆ CODEC_4CC

constexpr std::string_view openmsx::ZMBVEncoder::CODEC_4CC = "ZMBV"
staticconstexpr

Definition at line 21 of file ZMBVEncoder.hh.

Referenced by openmsx::AviWriter::~AviWriter().


The documentation for this class was generated from the following files: