Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

LibTremorPlugin Class Reference

#include </home/clem/local/src/opie/core/multimedia/opieplayer/vorbis/libtremorplugin.h>

Inheritance diagram for LibTremorPlugin:

Inheritance graph
[legend]
Collaboration diagram for LibTremorPlugin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LibTremorPlugin ()
 ~LibTremorPlugin ()
const char * pluginName ()
const char * pluginComment ()
double pluginVersion ()
bool isFileSupported (const QString &)
bool open (const QString &)
bool close ()
bool isOpen ()
const QStringfileInfo ()
int audioStreams ()
int audioChannels (int stream)
int audioFrequency (int stream)
int audioSamples (int stream)
bool audioSetSample (long sample, int stream)
long audioGetSample (int stream)
bool audioReadSamples (short *output, int channels, long samples, long &samplesRead, int stream)
int videoStreams ()
int videoWidth (int)
int videoHeight (int)
double videoFrameRate (int)
int videoFrames (int)
bool videoSetFrame (long, int)
long videoGetFrame (int)
bool videoReadFrame (unsigned char **, int, int, int, int, ColorFormat, int)
bool videoReadScaledFrame (unsigned char **, int, int, int, int, int, int, ColorFormat, int)
bool videoReadYUVFrame (char *, char *, char *, int, int, int, int, int)
double getTime ()
bool setSMP (int)
bool setMMX (bool)
bool supportsAudio ()
bool supportsVideo ()
bool supportsYUV ()
bool supportsMMX ()
bool supportsSMP ()
bool supportsStereo ()
bool supportsScaling ()
long getPlayTime ()

Private Attributes

LibTremorPluginDatad

Constructor & Destructor Documentation

LibTremorPlugin::LibTremorPlugin  ) 
 

Definition at line 69 of file libtremorplugin.cpp.

References LibTremorPluginData::bos, LibTremorPluginData::csection, d, LibTremorPluginData::f, LibTremorPluginData::finfo, odebug, oendl, LibTremorPluginData::vc, and LibTremorPluginData::vi.

LibTremorPlugin::~LibTremorPlugin  ) 
 

Definition at line 81 of file libtremorplugin.cpp.

References close(), and d.


Member Function Documentation

int LibTremorPlugin::audioChannels int  stream  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 200 of file libtremorplugin.cpp.

References vorbis_info::channels, d, odebug, oendl, and LibTremorPluginData::vi.

int LibTremorPlugin::audioFrequency int  stream  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 206 of file libtremorplugin.cpp.

References d, odebug, oendl, vorbis_info::rate, and LibTremorPluginData::vi.

long LibTremorPlugin::audioGetSample int  stream  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 224 of file libtremorplugin.cpp.

References debugMsg.

bool LibTremorPlugin::audioReadSamples short *  output,
int  channels,
long  samples,
long &  samplesRead,
int  stream
[virtual]
 

Implements MediaPlayerDecoder.

Definition at line 230 of file libtremorplugin.cpp.

References LibTremorPluginData::bos, buf, LibTremorPluginData::csection, d, ov_comment(), ov_info(), ov_read(), LibTremorPluginData::vc, LibTremorPluginData::vf, and LibTremorPluginData::vi.

int LibTremorPlugin::audioSamples int  stream  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 212 of file libtremorplugin.cpp.

References d, debugMsg, ov_pcm_total(), and LibTremorPluginData::vf.

bool LibTremorPlugin::audioSetSample long  sample,
int  stream
[virtual]
 

Implements MediaPlayerDecoder.

Definition at line 218 of file libtremorplugin.cpp.

References debugMsg, and FALSE.

int LibTremorPlugin::audioStreams  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 194 of file libtremorplugin.cpp.

References debugMsg.

bool LibTremorPlugin::close  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 167 of file libtremorplugin.cpp.

References d, debugMsg, LibTremorPluginData::f, FALSE, LibTremorPluginData::filename, LibTremorPluginData::finfo, odebug, oendl, and TRUE.

Referenced by ~LibTremorPlugin().

const QString & LibTremorPlugin::fileInfo  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 190 of file libtremorplugin.cpp.

References d, and LibTremorPluginData::finfo.

long LibTremorPlugin::getPlayTime  )  [inline, virtual]
 

