|
vdr 2.8.3
|
#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 | DeviceDrain (void) |
| 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 | |
| std::atomic< cDevice * > | device |
| ePlayMode | playMode |
Friends | |
| class | cDevice |
| cPlayer::cPlayer | ( | ePlayMode | PlayMode = pmAudioVideo | ) |
|
inlineprotectedvirtual |
Reimplemented in cDvbPlayer, cPicturePlayer, and cTransfer.
Definition at line 42 of file player.h.
Referenced by cDevice::AttachPlayer(), and cDevice::Detach().
|
protected |
Definition at line 34 of file player.c.
References cDevice, and device.
Referenced by cTransfer::Activate(), cDvbPlayer::~cDvbPlayer(), ~cPlayer(), and cTransfer::~cTransfer().
|
inlineprotected |
Definition at line 33 of file player.h.
References cDevice, and device.
Referenced by cDvbPlayer::Empty(), and cTransfer::Receive().
|
inlineprotected |
|
inlineprotected |
Definition at line 29 of file player.h.
References cDevice, device, and cDevice::Drain().
Referenced by cDvbPlayer::Action(), and DeviceFlush().
|
inlineprotected |
Definition at line 28 of file player.h.
References DeviceDrain().
|
inlineprotected |
Definition at line 35 of file player.h.
References cDevice, and device.
Referenced by cDvbPlayer::Action(), and cDvbPlayer::Pause().
|
inlineprotected |
Definition at line 40 of file player.h.
References cDevice, device, and cDevice::GetSTC().
Referenced by cDvbPlayer::Action(), cDvbPlayer::Empty(), cDvbPlayer::GetFrameNumber(), cDvbPlayer::GetIndex(), cDvbPlayer::Save(), and cDvbPlayer::SkipSeconds().
|
inlineprotected |
Definition at line 30 of file player.h.
References cDevice, device, and cDevice::HasIBPTrickSpeed().
Referenced by cDvbPlayer::Action(), cDvbPlayer::Forward(), cDvbPlayer::Pause(), and cDvbPlayer::Play().
|
inlineprotected |
Definition at line 31 of file player.h.
References cDevice, device, and cDevice::IsPlayingVideo().
Referenced by cDvbPlayer::Action(), cDvbPlayer::Backward(), and cDvbPlayer::Forward().
|
inlineprotected |
Definition at line 36 of file player.h.
References cDevice, and device.
Referenced by cDvbPlayer::Backward(), and cDvbPlayer::Forward().
|
inlineprotected |
Definition at line 34 of file player.h.
References cDevice, and device.
Referenced by cDvbPlayer::Action(), cDvbPlayer::Goto(), and cDvbPlayer::Play().
|
inlineprotected |
Definition at line 26 of file player.h.
References cDevice, device, and cDevice::Poll().
Referenced by cDvbPlayer::Action().
|
inlineprotected |
Definition at line 23 of file player.h.
References cDevice, device, and cDevice::SetAvailableTrack().
|
inlineprotected |
Definition at line 24 of file player.h.
References cDevice, device, and cDevice::SetCurrentAudioTrack().
|
inlineprotected |
Definition at line 25 of file player.h.
References cDevice, device, and cDevice::SetCurrentSubtitleTrack().
|
inlineprotected |
Definition at line 39 of file player.h.
References cDevice, and device.
Referenced by cDvbPlayer::Backward().
|
inlineprotected |
|
inlineprotected |
Definition at line 38 of file player.h.
References cDevice, and device.
Referenced by cPicturePlayer::Activate(), cDvbPlayer::Goto(), and cPicturePlayer::SetPicture().
|
inlineprotected |
Definition at line 32 of file player.h.
References cDevice, and device.
Referenced by cDvbPlayer::TrickSpeed().
|
inlinevirtual |
Reimplemented in cDvbPlayer.
Definition at line 58 of file player.h.
References DEFAULTFRAMESPERSECOND.
Referenced by cControl::FramesPerSecond().
|
inlinevirtual |
Reimplemented in cDvbPlayer.
|
inlinevirtual |
Reimplemented in cDvbPlayer.
Definition at line 65 of file player.h.
Referenced by cControl::GetFrameNumber().
|
inlinevirtual |
Reimplemented in cDvbPlayer.
Definition at line 62 of file player.h.
Referenced by cControl::GetIndex().
|
inlinevirtual |
Reimplemented in cDvbPlayer.
Definition at line 69 of file player.h.
Referenced by cControl::GetReplayMode().
|
inline |
Definition at line 57 of file player.h.
References device.
Referenced by cTransfer::Activate(), and cControl::Attach().
|
protected |
|
inlineprotected |
Definition at line 50 of file player.h.
References cDevice, device, and cDevice::PlayTs().
Referenced by cDvbPlayer::Action(), cTransfer::Activate(), and cTransfer::Receive().
|
inlinevirtual |
Reimplemented in cDvbPlayer.
|
inlinevirtual |
|
friend |
Definition at line 17 of file player.h.
References cDevice.
Referenced by cDevice, Detach(), DeviceClear(), DeviceClrAvailableTracks(), DeviceDrain(), DeviceFreeze(), DeviceGetSTC(), DeviceHasIBPTrickSpeed(), DeviceIsPlayingVideo(), DeviceMute(), DevicePlay(), DevicePoll(), DeviceSetAvailableTrack(), DeviceSetCurrentAudioTrack(), DeviceSetCurrentSubtitleTrack(), DeviceSetTempSubtitles(), DeviceSetVideoDisplayFormat(), DeviceStillPicture(), DeviceTrickSpeed(), PlayPes(), and PlayTs().
|
private |
Definition at line 19 of file player.h.
Referenced by cDevice::AttachPlayer(), cPlayer(), cDevice::Detach(), Detach(), DeviceClear(), DeviceClrAvailableTracks(), DeviceDrain(), DeviceFreeze(), DeviceGetSTC(), DeviceHasIBPTrickSpeed(), DeviceIsPlayingVideo(), DeviceMute(), DevicePlay(), DevicePoll(), DeviceSetAvailableTrack(), DeviceSetCurrentAudioTrack(), DeviceSetCurrentSubtitleTrack(), DeviceSetTempSubtitles(), DeviceSetVideoDisplayFormat(), DeviceStillPicture(), DeviceTrickSpeed(), IsAttached(), PlayPes(), and PlayTs().
|
private |
Definition at line 20 of file player.h.
Referenced by cDevice::AttachPlayer(), and cPlayer().