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

oxp_mpeg_codec Class Reference

#include <oxp_mpeg_codec.h>

List of all members.


Detailed Description

Allows user to load MPEG files as vxl video.

use set_demux if mpeg is a VOB

Definition at line 13 of file oxp_mpeg_codec.h.

Public Member Functions

 oxp_mpeg_codec ()
 ~oxp_mpeg_codec ()
bool get_section (int position, void *ib, int x0, int y0, int xs, int ys) const
int put_section (int position, void *ib, int x0, int y0, int xs, int ys)
 put_section not implemented yet.
bool probe (vcl_string const &fname)
 probe the file fname, open it as an MPEG file. If this works, close it and return true. False otherwise.
bool load (vcl_string const &fname, char mode= 'r')
void close ()
int get_width () const
int get_height () const
void set_output_format_grey ()
void set_output_format_rgb ()

Private Member Functions

void set_demux_video ()
 Call this before calling decode on a multiplexed stream.

Private Attributes

oxp_mpeg_codec_dataimpl_


Constructor & Destructor Documentation

oxp_mpeg_codec::oxp_mpeg_codec  ) 
 

Definition at line 90 of file oxp_mpeg_codec.cxx.

oxp_mpeg_codec::~oxp_mpeg_codec  ) 
 

Definition at line 410 of file oxp_mpeg_codec.cxx.


Member Function Documentation

void oxp_mpeg_codec::close  ) 
 

Definition at line 433 of file oxp_mpeg_codec.cxx.

int oxp_mpeg_codec::get_height  )  const
 

Definition at line 883 of file oxp_mpeg_codec.cxx.

bool oxp_mpeg_codec::get_section int  position,
void *  ib,
int  x0,
int  y0,
int  xs,
int  ys
const
 

Definition at line 457 of file oxp_mpeg_codec.cxx.

int oxp_mpeg_codec::get_width  )  const
 

Definition at line 878 of file oxp_mpeg_codec.cxx.

bool oxp_mpeg_codec::load vcl_string const &  fname,
char  mode = 'r'
 

Definition at line 526 of file oxp_mpeg_codec.cxx.

bool oxp_mpeg_codec::probe vcl_string const &  fname  ) 
 

probe the file fname, open it as an MPEG file. If this works, close it and return true. False otherwise.

Definition at line 496 of file oxp_mpeg_codec.cxx.

int oxp_mpeg_codec::put_section int  position,
void *  ib,
int  x0,
int  y0,
int  xs,
int  ys
 

put_section not implemented yet.

We may need to change make_dib to be able to put a section different of the entire frame.

Definition at line 484 of file oxp_mpeg_codec.cxx.

void oxp_mpeg_codec::set_demux_video  )  [private]
 

Call this before calling decode on a multiplexed stream.

Pulls the 0xe0 stream.

Definition at line 592 of file oxp_mpeg_codec.cxx.

void oxp_mpeg_codec::set_output_format_grey  ) 
 

Definition at line 597 of file oxp_mpeg_codec.cxx.

void oxp_mpeg_codec::set_output_format_rgb  ) 
 

Definition at line 602 of file oxp_mpeg_codec.cxx.


Member Data Documentation

oxp_mpeg_codec_data* oxp_mpeg_codec::impl_ [private]
 

Definition at line 42 of file oxp_mpeg_codec.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