FileGIF Class Reference

#include <filegif.h>

Inherits FileBase.

Collaboration diagram for FileGIF:

Collaboration graph
[legend]

Public Member Functions

 FileGIF (Asset *asset)
 ~FileGIF ()
int open_file (int rd, int wr)
int close_file_derived ()
int64_t get_video_length ()
int64_t get_memory_usage ()
int read_header ()
VFrameread_frame (int use_alpha, int use_float)

Private Member Functions

int read_raw ()
int reset_parameters_derived ()
int import_row (VPixel *output, unsigned char *row_pointer)

Private Attributes

VFramedata

Detailed Description

Definition at line 10 of file filegif.h.


Constructor & Destructor Documentation

FileGIF::FileGIF ( Asset asset  ) 

Definition at line 8 of file filegif.C.

References Asset::format, FileBase::reset_parameters(), and Asset::video_data.

Here is the call graph for this function:

FileGIF::~FileGIF (  ) 

Definition at line 16 of file filegif.C.

References FileBase::close_file().

Here is the call graph for this function:


Member Function Documentation

int FileGIF::open_file ( int  rd,
int  wr 
) [virtual]

Reimplemented from FileBase.

Definition at line 26 of file filegif.C.

References read_header().

Here is the call graph for this function:

int FileGIF::close_file_derived (  )  [virtual]

Reimplemented from FileBase.

Definition at line 58 of file filegif.C.

References data, and FileBase::reset_parameters().

Here is the call graph for this function:

int64_t FileGIF::get_video_length (  ) 

Definition at line 43 of file filegif.C.

int64_t FileGIF::get_memory_usage (  )  [virtual]

Reimplemented from FileBase.

Definition at line 49 of file filegif.C.

References FileBase::asset, data, Asset::height, and Asset::width.

int FileGIF::read_header (  )  [virtual]

Reimplemented from FileBase.

Definition at line 64 of file filegif.C.

References FileBase::asset, BC_ILACE_MODE_NOTINTERLACED, eprintf, Asset::height, Asset::layers, Asset::path, and Asset::width.

Referenced by open_file().

VFrame * FileGIF::read_frame ( int  use_alpha,
int  use_float 
)

Definition at line 84 of file filegif.C.

References data, and read_raw().

Here is the call graph for this function:

int FileGIF::read_raw (  )  [private]

Definition at line 90 of file filegif.C.

References FileBase::asset, data, eprintf, Asset::height, import_row(), Asset::path, VFrame::rows, and Asset::width.

Referenced by read_frame().

Here is the call graph for this function:

int FileGIF::reset_parameters_derived (  )  [private, virtual]

Reimplemented from FileBase.

Definition at line 21 of file filegif.C.

References data.

int FileGIF::import_row ( VPixel *  output,
unsigned char *  row_pointer 
) [private]

Definition at line 124 of file filegif.C.

References FileBase::asset, and Asset::width.

Referenced by read_raw().


Field Documentation

VFrame* FileGIF::data [private]


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:25:06 2008 for Cinelerra by  doxygen 1.5.5