vdr  2.2.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cPicturePlayer Class Reference

Public Member Functions

 cPicturePlayer (void)
 
 ~cPicturePlayer ()
 
void SetPicture (const char *FileName)
 
- Public Member Functions inherited from cPlayer
 cPlayer (ePlayMode PlayMode=pmAudioVideo)
 
virtual ~cPlayer ()
 
bool IsAttached (void)
 
virtual double FramesPerSecond (void)
 
virtual bool GetIndex (int &Current, int &Total, bool SnapToIFrame=false)
 
virtual bool GetReplayMode (bool &Play, bool &Forward, int &Speed)
 
virtual void SetAudioTrack (eTrackType Type, const tTrackId *TrackId)
 
virtual void SetSubtitleTrack (eTrackType Type, const tTrackId *TrackId)
 

Private Member Functions

virtual void Activate (bool On)
 

Private Attributes

int size
 
int length
 
ucharbuffer
 

Additional Inherited Members

- Protected Member Functions inherited from cPlayer
void DeviceClrAvailableTracks (bool DescriptionsOnly=false)
 
bool DeviceSetAvailableTrack (eTrackType Type, int Index, uint16_t Id, const char *Language=NULL, const char *Description=NULL)
 
bool DeviceSetCurrentAudioTrack (eTrackType Type)
 
bool DeviceSetCurrentSubtitleTrack (eTrackType Type)
 
bool DevicePoll (cPoller &Poller, int TimeoutMs=0)
 
bool DeviceFlush (int TimeoutMs=0)
 
bool DeviceHasIBPTrickSpeed (void)
 
bool DeviceIsPlayingVideo (void)
 
void DeviceTrickSpeed (int Speed, bool Forward)
 
void DeviceClear (void)
 
void DevicePlay (void)
 
void DeviceFreeze (void)
 
void DeviceMute (void)
 
void DeviceSetVideoDisplayFormat (eVideoDisplayFormat VideoDisplayFormat)
 
void DeviceStillPicture (const uchar *Data, int Length)
 
uint64_t DeviceGetSTC (void)
 
void Detach (void)
 
int PlayPes (const uchar *Data, int Length, bool VideoOnly=false)
 
int PlayTs (const uchar *Data, int Length, bool VideoOnly=false)
 

Detailed Description

Definition at line 31 of file PLUGINS/src/pictures/player.c.

Constructor & Destructor Documentation

cPicturePlayer::cPicturePlayer ( void  )

Definition at line 43 of file PLUGINS/src/pictures/player.c.

References buffer, KILOBYTE, length, MALLOC, and size.

cPicturePlayer::~cPicturePlayer ( )

Definition at line 50 of file PLUGINS/src/pictures/player.c.

References buffer.

Member Function Documentation

void cPicturePlayer::Activate ( bool  On)
privatevirtual

Reimplemented from cPlayer.

Definition at line 55 of file PLUGINS/src/pictures/player.c.

References buffer, cPlayer::DeviceStillPicture(), and length.

void cPicturePlayer::SetPicture ( const char *  FileName)

Member Data Documentation

uchar* cPicturePlayer::buffer
private
int cPicturePlayer::length
private

Definition at line 34 of file PLUGINS/src/pictures/player.c.

Referenced by Activate(), cPicturePlayer(), and SetPicture().

int cPicturePlayer::size
private

Definition at line 33 of file PLUGINS/src/pictures/player.c.

Referenced by cPicturePlayer(), and SetPicture().


The documentation for this class was generated from the following file: