vdr  2.2.0
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 "positioner.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
 
class  cDevice::cPidHandle
 
class  cTSBuffer
 

Macros

#define MAXDEVICES   16
 
#define MAXPIDHANDLES   64
 
#define MAXRECEIVERS   16
 
#define MAXVOLUME   255
 
#define VOLUMEDELTA   (MAXVOLUME / Setup.VolumeSteps)
 
#define MAXOCCUPIEDTIMEOUT   99
 
#define DEPRECATED_VIDEOSYSTEM
 
#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 }
 
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, ttSubtitle,
  ttSubtitleFirst = ttSubtitle, ttSubtitleLast = ttSubtitleFirst + 31, ttMaxTrackTypes
}
 

Macro Definition Documentation

◆ DEPRECATED_VIDEOSYSTEM

#define DEPRECATED_VIDEOSYSTEM

Definition at line 58 of file device.h.

◆ IS_AUDIO_TRACK

#define IS_AUDIO_TRACK (   t)    (ttAudioFirst <= (t) && (t) <= ttAudioLast)

◆ IS_DOLBY_TRACK

#define IS_DOLBY_TRACK (   t)    (ttDolbyFirst <= (t) && (t) <= ttDolbyLast)

◆ IS_SUBTITLE_TRACK

#define IS_SUBTITLE_TRACK (   t)    (ttSubtitleFirst <= (t) && (t) <= ttSubtitleLast)

Definition at line 85 of file device.h.

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

◆ MAXDEVICES

#define MAXDEVICES   16

◆ MAXOCCUPIEDTIMEOUT

#define MAXOCCUPIEDTIMEOUT   99

Definition at line 34 of file device.h.

Referenced by cDevice::SetOccupied().

◆ MAXPIDHANDLES

#define MAXPIDHANDLES   64

Definition at line 30 of file device.h.

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

◆ MAXRECEIVERS

#define MAXRECEIVERS   16

◆ MAXVOLUME

#define MAXVOLUME   255

Definition at line 32 of file device.h.

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

◆ VOLUMEDELTA

#define VOLUMEDELTA   (MAXVOLUME / Setup.VolumeSteps)

Definition at line 33 of file device.h.

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

Enumeration Type Documentation

◆ ePlayMode

enum ePlayMode
Enumerator
pmNone 
pmAudioVideo 
pmAudioOnly 
pmAudioOnlyBlack 
pmVideoOnly 
pmExtern_THIS_SHOULD_BE_AVOIDED 

Definition at line 39 of file device.h.

◆ eSetChannelResult

Enumerator
scrOk 
scrNotAvailable 
scrNoTransfer 
scrFailed 

Definition at line 36 of file device.h.

◆ eTrackType

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

Definition at line 70 of file device.h.

◆ eVideoDisplayFormat

Enumerator
vdfPanAndScan 
vdfLetterBox 
vdfCenterCutOut 

Definition at line 65 of file device.h.

◆ eVideoSystem

Enumerator
vsPAL 
vsNTSC 

Definition at line 60 of file device.h.