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

oxp_vidl_moviefile Class Reference

#include <oxp_vidl_moviefile.h>

Inheritance diagram for oxp_vidl_moviefile:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 16 of file oxp_vidl_moviefile.h.

Public Member Functions

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

Static Public Attributes

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

Private Attributes

oxp_vidl_moviefile_privatesp


Constructor & Destructor Documentation

oxp_vidl_moviefile::oxp_vidl_moviefile char const *  filename  ) 
 

Definition at line 48 of file oxp_vidl_moviefile.cxx.

oxp_vidl_moviefile::~oxp_vidl_moviefile  ) 
 

Definition at line 56 of file oxp_vidl_moviefile.cxx.


Member Function Documentation

int oxp_vidl_moviefile::GetBitsPixel  )  [virtual]
 

Return bits per pixel of images.

Assumed constant throughout the movie.

Implements MovieFileInterface.

Definition at line 82 of file oxp_vidl_moviefile.cxx.

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

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

Reimplemented from MovieFileInterface.

Definition at line 108 of file oxp_vidl_moviefile.cxx.

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

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

Reimplemented from MovieFileInterface.

Definition at line 102 of file oxp_vidl_moviefile.cxx.

int oxp_vidl_moviefile::GetFrameOffset int  frame_index  ) 
 

int oxp_vidl_moviefile::GetFrameSize int  frame_index  ) 
 

vil1_image oxp_vidl_moviefile::GetImage int   )  [virtual]
 

Implements MovieFileInterface.

Definition at line 66 of file oxp_vidl_moviefile.cxx.

int oxp_vidl_moviefile::GetLength  )  [virtual]
 

Return length of movie in frames.

Implements MovieFileInterface.

Definition at line 61 of file oxp_vidl_moviefile.cxx.

int oxp_vidl_moviefile::GetSizeX int   )  [virtual]
 

Return size of the frame {frame_index}.

Implements MovieFileInterface.

Definition at line 72 of file oxp_vidl_moviefile.cxx.

int oxp_vidl_moviefile::GetSizeY int   )  [virtual]
 

Implements MovieFileInterface.

Definition at line 77 of file oxp_vidl_moviefile.cxx.

bool oxp_vidl_moviefile::HasFrame int   )  [virtual]
 

Return true if frame_index is a valid frame.

Implements MovieFileInterface.

Definition at line 97 of file oxp_vidl_moviefile.cxx.

bool oxp_vidl_moviefile::IsInterlaced  )  [virtual]
 

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

Implements MovieFileInterface.

Definition at line 87 of file oxp_vidl_moviefile.cxx.


Member Data Documentation

oxp_vidl_moviefile_privates* oxp_vidl_moviefile::p [private]
 

Definition at line 18 of file oxp_vidl_moviefile.h.

bool MovieFileInterface::verbose = false [static, inherited]
 

General verbosity flag for various movie-related operations.

Definition at line 46 of file MovieFileInterface.h.


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