r956: README.BUILD - add more library recommendations
[cinelerra_cv/ct.git] / cinelerra / filegif.h
blobbb9222bc41e0d2c5eb8853349e0a2475d980e11a
1 #ifndef FILEGIF_H
2 #define FILEGIF_H
4 #include "file.inc"
5 #include "filebase.h"
6 #include "vframe.inc"
8 // This header file is representative of any single frame file format.
10 class FileGIF : public FileBase
12 public:
13 FileGIF(Asset *asset);
14 ~FileGIF();
16 // basic commands for every file interpreter
17 int open_file(int rd, int wr);
18 int close_file_derived();
19 int64_t get_video_length();
20 int64_t get_memory_usage();
22 int read_header();
23 VFrame* read_frame(int use_alpha, int use_float);
25 private:
26 int read_raw();
27 int reset_parameters_derived();
29 // specific to GIF
30 int import_row(VPixel *output, unsigned char *row_pointer);
32 // routines for all image files
33 // frame to return through read_frame
34 VFrame *data;
38 #endif