|
SASC-NG
DVBSoftCAM
|
#include <player.h>
Public Member Functions | |
| cPlayer (ePlayMode PlayMode=pmAudioVideo) | |
| virtual | ~cPlayer () |
| bool | IsAttached (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) |
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 | DevicePoll (cPoller &Poller, int TimeoutMs=0) |
| bool | DeviceFlush (int TimeoutMs=0) |
| void | DeviceTrickSpeed (int Speed) |
| void | DeviceClear (void) |
| void | DevicePlay (void) |
| void | DeviceFreeze (void) |
| void | DeviceMute (void) |
| void | DeviceSetVideoDisplayFormat (eVideoDisplayFormat VideoDisplayFormat) |
| void | DeviceStillPicture (const uchar *Data, int Length) |
| void | Detach (void) |
| virtual void | Activate (bool On) |
| int | PlayPes (const uchar *Data, int Length, bool VideoOnly=false) |
Friends | |
| class | cDevice |
| cPlayer::cPlayer | ( | ePlayMode | PlayMode = pmAudioVideo | ) |
| virtual cPlayer::~cPlayer | ( | ) | [virtual] |
| virtual void cPlayer::Activate | ( | bool | On | ) | [inline, protected, virtual] |
| void cPlayer::Detach | ( | void | ) | [protected] |
| void cPlayer::DeviceClear | ( | void | ) | [inline, protected] |
Definition at line 28 of file player.h.
References cDevice::Clear().
{ if (device) device->Clear(); }
| void cPlayer::DeviceClrAvailableTracks | ( | bool | DescriptionsOnly = false | ) | [inline, protected] |
Definition at line 22 of file player.h.
References cDevice::ClrAvailableTracks().
{ if (device) device->ClrAvailableTracks(DescriptionsOnly); }
| bool cPlayer::DeviceFlush | ( | int | TimeoutMs = 0 | ) | [inline, protected] |
Definition at line 26 of file player.h.
References cDevice::Flush().
{ return device ? device->Flush(TimeoutMs) : true; }
| void cPlayer::DeviceFreeze | ( | void | ) | [inline, protected] |
Definition at line 30 of file player.h.
References cDevice::Freeze().
{ if (device) device->Freeze(); }
| void cPlayer::DeviceMute | ( | void | ) | [inline, protected] |
| void cPlayer::DevicePlay | ( | void | ) | [inline, protected] |
| bool cPlayer::DevicePoll | ( | cPoller & | Poller, |
| int | TimeoutMs = 0 |
||
| ) | [inline, protected] |
Definition at line 25 of file player.h.
References cDevice::Poll().
{ return device ? device->Poll(Poller, TimeoutMs) : false; }
| bool cPlayer::DeviceSetAvailableTrack | ( | eTrackType | Type, |
| int | Index, | ||
| uint16_t | Id, | ||
| const char * | Language = NULL, |
||
| const char * | Description = NULL |
||
| ) | [inline, protected] |
Definition at line 23 of file player.h.
References cDevice::SetAvailableTrack().
{ return device ? device->SetAvailableTrack(Type, Index, Id, Language, Description) : false; }
| bool cPlayer::DeviceSetCurrentAudioTrack | ( | eTrackType | Type | ) | [inline, protected] |
Definition at line 24 of file player.h.
References cDevice::SetCurrentAudioTrack().
{ return device ? device->SetCurrentAudioTrack(Type) : false; }
| void cPlayer::DeviceSetVideoDisplayFormat | ( | eVideoDisplayFormat | VideoDisplayFormat | ) | [inline, protected] |
Definition at line 32 of file player.h.
References cDevice::SetVideoDisplayFormat().
{ if (device) device->SetVideoDisplayFormat(VideoDisplayFormat); }
| void cPlayer::DeviceStillPicture | ( | const uchar * | Data, |
| int | Length | ||
| ) | [inline, protected] |
Definition at line 33 of file player.h.
References cDevice::StillPicture().
{ if (device) device->StillPicture(Data, Length); }
| void cPlayer::DeviceTrickSpeed | ( | int | Speed | ) | [inline, protected] |
Definition at line 27 of file player.h.
References cDevice::TrickSpeed().
{ if (device) device->TrickSpeed(Speed); }
| virtual bool cPlayer::GetIndex | ( | int & | Current, |
| int & | Total, | ||
| bool | SnapToIFrame = false |
||
| ) | [inline, virtual] |
| virtual bool cPlayer::GetReplayMode | ( | bool & | Play, |
| bool & | Forward, | ||
| int & | Speed | ||
| ) | [inline, virtual] |
| bool cPlayer::IsAttached | ( | void | ) | [inline] |
| int cPlayer::PlayPes | ( | const uchar * | Data, |
| int | Length, | ||
| bool | VideoOnly = false |
||
| ) | [protected] |
| virtual void cPlayer::SetAudioTrack | ( | eTrackType | Type, |
| const tTrackId * | TrackId | ||
| ) | [inline, virtual] |