cgv
|
reader class for riff files such as .ani or .avi More...
#include <riff.h>
Public Member Functions | |
riff_reader (riff_handler *_rh) | |
construct from riff_handler | |
bool | read (const std::string &file_name) |
read given file and generate callbacks to the riff_handler, return whether read was successful | |
Protected Member Functions | |
bool | read_chunk_info (fourcc &f, unsigned &size) |
bool | read_chunk_list (unsigned size) |
void | close () |
Protected Attributes | |
FILE * | fp |
riff_handler * | rh |
cgv::media::riff_reader::riff_reader | ( | riff_handler * | _rh | ) |
construct from riff_handler
bool cgv::media::riff_reader::read | ( | const std::string & | file_name | ) |
read given file and generate callbacks to the riff_handler, return whether read was successful
Definition at line 131 of file riff.cxx.
References cgv::media::riff_handler::begin_list_chunk(), and cgv::media::riff_handler::end_list_chunk().
|
protected |
|
protected |
|
protected |