openMSX
|
#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_) |
Definition at line 21 of file AviWriter.hh.
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().
openmsx::AviWriter::~AviWriter | ( | ) |
Definition at line 42 of file AviWriter.cc.
References openmsx::File::close(), openmsx::ZMBVEncoder::CODEC_4CC, ranges::copy(), zstring_view::data(), openmsx::Version::full(), openmsx::File::getURL(), openmsx::File::seek(), subspan(), t, openmsx::FileOperations::unlink(), openmsx::File::write(), Endian::write_UA_L16(), and Endian::write_UA_L32().
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().
|
inline |
Definition at line 28 of file AviWriter.hh.