Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <vid_file.h>
Classes | |
class | EndOfStreamException |
class | Exception |
class | FileOpenException |
class | FrameDecodeException |
class | UnsupportedCodecException |
Public Member Functions | |
VidFile () throw () | |
~VidFile () | |
bool | isOpen () const throw () |
void | open (const std::string &path, size_t maxDimension=65535, bool forcePOT=false) throw (Exception) |
void | close () throw () |
bool | seek (float time) throw (Exception) |
float | getFrameRate () const throw () |
float | getDuration () const throw () |
int | getWidth () const throw () |
int | getHeight () const throw () |
void * | getFrameBuffer () const throw () |
int | getFrameBufferStride () const throw () |
Definition at line 13 of file vid_file.h.
VidFile::VidFile | ( | ) | ||
throw | ( | |||
) |
Definition at line 380 of file vid_file.cpp.
VidFile::~VidFile | ( | ) |
Definition at line 384 of file vid_file.cpp.
void VidFile::close | ( | ) | ||
throw | ( | |||
) |
Definition at line 405 of file vid_file.cpp.
float VidFile::getDuration | ( | ) | const | |
throw | ( | |||
) |
Definition at line 418 of file vid_file.cpp.
Referenced by AnimatedTexture::LoadVideoSource().
void * VidFile::getFrameBuffer | ( | ) | const | |
throw | ( | |||
) |
Definition at line 433 of file vid_file.cpp.
Referenced by AnimatedTexture::LoadVideoSource().
int VidFile::getFrameBufferStride | ( | ) | const | |
throw | ( | |||
) |
Definition at line 438 of file vid_file.cpp.
float VidFile::getFrameRate | ( | ) | const | |
throw | ( | |||
) |
Definition at line 413 of file vid_file.cpp.
Referenced by AnimatedTexture::LoadVideoSource().
int VidFile::getHeight | ( | ) | const | |
throw | ( | |||
) |
Definition at line 428 of file vid_file.cpp.
Referenced by AnimatedTexture::LoadVideoSource().
int VidFile::getWidth | ( | ) | const | |
throw | ( | |||
) |
Definition at line 423 of file vid_file.cpp.
Referenced by AnimatedTexture::LoadVideoSource().
bool VidFile::isOpen | ( | ) | const | |
throw | ( | |||
) |
Definition at line 390 of file vid_file.cpp.
void VidFile::open | ( | const std::string & | path, |
size_t | maxDimension = 65535 , |
||
bool | forcePOT = false |
||
) | |||
throw | ( | Exception | |
) |
Seeks to the specified time true if frame changed, false otherwise. EndOfStreamException when time lays past the end. FrameDecodeException when an error occurs during frame decode.
Definition at line 443 of file vid_file.cpp.
Referenced by AnimatedTexture::MakeActive().