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)
 
 ZMBVEncoder (const ZMBVEncoder &)=delete
 
 ZMBVEncoder (ZMBVEncoder &&)=delete
 
ZMBVEncoderoperator= (const ZMBVEncoder &)=delete
 
ZMBVEncoderoperator= (ZMBVEncoder &&)=delete
 
 ~ZMBVEncoder ()=default
 
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 19 of file ZMBVEncoder.hh.

Member Typedef Documentation

◆ Pixel

using openmsx::ZMBVEncoder::Pixel = uint32_t

Definition at line 23 of file ZMBVEncoder.hh.

Constructor & Destructor Documentation

◆ ZMBVEncoder() [1/3]

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

Definition at line 119 of file ZMBVEncoder.cc.

◆ ZMBVEncoder() [2/3]

openmsx::ZMBVEncoder::ZMBVEncoder ( const ZMBVEncoder )
delete

◆ ZMBVEncoder() [3/3]

openmsx::ZMBVEncoder::ZMBVEncoder ( ZMBVEncoder &&  )
delete

◆ ~ZMBVEncoder()

openmsx::ZMBVEncoder::~ZMBVEncoder ( )
default

Member Function Documentation

◆ compressFrame()

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

Definition at line 303 of file ZMBVEncoder.cc.

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

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

◆ operator=() [1/2]

ZMBVEncoder & openmsx::ZMBVEncoder::operator= ( const ZMBVEncoder )
delete

◆ operator=() [2/2]

ZMBVEncoder & openmsx::ZMBVEncoder::operator= ( ZMBVEncoder &&  )
delete

Member Data Documentation

◆ CODEC_4CC

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

Definition at line 22 of file ZMBVEncoder.hh.

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


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