Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CL_MPEG Class Reference

#include <mpeg.h>

List of all members.

Public Methods

 CL_MPEG (const char *filename, bool video=true, bool audio=true)
 ~CL_MPEG ()
void set_audio (bool flag)
void set_video (bool flag)
void set_double (bool flag)
void set_loop (bool flag)
void set_volume (int volume)
void move (int x, int y)
bool has_video ()
bool has_audio ()
unsigned int get_width ()
unsigned int get_height ()
unsigned int get_current_frame ()
double get_current_fps ()
CL_MPEG_Status get_status ()
void play ()
void pause ()
void stop ()
void rewind ()
void set_display (CL_Target *dst, CL_Mutex *surfLock, CL_MPEG_DisplayCallback callback)
void set_display (CL_Target *dst)
char* get_error ()

Private Attributes

bool m_has_audio
bool m_has_video
bool m_double
bool m_loop
unsigned int m_width
unsigned int m_height
MPEGfile* obj


Constructor & Destructor Documentation

CL_MPEG::CL_MPEG ( const char * filename,
bool video = true,
bool audio = true )
 

CL_MPEG::~CL_MPEG ( )
 


Member Function Documentation

double CL_MPEG::get_current_fps ( ) [inline]
 

Definition at line 62 of file MPEG/mpeg.h.

unsigned int CL_MPEG::get_current_frame ( ) [inline]
 

Definition at line 60 of file MPEG/mpeg.h.

char* CL_MPEG::get_error ( )
 

unsigned int CL_MPEG::get_height ( ) [inline]
 

Definition at line 59 of file MPEG/mpeg.h.

CL_MPEG_Status CL_MPEG::get_status ( )
 

unsigned int CL_MPEG::get_width ( ) [inline]
 

Definition at line 58 of file MPEG/mpeg.h.

bool CL_MPEG::has_audio ( ) [inline]
 

Definition at line 56 of file MPEG/mpeg.h.

bool CL_MPEG::has_video ( ) [inline]
 

Definition at line 55 of file MPEG/mpeg.h.

void CL_MPEG::move ( int x,
int y )
 

void CL_MPEG::pause ( )
 

void CL_MPEG::play ( )
 

void CL_MPEG::rewind ( )
 

void CL_MPEG::set_audio ( bool flag )
 

void CL_MPEG::set_display ( CL_Target * dst )
 

void CL_MPEG::set_display ( CL_Target * dst,
CL_Mutex * surfLock,
CL_MPEG_DisplayCallback callback )
 

void CL_MPEG::set_double ( bool flag )
 

void CL_MPEG::set_loop ( bool flag )
 

void CL_MPEG::set_video ( bool flag )
 

void CL_MPEG::set_volume ( int volume )
 

void CL_MPEG::stop ( )
 


Member Data Documentation

bool CL_MPEG::m_double [private]
 

Definition at line 79 of file MPEG/mpeg.h.

bool CL_MPEG::m_has_audio [private]
 

Definition at line 78 of file MPEG/mpeg.h.

bool CL_MPEG::m_has_video [private]
 

Definition at line 78 of file MPEG/mpeg.h.

unsigned int CL_MPEG::m_height [private]
 

Definition at line 80 of file MPEG/mpeg.h.

bool CL_MPEG::m_loop [private]
 

Definition at line 79 of file MPEG/mpeg.h.

unsigned int CL_MPEG::m_width [private]
 

Definition at line 80 of file MPEG/mpeg.h.

MPEGfile* CL_MPEG::obj [private]
 

Definition at line 82 of file MPEG/mpeg.h.


The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:57:12 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001