|
SASC-NG
DVBSoftCAM
|
#include "channels.h"#include "ci.h"#include "eit.h"#include "filter.h"#include "nit.h"#include "pat.h"#include "sdt.h"#include "sections.h"#include "spu.h"#include "thread.h"#include "tools.h"Go to the source code of this file.
Classes | |
| struct | tTrackId |
| class | cDevice |
| The cDevice class is the base from which actual devices can be derived. More... | |
| class | cDevice::cPidHandle |
| class | cTSBuffer |
Defines | |
| #define | MAXDEVICES 16 |
| #define | MAXPIDHANDLES 64 |
| #define | MAXRECEIVERS 16 |
| #define | MAXVOLUME 255 |
| #define | VOLUMEDELTA 5 |
| #define | TS_SIZE 188 |
| #define | TS_SYNC_BYTE 0x47 |
| #define | PID_MASK_HI 0x1F |
| #define | IS_AUDIO_TRACK(t) (ttAudioFirst <= (t) && (t) <= ttAudioLast) |
| #define | IS_DOLBY_TRACK(t) (ttDolbyFirst <= (t) && (t) <= ttDolbyLast) |
Enumerations | |
| enum | eSetChannelResult { scrOk, scrNotAvailable, scrNoTransfer, scrFailed } |
| enum | ePlayMode { pmNone, pmAudioVideo, pmAudioOnly, pmAudioOnlyBlack, pmVideoOnly, pmExtern_THIS_SHOULD_BE_AVOIDED } |
| enum | eVideoSystem { vsPAL, vsNTSC } |
| enum | eVideoDisplayFormat { vdfPanAndScan, vdfLetterBox, vdfCenterCutOut } |
| enum | eTrackType { ttNone, ttAudio, ttAudioFirst = ttAudio, ttAudioLast = ttAudioFirst + 31, ttDolby, ttDolbyFirst = ttDolby, ttDolbyLast = ttDolbyFirst + 15, ttMaxTrackTypes } |
| #define IS_AUDIO_TRACK | ( | t | ) | (ttAudioFirst <= (t) && (t) <= ttAudioLast) |
| #define IS_DOLBY_TRACK | ( | t | ) | (ttDolbyFirst <= (t) && (t) <= ttDolbyLast) |
| #define MAXDEVICES 16 |
Definition at line 26 of file device.h.
Referenced by cDevice::cDevice(), cDevice::NextCardIndex(), and cDevice::SetUseDevice().
| #define MAXPIDHANDLES 64 |
Definition at line 27 of file device.h.
Referenced by cDevice::AddPid(), cDevice::DelPid(), and cDevice::HasPid().
| #define MAXRECEIVERS 16 |
Definition at line 28 of file device.h.
Referenced by cDevice::cDevice().
| #define TS_SIZE 188 |
Definition at line 32 of file device.h.
Referenced by cDeCsaTSBuffer::cDeCsaTSBuffer(), cDeCSA::Decrypt(), and cDeCsaTSBuffer::Get().
| #define TS_SYNC_BYTE 0x47 |
Definition at line 33 of file device.h.
Referenced by cDeCSA::Decrypt(), and cDeCsaTSBuffer::Get().
| enum ePlayMode |
| pmNone | |
| pmAudioVideo | |
| pmAudioOnly | |
| pmAudioOnlyBlack | |
| pmVideoOnly | |
| pmExtern_THIS_SHOULD_BE_AVOIDED |
Definition at line 38 of file device.h.
{ pmNone, // audio/video from decoder
pmAudioVideo, // audio/video from player
pmAudioOnly, // audio only from player, video from decoder
pmAudioOnlyBlack, // audio only from player, no video (black screen)
pmVideoOnly, // video only from player, audio from decoder
pmExtern_THIS_SHOULD_BE_AVOIDED
// external player (e.g. MPlayer), release the device
// WARNING: USE THIS MODE ONLY AS A LAST RESORT, IF YOU
// ABSOLUTELY, POSITIVELY CAN'T IMPLEMENT YOUR PLAYER
// THE WAY IT IS SUPPOSED TO WORK. FORCING THE DEVICE
// TO RELEASE ITS FILES HANDLES (OR WHATEVER RESOURCES
// IT MAY USE) TO ALLOW AN EXTERNAL PLAYER TO ACCESS
// THEM MEANS THAT SUCH A PLAYER WILL NEED TO HAVE
// DETAILED KNOWLEDGE ABOUT THE INTERNALS OF THE DEVICE
// IN USE. AS A CONSEQUENCE, YOUR PLAYER MAY NOT WORK
// IF A PARTICULAR VDR INSTALLATION USES A DEVICE NOT
// KNOWN TO YOUR PLAYER.
};
| enum eSetChannelResult |
Definition at line 36 of file device.h.
{ scrOk, scrNotAvailable, scrNoTransfer, scrFailed };
| enum eTrackType |
| ttNone | |
| ttAudio | |
| ttAudioFirst | |
| ttAudioLast | |
| ttDolby | |
| ttDolbyFirst | |
| ttDolbyLast | |
| ttMaxTrackTypes |
Definition at line 66 of file device.h.
{ ttNone,
ttAudio,
ttAudioFirst = ttAudio,
ttAudioLast = ttAudioFirst + 31, // MAXAPIDS - 1
ttDolby,
ttDolbyFirst = ttDolby,
ttDolbyLast = ttDolbyFirst + 15, // MAXDPIDS - 1
/* future...
ttSubtitle,
ttSubtitleFirst = ttSubtitle,
ttSubtitleLast = ttSubtitleFirst + 7, // MAXSPIDS - 1
*/
ttMaxTrackTypes
};
| enum eVideoDisplayFormat |
| enum eVideoSystem |