Reimplemented from MediaPlayerDecoder.

Definition at line 86 of file libtremorplugin.h.

double LibTremorPlugin::getTime  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 274 of file libtremorplugin.cpp.

References debugMsg.

bool LibTremorPlugin::isFileSupported const QString  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 87 of file libtremorplugin.cpp.

References debugMsg, FALSE, QString::latin1(), and TRUE.

bool LibTremorPlugin::isOpen  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 184 of file libtremorplugin.cpp.

References d, debugMsg, and LibTremorPluginData::f.

bool LibTremorPlugin::open const QString  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 107 of file libtremorplugin.cpp.

References LibTremorPluginData::bos, d, debugMsg, LibTremorPluginData::f, FALSE, LibTremorPluginData::filename, QString::find(), LibTremorPluginData::finfo, i, QString::isEmpty(), QString::latin1(), QString::left(), QString::lower(), QString::mid(), NULL, odebug, oendl, ov_comment(), ov_info(), ov_open(), s, TRUE, vorbis_comment::user_comments, v, LibTremorPluginData::vc, LibTremorPluginData::vf, and LibTremorPluginData::vi.

const char* LibTremorPlugin::pluginComment  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 39 of file libtremorplugin.h.

const char* LibTremorPlugin::pluginName  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 38 of file libtremorplugin.h.

double LibTremorPlugin::pluginVersion  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 40 of file libtremorplugin.h.

bool LibTremorPlugin::setMMX bool   )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 75 of file libtremorplugin.h.

References FALSE.

bool LibTremorPlugin::setSMP int   )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 74 of file libtremorplugin.h.

References FALSE.

bool LibTremorPlugin::supportsAudio  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 78 of file libtremorplugin.h.

References TRUE.

bool LibTremorPlugin::supportsMMX  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 81 of file libtremorplugin.h.

References TRUE.

bool LibTremorPlugin::supportsScaling  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 84 of file libtremorplugin.h.

References FALSE.

bool LibTremorPlugin::supportsSMP  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 82 of file libtremorplugin.h.

References FALSE.

bool LibTremorPlugin::supportsStereo  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 83 of file libtremorplugin.h.

References TRUE.

bool LibTremorPlugin::supportsVideo  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 79 of file libtremorplugin.h.

References FALSE.

bool LibTremorPlugin::supportsYUV  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 80 of file libtremorplugin.h.

References FALSE.

double LibTremorPlugin::videoFrameRate int   )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 62 of file libtremorplugin.h.

int LibTremorPlugin::videoFrames int   )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 63 of file libtremorplugin.h.

long LibTremorPlugin::videoGetFrame int   )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 65 of file libtremorplugin.h.

int LibTremorPlugin::videoHeight int   )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 61 of file libtremorplugin.h.

bool LibTremorPlugin::videoReadFrame unsigned char **  ,
int  ,
int  ,
int  ,
int  ,
ColorFormat  ,
int 
[inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 66 of file libtremorplugin.h.

References FALSE.

bool LibTremorPlugin::videoReadScaledFrame unsigned char **  ,
int  ,
int  ,
int  ,
int  ,
int  ,
int  ,
ColorFormat  ,
int 
[inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 67 of file libtremorplugin.h.

References FALSE.

bool LibTremorPlugin::videoReadYUVFrame char *  ,
char *  ,
char *  ,
int  ,
int  ,
int  ,
int  ,
int 
[inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 68 of file libtremorplugin.h.

References FALSE.

bool LibTremorPlugin::videoSetFrame long  ,
int 
[inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 64 of file libtremorplugin.h.

References FALSE.

int LibTremorPlugin::videoStreams  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 59 of file libtremorplugin.h.

int LibTremorPlugin::videoWidth int   )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 60 of file libtremorplugin.h.


Member Data Documentation

LibTremorPluginData* LibTremorPlugin::d [private]
 

Definition at line 89 of file libtremorplugin.h.

Referenced by audioChannels(), audioFrequency(), audioReadSamples(), audioSamples(), close(), fileInfo(), isOpen(), LibTremorPlugin(), open(), and ~LibTremorPlugin().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:38:36 2005 for OPIE by  doxygen 1.4.2