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 bpp, unsigned channels, unsigned freq)
 
 ~AviWriter ()
 
void addFrame (FrameSource *video, std::span< const int16_t > audio)
 
void setFps (float fps_)
 

Detailed Description

Definition at line 18 of file AviWriter.hh.

Constructor & Destructor Documentation

◆ AviWriter()

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

Definition at line 23 of file AviWriter.cc.

References openmsx::File::write().

◆ ~AviWriter()

openmsx::AviWriter::~AviWriter ( )

Member Function Documentation

◆ addFrame()

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

Definition at line 275 of file AviWriter.cc.

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

◆ setFps()

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

Definition at line 25 of file AviWriter.hh.


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