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

MovieFileInterface Struct Reference

#include <MovieFileInterface.h>

Inheritance diagram for MovieFileInterface:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 16 of file MovieFileInterface.h.

Public Member Functions

virtual ~MovieFileInterface ()
virtual int GetLength ()=0
 Return length of movie in frames.
virtual int GetSizeX (int frame_index)=0
 Return size of the frame {frame_index}.
virtual int GetSizeY (int frame_index)=0
virtual int GetBitsPixel ()=0
 Return bits per pixel of images.
virtual bool IsInterlaced ()=0
 Return true if frames are stored as a pair of interlaced fields.
virtual bool HasFrame (int frame_index)=0
 Return true if frame_index is a valid frame.
virtual bool GetFrame (int frame_index, void *buffer)
 Grab frame into supplied buffer, which is GetBitsPixel * SizeX * SizeY.
virtual bool GetField (int field_index, void *buffer)
 Grab field into supplied buffer, which is GetBitsPixel * SizeX * SizeY.
virtual vil1_image GetImage (int frame_index)=0

Static Public Attributes

static bool verbose = false
 General verbosity flag for various movie-related operations.


Constructor & Destructor Documentation

MovieFileInterface::~MovieFileInterface  )  [virtual]
 

Definition at line 12 of file MovieFileInterface.cxx.


Member Function Documentation

virtual int MovieFileInterface::GetBitsPixel  )  [pure virtual]
 

Return bits per pixel of images.

Assumed constant throughout the movie.

Implemented in ImageSequenceMovieFile, oxp_vidl_moviefile, and SGIMovieFile.

bool MovieFileInterface::GetField int  field_index,
void *  buffer
[virtual]
 

Grab field into supplied buffer, which is GetBitsPixel * SizeX * SizeY.

Reimplemented in ImageSequenceMovieFile, oxp_vidl_moviefile, and SGIMovieFile.

Definition at line 22 of file MovieFileInterface.cxx.

bool MovieFileInterface::GetFrame int  frame_index,
void *  buffer
[virtual]
 

Grab frame into supplied buffer, which is GetBitsPixel * SizeX * SizeY.

Reimplemented in ImageSequenceMovieFile, oxp_vidl_moviefile, and SGIMovieFile.

Definition at line 16 of file MovieFileInterface.cxx.

virtual vil1_image MovieFileInterface::GetImage int  frame_index  )  [pure virtual]
 

Implemented in ImageSequenceMovieFile, oxp_vidl_moviefile, and SGIMovieFile.

virtual int MovieFileInterface::GetLength  )  [pure virtual]
 

Return length of movie in frames.

Implemented in ImageSequenceMovieFile, oxp_vidl_moviefile, and SGIMovieFile.

virtual int MovieFileInterface::GetSizeX int  frame_index  )  [pure virtual]
 

Return size of the frame {frame_index}.

Implemented in ImageSequenceMovieFile, oxp_vidl_moviefile, and SGIMovieFile.

virtual int MovieFileInterface::GetSizeY int  frame_index  )  [pure virtual]
 

Implemented in ImageSequenceMovieFile, oxp_vidl_moviefile, and SGIMovieFile.

virtual bool MovieFileInterface::HasFrame int  frame_index  )  [pure virtual]
 

Return true if frame_index is a valid frame.

Implemented in ImageSequenceMovieFile, oxp_vidl_moviefile, and SGIMovieFile.

virtual bool MovieFileInterface::IsInterlaced  )  [pure virtual]
 

Return true if frames are stored as a pair of interlaced fields.

Implemented in ImageSequenceMovieFile, oxp_vidl_moviefile, and SGIMovieFile.


Member Data Documentation

bool MovieFileInterface::verbose = false [static]
 

General verbosity flag for various movie-related operations.

Definition at line 46 of file MovieFileInterface.h.


The documentation for this struct was generated from the following files:
Generated on Thu Jan 10 14:46:08 2008 for contrib/oxl/oxp by  doxygen 1.4.4