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

LibFlashPlugin Class Reference

#include </home/clem/local/src/opie/core/multimedia/opieplayer/libflash/libflashplugin.h>

Inheritance diagram for LibFlashPlugin:

Inheritance graph
[legend]
Collaboration diagram for LibFlashPlugin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LibFlashPlugin ()
 ~LibFlashPlugin ()
const char * pluginName ()
const char * pluginComment ()
double pluginVersion ()
bool isFileSupported (const QString &fileName)
bool open (const QString &fileName)
bool close ()
bool isOpen ()
const QStringfileInfo ()
int audioStreams ()
int audioChannels (int)
int audioFrequency (int)
int audioSamples (int)
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 stream)
int videoHeight (int stream)
double videoFrameRate (int stream)
int videoFrames (int stream)
bool videoSetFrame (long frame, int stream)
long videoGetFrame (int stream)
bool videoReadFrame (unsigned char **output_rows, int in_x, int in_y, int in_w, int in_h, ColorFormat color_model, int stream)
bool videoReadScaledFrame (unsigned char **output_rows, int in_x, int in_y, int in_w, int in_h, int out_w, int out_h, ColorFormat color_model, int stream)
bool videoReadYUVFrame (char *y_output, char *u_output, char *v_output, int in_x, int in_y, int in_w, int in_h, int stream)
double getTime ()
bool setSMP (int cpus)
bool setMMX (bool useMMX)
bool supportsAudio ()
bool supportsVideo ()
bool supportsYUV ()
bool supportsMMX ()
bool supportsSMP ()
bool supportsStereo ()
bool supportsScaling ()

Private Attributes

FlashHandle file
FlashDisplayfd
QString strInfo

Constructor & Destructor Documentation

LibFlashPlugin::LibFlashPlugin  ) 
 

Definition at line 67 of file libflashplugin.cpp.

References NULL.

LibFlashPlugin::~LibFlashPlugin  )  [inline]
 

Definition at line 34 of file libflashplugin.h.

References close().


Member Function Documentation

int LibFlashPlugin::audioChannels int   )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 48 of file libflashplugin.h.

int LibFlashPlugin::audioFrequency int   )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 49 of file libflashplugin.h.

long LibFlashPlugin::audioGetSample int  stream  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 167 of file libflashplugin.cpp.

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

Implements MediaPlayerDecoder.

Definition at line 170 of file libflashplugin.cpp.

References FALSE.

int LibFlashPlugin::audioSamples int   )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 50 of file libflashplugin.h.

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

Implements MediaPlayerDecoder.

Definition at line 166 of file libflashplugin.cpp.

References TRUE.

int LibFlashPlugin::audioStreams  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 47 of file libflashplugin.h.

bool LibFlashPlugin::close  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 42 of file libflashplugin.h.

References FlashClose(), NULL, and TRUE.

Referenced by ~LibFlashPlugin().

const QString& LibFlashPlugin::fileInfo  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 44 of file libflashplugin.h.

References qApp, and strInfo.

double LibFlashPlugin::getTime  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 221 of file libflashplugin.cpp.

bool LibFlashPlugin::isFileSupported const QString fileName  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 40 of file libflashplugin.h.

References QString::right().

bool LibFlashPlugin::isOpen  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 43 of file libflashplugin.h.

References NULL.

bool LibFlashPlugin::open const QString fileName  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 117 of file libflashplugin.cpp.

References FlashDisplay::bpl, FlashDisplay::bpp, FlashDisplay::clip_height, FlashDisplay::clip_width, FlashDisplay::clip_x, FlashDisplay::clip_y, FlashDisplay::depth, FLASH_PARSE_NEED_DATA, FlashDisplay::flash_refresh, FlashGetInfo(), FlashGraphicInit(), FlashNew(), FlashParse(), FlashSetGetSwfMethod(), FlashSetGetUrlMethod(), FlashSoundInit(), getSwf(), FlashDisplay::height, QString::latin1(), FlashDisplay::pixels, printf, readFile(), showUrl(), size, and FlashDisplay::width.

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

