Unravel Engine C++ Reference
Loading...
Searching...
No Matches
AviWriter Struct Reference

#include <aviwriter.h>

Public Member Functions

 AviWriter (bx::FileWriterI *_writer)
 
bool open (const char *_filePath, uint32_t _width, uint32_t _height, uint32_t _fps, bool _yflip)
 
void close ()
 
void frame (const void *_data)
 

Public Attributes

bx::FileWriterI * m_writer
 
int64_t m_riffSizeOffset
 
int64_t m_totalFramesOffset
 
int64_t m_lengthOffset
 
int64_t m_moviListOffset
 
uint8_t * m_frame
 
uint32_t m_frameSize
 
uint32_t m_numFrames
 
uint32_t m_width
 
uint32_t m_height
 
bool m_yflip
 

Detailed Description

Definition at line 14 of file aviwriter.h.

Constructor & Destructor Documentation

◆ AviWriter()

AviWriter::AviWriter ( bx::FileWriterI * _writer)
inline

Definition at line 16 of file aviwriter.h.

Member Function Documentation

◆ close()

void AviWriter::close ( )
inline

Definition at line 137 of file aviwriter.h.

◆ frame()

void AviWriter::frame ( const void * _data)
inline

Definition at line 178 of file aviwriter.h.

◆ open()

bool AviWriter::open ( const char * _filePath,
uint32_t _width,
uint32_t _height,
uint32_t _fps,
bool _yflip )
inline

Definition at line 27 of file aviwriter.h.

Member Data Documentation

◆ m_frame

uint8_t* AviWriter::m_frame

Definition at line 227 of file aviwriter.h.

◆ m_frameSize

uint32_t AviWriter::m_frameSize

Definition at line 228 of file aviwriter.h.

◆ m_height

uint32_t AviWriter::m_height

Definition at line 231 of file aviwriter.h.

◆ m_lengthOffset

int64_t AviWriter::m_lengthOffset

Definition at line 225 of file aviwriter.h.

◆ m_moviListOffset

int64_t AviWriter::m_moviListOffset

Definition at line 226 of file aviwriter.h.

◆ m_numFrames

uint32_t AviWriter::m_numFrames

Definition at line 229 of file aviwriter.h.

◆ m_riffSizeOffset

int64_t AviWriter::m_riffSizeOffset

Definition at line 223 of file aviwriter.h.

◆ m_totalFramesOffset

int64_t AviWriter::m_totalFramesOffset

Definition at line 224 of file aviwriter.h.

◆ m_width

uint32_t AviWriter::m_width

Definition at line 230 of file aviwriter.h.

◆ m_writer

bx::FileWriterI* AviWriter::m_writer

Definition at line 222 of file aviwriter.h.

◆ m_yflip

bool AviWriter::m_yflip

Definition at line 232 of file aviwriter.h.


The documentation for this struct was generated from the following file: