vdr  1.7.31
Classes | Macros | Enumerations
device.h File Reference
#include "channels.h"
#include "ci.h"
#include "dvbsubtitle.h"
#include "eit.h"
#include "filter.h"
#include "nit.h"
#include "pat.h"
#include "remux.h"
#include "ringbuffer.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  cDeviceHook
class  cDevice
 The cDevice class is the base from which actual devices can be derived. More...
class  cDevice::cPidHandle
class  cTSBuffer
 Derived cDevice classes that can receive channels will have to provide Transport Stream (TS) packets one at a time. More...

Macros

#define MAXDEVICES   16
#define MAXPIDHANDLES   64
#define MAXRECEIVERS   16
#define MAXVOLUME   255
#define VOLUMEDELTA   5
#define MAXOCCUPIEDTIMEOUT   99
#define IS_AUDIO_TRACK(t)   (ttAudioFirst <= (t) && (t) <= ttAudioLast)
#define IS_DOLBY_TRACK(t)   (ttDolbyFirst <= (t) && (t) <= ttDolbyLast)
#define IS_SUBTITLE_TRACK(t)   (ttSubtitleFirst <= (t) && (t) <= ttSubtitleLast)

Enumerations

enum  eSetChannelResult {
  scrOk, scrNotAvailable, scrNoTransfer, scrFailed,
  scrOk, scrNotAvailable, scrNoTransfer, scrFailed
}
enum  ePlayMode {
  pmNone, pmAudioVideo, pmAudioOnly, pmAudioOnlyBlack,
  pmVideoOnly, pmExtern_THIS_SHOULD_BE_AVOIDED, pmNone, pmAudioVideo,
  pmAudioOnly, pmAudioOnlyBlack, pmVideoOnly, pmExtern_THIS_SHOULD_BE_AVOIDED
}
enum  eVideoSystem { vsPAL, vsNTSC, vsPAL, vsNTSC }
enum  eVideoDisplayFormat {
  vdfPanAndScan, vdfLetterBox, vdfCenterCutOut, vdfPanAndScan,
  vdfLetterBox, vdfCenterCutOut
}
enum  eTrackType {
  ttNone, ttAudio, ttAudioFirst = ttAudio, ttAudioLast = ttAudioFirst + 31,
  ttDolby, ttDolbyFirst = ttDolby, ttDolbyLast = ttDolbyFirst + 15, ttSubtitle,
  ttSubtitleFirst = ttSubtitle, ttSubtitleLast = ttSubtitleFirst + 31, ttMaxTrackTypes, ttNone,
  ttAudio, ttAudioFirst = ttAudio, ttAudioLast = ttAudioFirst + 31, ttDolby,
  ttDolbyFirst = ttDolby, ttDolbyLast = ttDolbyFirst + 15, ttSubtitle, ttSubtitleFirst = ttSubtitle,
  ttSubtitleLast = ttSubtitleFirst + 31, ttMaxTrackTypes
}

Macro Definition Documentation

#define IS_AUDIO_TRACK (   t)    (ttAudioFirst <= (t) && (t) <= ttAudioLast)
#define IS_DOLBY_TRACK (   t)    (ttDolbyFirst <= (t) && (t) <= ttDolbyLast)
#define IS_SUBTITLE_TRACK (   t)    (ttSubtitleFirst <= (t) && (t) <= ttSubtitleLast)

Definition at line 80 of file device.h.

Referenced by cDevice::SetAvailableTrack(), and cDevice::SetCurrentSubtitleTrack().

#define MAXDEVICES   16
#define MAXOCCUPIEDTIMEOUT   99

Definition at line 33 of file device.h.

Referenced by cDevice::SetOccupied().

#define MAXPIDHANDLES   64

Definition at line 29 of file device.h.

Referenced by cDevice::AddPid(), cDevice::DelPid(), and cDevice::HasPid().

#define MAXRECEIVERS   16
#define MAXVOLUME   255

Definition at line 31 of file device.h.

Referenced by cSetup::cSetup(), cDevice::SetVolume(), and cDisplayVolume::Show().

#define VOLUMEDELTA   5

Definition at line 32 of file device.h.

Referenced by cSVDRP::CmdVOLU(), and main().

Enumeration Type Documentation

enum ePlayMode
Enumerator:
pmNone 
pmAudioVideo 
pmAudioOnly 
pmAudioOnlyBlack 
pmVideoOnly 
pmExtern_THIS_SHOULD_BE_AVOIDED 
pmNone 
pmAudioVideo 
pmAudioOnly 
pmAudioOnlyBlack 
pmVideoOnly 
pmExtern_THIS_SHOULD_BE_AVOIDED 

Definition at line 37 of file device.h.

Enumerator:
scrOk 
scrNotAvailable 
scrNoTransfer 
scrFailed 
scrOk 
scrNotAvailable 
scrNoTransfer 
scrFailed 

Definition at line 35 of file device.h.

enum eTrackType
Enumerator:
ttNone 
ttAudio 
ttAudioFirst 
ttAudioLast 
ttDolby 
ttDolbyFirst 
ttDolbyLast 
ttSubtitle 
ttSubtitleFirst 
ttSubtitleLast 
ttMaxTrackTypes 
ttNone 
ttAudio 
ttAudioFirst 
ttAudioLast 
ttDolby 
ttDolbyFirst 
ttDolbyLast 
ttSubtitle 
ttSubtitleFirst 
ttSubtitleLast 
ttMaxTrackTypes 

Definition at line 65 of file device.h.

Enumerator:
vdfPanAndScan 
vdfLetterBox 
vdfCenterCutOut 
vdfPanAndScan 
vdfLetterBox 
vdfCenterCutOut 

Definition at line 60 of file device.h.

Enumerator:
vsPAL 
vsNTSC 
vsPAL 
vsNTSC 

Definition at line 56 of file device.h.