vdr 2.7.6
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 const cErrorsGetErrors (void)
virtual bool GetIndex (int &Current, int &Total, bool SnapToIFrame=false)
virtual bool GetFrameNumber (int &Current, int &Total)
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) override

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)
void DeviceSetTempSubtitles (void)
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::cPicturePlayer ( void )

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

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

◆ ~cPicturePlayer()

cPicturePlayer::~cPicturePlayer ( )

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

References buffer.

Member Function Documentation

◆ Activate()

void cPicturePlayer::Activate ( bool On)
overrideprivatevirtual

Reimplemented from cPlayer.

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

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

◆ SetPicture()

void cPicturePlayer::SetPicture ( const char * FileName)

Member Data Documentation

◆ buffer

uchar* cPicturePlayer::buffer
private

◆ length

int cPicturePlayer::length
private

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

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

◆ size

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: