openMSX
Public Member Functions | List of all members
openmsx::AviWriter Class Reference

#include <AviWriter.hh>

Public Member Functions

 AviWriter (const Filename &filename, unsigned width, unsigned height, unsigned channels, unsigned freq)
 
 ~AviWriter ()
 
void addFrame (const FrameSource *video, std::span< const int16_t > audio)
 
void setFps (float fps_)
 

Detailed Description

Definition at line 21 of file AviWriter.hh.

Constructor & Destructor Documentation

◆ AviWriter()

openmsx::AviWriter::AviWriter ( const Filename filename,
unsigned  width,
unsigned  height,
unsigned  channels,
unsigned  freq 
)

Definition at line 27 of file AviWriter.cc.

References openmsx::File::write().

◆ ~AviWriter()

openmsx::AviWriter::~AviWriter ( )

Member Function Documentation

◆ addFrame()

void openmsx::AviWriter::addFrame ( const FrameSource video,
std::span< const int16_t >  audio 
)

Definition at line 277 of file AviWriter.cc.

References as_byte_span(), Endian::BIG, and openmsx::ZMBVEncoder::compressFrame().

◆ setFps()

void openmsx::AviWriter::setFps ( float  fps_)
inline

Definition at line 28 of file AviWriter.hh.


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