openMSX
Namespaces | Macros
AviWriter.cc File Reference
#include "AviWriter.hh"
#include "FileOperations.hh"
#include "MSXException.hh"
#include "build-info.hh"
#include "Version.hh"
#include "cstdiop.hh"
#include <cassert>
#include <cstring>
#include <ctime>
Include dependency graph for AviWriter.cc:

Go to the source code of this file.

Namespaces

 openmsx
 Thanks to enen for testing this on a real cartridge:
 

Macros

#define AVIOUT4(_S_)   memcpy(&avi_header[header_pos],_S_,4);header_pos+=4;
 
#define AVIOUTw(_S_)   Endian::write_UA_L16(&avi_header[header_pos], _S_);header_pos+=2;
 
#define AVIOUTd(_S_)   Endian::write_UA_L32(&avi_header[header_pos], _S_);header_pos+=4;
 
#define AVIOUTs(_S_)   memcpy(&avi_header[header_pos],_S_,strlen(_S_)+1);header_pos+=(strlen(_S_)+1 + 1) & ~1;
 

Macro Definition Documentation

◆ AVIOUT4

#define AVIOUT4 (   _S_)    memcpy(&avi_header[header_pos],_S_,4);header_pos+=4;

◆ AVIOUTd

#define AVIOUTd (   _S_)    Endian::write_UA_L32(&avi_header[header_pos], _S_);header_pos+=4;

◆ AVIOUTs

#define AVIOUTs (   _S_)    memcpy(&avi_header[header_pos],_S_,strlen(_S_)+1);header_pos+=(strlen(_S_)+1 + 1) & ~1;

◆ AVIOUTw

#define AVIOUTw (   _S_)    Endian::write_UA_L16(&avi_header[header_pos], _S_);header_pos+=2;