Implements MediaPlayerDecoder.

Definition at line 37 of file libflashplugin.h.

References FLASH_VERSION_STRING, and PLUGIN_NAME.

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

Implements MediaPlayerDecoder.

Definition at line 36 of file libflashplugin.h.

References FLASH_VERSION_STRING, and PLUGIN_NAME.

double LibFlashPlugin::pluginVersion  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 38 of file libflashplugin.h.

bool LibFlashPlugin::setMMX bool  useMMX  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 225 of file libflashplugin.cpp.

References TRUE.

bool LibFlashPlugin::setSMP int  cpus  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 224 of file libflashplugin.cpp.

References TRUE.

bool LibFlashPlugin::supportsAudio  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 79 of file libflashplugin.h.

References TRUE.

bool LibFlashPlugin::supportsMMX  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 82 of file libflashplugin.h.

References TRUE.

bool LibFlashPlugin::supportsScaling  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 85 of file libflashplugin.h.

References TRUE.

bool LibFlashPlugin::supportsSMP  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 83 of file libflashplugin.h.

References TRUE.

bool LibFlashPlugin::supportsStereo  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 84 of file libflashplugin.h.

References TRUE.

bool LibFlashPlugin::supportsVideo  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 80 of file libflashplugin.h.

References TRUE.

bool LibFlashPlugin::supportsYUV  )  [inline, virtual]
 

Implements MediaPlayerDecoder.

Definition at line 81 of file libflashplugin.h.

References TRUE.

double LibFlashPlugin::videoFrameRate int  stream  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 178 of file libflashplugin.cpp.

int LibFlashPlugin::videoFrames int  stream  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 179 of file libflashplugin.cpp.

long LibFlashPlugin::videoGetFrame int  stream  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 181 of file libflashplugin.cpp.

int LibFlashPlugin::videoHeight int  stream  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 177 of file libflashplugin.cpp.

bool LibFlashPlugin::videoReadFrame unsigned char **  output_rows,
int  in_x,
int  in_y,
int  in_w,
int  in_h,
ColorFormat  color_model,
int  stream
[virtual]
 

Implements MediaPlayerDecoder.

Definition at line 182 of file libflashplugin.cpp.

References TRUE.

bool LibFlashPlugin::videoReadScaledFrame unsigned char **  output_rows,
int  in_x,
int  in_y,
int  in_w,
int  in_h,
int  out_w,
int  out_h,
ColorFormat  color_model,
int  stream
[virtual]
 

Implements MediaPlayerDecoder.

Definition at line 184 of file libflashplugin.cpp.

References FeRefresh, FLASH_EVENT, FLASH_WAKEUP, FlashExec(), and FlashDisplay::pixels.

bool LibFlashPlugin::videoReadYUVFrame char *  y_output,
char *  u_output,
char *  v_output,
int  in_x,
int  in_y,
int  in_w,
int  in_h,
int  stream
[virtual]
 

Implements MediaPlayerDecoder.

Definition at line 218 of file libflashplugin.cpp.

References TRUE.

bool LibFlashPlugin::videoSetFrame long  frame,
int  stream
[virtual]
 

Implements MediaPlayerDecoder.

Definition at line 180 of file libflashplugin.cpp.

References TRUE.

int LibFlashPlugin::videoStreams  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 175 of file libflashplugin.cpp.

int LibFlashPlugin::videoWidth int  stream  )  [virtual]
 

Implements MediaPlayerDecoder.

Definition at line 176 of file libflashplugin.cpp.


Member Data Documentation

FlashDisplay* LibFlashPlugin::fd [private]
 

Definition at line 89 of file libflashplugin.h.

FlashHandle LibFlashPlugin::file [private]
 

Definition at line 88 of file libflashplugin.h.

QString LibFlashPlugin::strInfo [private]
 

Definition at line 90 of file libflashplugin.h.

Referenced by fileInfo().


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