vdr 2.7.6
|
#include <player.h>
Public Member Functions | |
cPlayer (ePlayMode PlayMode=pmAudioVideo) | |
virtual | ~cPlayer () |
bool | IsAttached (void) |
virtual double | FramesPerSecond (void) |
virtual const cErrors * | GetErrors (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) |
Protected Member Functions | |
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) |
virtual void | Activate (bool On) |
int | PlayPes (const uchar *Data, int Length, bool VideoOnly=false) |
int | PlayTs (const uchar *Data, int Length, bool VideoOnly=false) |
Private Attributes | |
cDevice * | device |
ePlayMode | playMode |
Friends | |
class | cDevice |
cPlayer::cPlayer | ( | ePlayMode | PlayMode = pmAudioVideo | ) |
|
inlineprotectedvirtual |
Reimplemented in cDvbPlayer, cPicturePlayer, and cTransfer.
Definition at line 40 of file player.h.
Referenced by cDevice::Detach().
|
protected |
Definition at line 34 of file player.c.
References device.
Referenced by cTransfer::Activate(), cDvbPlayer::~cDvbPlayer(), ~cPlayer(), and cTransfer::~cTransfer().
|
inlineprotected |
Definition at line 31 of file player.h.
References device.
Referenced by cDvbPlayer::Empty(), and cTransfer::Receive().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 38 of file player.h.
References device.
Referenced by cDvbPlayer::Action(), cDvbPlayer::Empty(), cDvbPlayer::GetFrameNumber(), cDvbPlayer::GetIndex(), cDvbPlayer::Save(), and cDvbPlayer::SkipSeconds().
|
inlineprotected |
Definition at line 28 of file player.h.
References device.
Referenced by cDvbPlayer::Action(), cDvbPlayer::Forward(), cDvbPlayer::Pause(), and cDvbPlayer::Play().
|
inlineprotected |
Definition at line 29 of file player.h.
References device.
Referenced by cDvbPlayer::Action(), cDvbPlayer::Backward(), and cDvbPlayer::Forward().
|
inlineprotected |
Definition at line 34 of file player.h.
References device.
Referenced by cDvbPlayer::Backward(), and cDvbPlayer::Forward().
|
inlineprotected |
Definition at line 32 of file player.h.
References device.
Referenced by cDvbPlayer::Action(), cDvbPlayer::Goto(), and cDvbPlayer::Play().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 36 of file player.h.
References device.
Referenced by cPicturePlayer::Activate(), cDvbPlayer::Goto(), and cPicturePlayer::SetPicture().
|
inlineprotected |
|
inlinevirtual |
Reimplemented in cDvbPlayer.
Definition at line 56 of file player.h.
References DEFAULTFRAMESPERSECOND.
|
inlinevirtual |
Reimplemented in cDvbPlayer.
|
inlinevirtual |
Reimplemented in cDvbPlayer.
|
inlinevirtual |
Reimplemented in cDvbPlayer.
|
inlinevirtual |
Reimplemented in cDvbPlayer.
|
inline |
|
protected |
Definition at line 26 of file player.c.
References device, and esyslog.
Referenced by cDvbPlayer::Action().
|
inlineprotected |
Definition at line 48 of file player.h.
References device.
Referenced by cDvbPlayer::Action(), cTransfer::Activate(), and cTransfer::Receive().
|
inlinevirtual |
Reimplemented in cDvbPlayer.
|
inlinevirtual |
|
friend |
|
private |
Definition at line 19 of file player.h.
Referenced by cPlayer(), cDevice::Detach(), Detach(), DeviceClear(), DeviceClrAvailableTracks(), DeviceFlush(), DeviceFreeze(), DeviceGetSTC(), DeviceHasIBPTrickSpeed(), DeviceIsPlayingVideo(), DeviceMute(), DevicePlay(), DevicePoll(), DeviceSetAvailableTrack(), DeviceSetCurrentAudioTrack(), DeviceSetCurrentSubtitleTrack(), DeviceSetTempSubtitles(), DeviceSetVideoDisplayFormat(), DeviceStillPicture(), DeviceTrickSpeed(), IsAttached(), PlayPes(), and PlayTs().
|
private |