CKlearEngineXine Class Reference

Implementation of CKlearEngineAdapter for xine playback. More...

#include <CKlearEngineXine.h>

Inheritance diagram for CKlearEngineXine:

Inheritance graph
Collaboration diagram for CKlearEngineXine:

Collaboration graph

Public Member Functions

 CKlearEngineXine (QWidget *parent=0, const char *name=0, std::vector< CKlearAppEITData * > *storage=NULL, const QString &audioDriver=QString::null, const QString &videoDriver=QString::null, bool verbose=false)
 Constructor.
 ~CKlearEngineXine ()
 Destructor.
void EnginePlayStream (const QString &PlayFile)
 tell backend system to play a new file
void EngineStopStream ()
 tell backend system to stop playing
bool EngineIsPlaying ()
 if engine is playing a stream at the moment return value is true, else false
uchar * yv12ToRgb (uint8_t *src_y, uint8_t *src_u, uint8_t *src_v, int width, int height)
 converts yuv raw surface to RGB value map
void yuy2Toyv12 (uint8_t *y, uint8_t *u, uint8_t *v, uint8_t *input, int width, int height)
 converts yuy2 to yv12 surface
void hideMouse ()
 hides the mouspointer (with a static delay)
void setVolume (const int vol)
 sets volume of xine softmixer
int getVolume ()
 getss volume of xine softmixer
void toggleMute ()
 mutes soudnsystem
QImage getStreamSnapshot ()
 grabs a stream-frame and returns it with a QImage
void showOSDMessage (const QString &message, const uint duration)
 shows a given Message via OSD System
void showInfoOSD (const QString CurrChannel)
 Shows the normal information OSD Message for the current channel.
void toggleDeinterlacing ()
 set / unset default deinterlace filter
void play (const char *const iMrl)
 tell engine to play new source specified by iMrl
void stop ()
 tell engine to stop playing
void init ()
 initializes the engine components
void toggleMuting ()
 mutes the soundsystem
bool isMute ()
 returns true if sound is muted

Detailed Description

Implementation of CKlearEngineAdapter for xine playback.

Author:
Klear.org


Constructor & Destructor Documentation

void CKlearEngineXine::CKlearEngineXine QWidget *  parent = 0,
const char *  name = 0,
std::vector< CKlearAppEITData * > *  storage = NULL,
const QString &  audioDriver = QString::null,
const QString &  videoDriver = QString::null,
bool  verbose = false
 

Constructor.

Author:
Manuel Habermann <manuel@klear.org>, Patric Sherif <patric@klear.org>
Parameters:
parent pointer to parent widget
name name of the widget
audioDriver specifies audiodriver, for xine engine (auto if null)
videoDriver specifies videodriver, for xine engine (auto if null)
storage The EPg data vector
verbose enables xine verbose msg output

void CKlearEngineXine::~CKlearEngineXine  ) 
 

Destructor.

Author:
Manuel Habermann <manuel@klear.org>, Patric Sherif <patric@klear.org>


Member Function Documentation

bool CKlearEngineXine::EngineIsPlaying  )  [virtual]
 

if engine is playing a stream at the moment return value is true, else false

Author:
Manuel Habermann <manuel@klear.org>, Patric Sherif <patric@klear.org>
Return values:
bool if engine is playing a stream at the moment

Implements CKlearEngineAdapter.

void CKlearEngineXine::EnginePlayStream const QString &  PlayFile  )  [virtual]
 

tell backend system to play a new file

Author:
Manuel Habermann <manuel@klear.org>, Patric Sherif <patric@klear.org>
Return values:
void no retval
Parameters:
PlayFile file to be displayed

Implements CKlearEngineAdapter.

void CKlearEngineXine::EngineStopStream  )  [virtual]
 

tell backend system to stop playing

Author:
Manuel Habermann <manuel@klear.org>, Patric Sherif <patric@klear.org>
Return values:
void no retval

Implements CKlearEngineAdapter.

QImage CKlearEngineXine::getStreamSnapshot  )  [virtual]
 

grabs a stream-frame and returns it with a QImage

Author:
Kaffeine.sf.net
Return values:
QImage The screen snapshot in a QImage fileformat

Implements CKlearEngineAdapter.

int CKlearEngineXine::getVolume  )  [virtual]
 

getss volume of xine softmixer

Author:
Marco Kraus <marco@klear.org>
Return values:
int volume

Reimplemented from CKlearEngineAdapter.

void CKlearEngineXine::hideMouse  )  [virtual]
 

hides the mouspointer (with a static delay)

Author:
Manuel Habermann <manuel@klear.org>, Patric Sherif <patric@klear.org>
Return values:
void no retval

Implements CKlearEngineAdapter.

CKlearEngineXine::init  ) 
 

initializes the engine components

Author:
Manuel Habermann <manuel@klear.org>, Patric Sherif <patric@klear.org>
Return values:
void no retval

CKlearEngineXine::isMute  )  [virtual]
 

returns true if sound is muted

Author:
Manuel Habermann <manuel@klear.org>, Patric Sherif <patric@klear.org>
Return values:
bool mute status

Implements CKlearEngineAdapter.

CKlearEngineXine::play const char *const   iMrl  ) 
 

tell engine to play new source specified by iMrl

Author:
Manuel Habermann <manuel@klear.org>, Patric Sherif <patric@klear.org>
Return values:
void no retval
Parameters:
iMrl the file to be played by the backend

void CKlearEngineXine::setVolume const int  vol  )  [virtual]
 

sets volume of xine softmixer

Author:
Jürgen Kofler
Return values:
void no retval
Parameters:
vol mixer-volume

Reimplemented from CKlearEngineAdapter.

void CKlearEngineXine::showInfoOSD const QString  CurrChannel  )  [virtual]
 

Shows the normal information OSD Message for the current channel.

Author:
Manuel Habermann <manuel@klear.org>, Patric Sherif <patric@klear.org>
Return values:
void no retval

Implements CKlearEngineAdapter.

void CKlearEngineXine::showOSDMessage const QString &  message,
const uint  duration
[virtual]
 

shows a given Message via OSD System

Author:
Manuel Habermann <manuel@klear.org>, Patric Sherif <patric@klear.org>
Return values:
void no retval
Parameters:
message The shown Messagestring
duration The time in mSec to display the message

Implements CKlearEngineAdapter.

CKlearEngineXine::stop  ) 
 

tell engine to stop playing

Author:
Manuel Habermann <manuel@klear.org>, Patric Sherif <patric@klear.org>
Return values:
void no retval

void CKlearEngineXine::toggleDeinterlacing  )  [virtual]
 

set / unset default deinterlace filter

Author:
Manuel Habermann <manuel@klear.org>, Patric Sherif <patric@klear.org>
Return values:
void no retval

Implements CKlearEngineAdapter.

void CKlearEngineXine::toggleMute  )  [virtual]
 

mutes soudnsystem

Author:
Jürgen Kofler
Return values:
void no retval

Reimplemented from CKlearEngineAdapter.

void CKlearEngineXine::toggleMuting  ) 
 

mutes the soundsystem

Author:
Jürgen Kofler
Return values:
void no retval

void CKlearEngineXine::yuy2Toyv12 uint8_t *  y,
uint8_t *  u,
uint8_t *  v,
uint8_t *  input,
int  width,
int  height
 

converts yuy2 to yv12 surface

Author:
Kaffeine.sf.net
Return values:
void no retval

uchar * CKlearEngineXine::yv12ToRgb uint8_t *  src_y,
uint8_t *  src_u,
uint8_t *  src_v,
int  width,
int  height
 

converts yuv raw surface to RGB value map

Author:
Kaffeine.sf.net
Return values:
uchar* RGB map


The documentation for this class was generated from the following file:
Generated on Sun Nov 20 17:47:32 2005 for klear.kdevelop by  doxygen 1.4.5