#include <ioavi.h>
Public Member Functions | |
AVI (const char *filename=0) | |
~AVI () | |
void | open (const char *filename) |
void | close () |
unsigned int | getNbFrames () |
void | getFrameSize (unsigned int &width, unsigned int &height) |
void | read (color< unsigned char > *&image, unsigned int frame) |
void | read (color< unsigned char > *&image) |
void | read (color< unsigned char > *&image, unsigned int start, unsigned int end) |
Classes | |
struct | header |
IO::AVI::AVI | ( | const char * | filename = 0 |
) |
constructor
IO::AVI::~AVI | ( | ) |
void IO::AVI::open | ( | const char * | filename | ) |
open an avi file
void IO::AVI::close | ( | ) |
close file
unsigned int IO::AVI::getNbFrames | ( | ) |
returns the number of frames in the movie
void IO::AVI::getFrameSize | ( | unsigned int & | width, | |
unsigned int & | height | |||
) |
returns the image size
void IO::AVI::read | ( | color< unsigned char > *& | image, | |
unsigned int | frame | |||
) |
read a single frame in a 2D image
void IO::AVI::read | ( | color< unsigned char > *& | image | ) |
read the whole movie in a 3D image
void IO::AVI::read | ( | color< unsigned char > *& | image, | |
unsigned int | start, | |||
unsigned int | end | |||
) |
read part of the movie in a 3D image (including start & end frames)