Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

filegif.h

Go to the documentation of this file.
00001 #ifndef FILEGIF_H
00002 #define FILEGIF_H
00003 
00004 #include "file.inc"
00005 #include "filebase.h"
00006 #include "vframe.inc"
00007 
00008 // This header file is representative of any single frame file format.
00009 
00010 class FileGIF : public FileBase
00011 {
00012 public:
00013         FileGIF(Asset *asset);
00014         ~FileGIF();
00015 
00016 // basic commands for every file interpreter
00017         int open_file(int rd, int wr);
00018         int close_file_derived();
00019         int64_t get_video_length();
00020         int64_t get_memory_usage();
00021 
00022         int read_header();
00023         VFrame* read_frame(int use_alpha, int use_float);
00024 
00025 private:
00026         int read_raw();
00027         int reset_parameters_derived();
00028 
00029 // specific to GIF
00030         int import_row(VPixel *output, unsigned char *row_pointer);
00031 
00032 // routines for all image files
00033 // frame to return through read_frame
00034         VFrame *data;
00035 };
00036 
00037 
00038 #endif

Generated on Sun Jan 8 13:38:54 2006 for Cinelerra-svn by  doxygen 1.4.4