vdr  2.4.1
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 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)
 
#define DTV_STAT_VALID_NONE   0x0000
 
#define DTV_STAT_VALID_STRENGTH   0x0001
 
#define DTV_STAT_VALID_CNR   0x0002
 
#define DTV_STAT_VALID_BERPRE   0x0004
 
#define DTV_STAT_VALID_BERPOST   0x0008
 
#define DTV_STAT_VALID_PER   0x0010
 
#define DTV_STAT_VALID_STATUS   0x0020
 
#define DTV_STAT_HAS_NONE   0x0000
 
#define DTV_STAT_HAS_SIGNAL   0x0001
 
#define DTV_STAT_HAS_CARRIER   0x0002
 
#define DTV_STAT_HAS_VITERBI   0x0004
 
#define DTV_STAT_HAS_SYNC   0x0008
 
#define DTV_STAT_HAS_LOCK   0x0010
 
#define DEPRECATED_SETCURRENTCHANNEL   1
 

Enumerations

enum  eSetChannelResult { scrOk, scrNotAvailable, scrNoTransfer, scrFailed }
 
enum  ePlayMode {
  pmNone, pmAudioVideo, pmAudioOnly, pmAudioOnlyBlack,
  pmVideoOnly, pmExtern_THIS_SHOULD_BE_AVOIDED
}
 
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_SETCURRENTCHANNEL

#define DEPRECATED_SETCURRENTCHANNEL   1

Definition at line 353 of file device.h.

◆ DTV_STAT_HAS_CARRIER

#define DTV_STAT_HAS_CARRIER   0x0002

Definition at line 112 of file device.h.

◆ DTV_STAT_HAS_LOCK

#define DTV_STAT_HAS_LOCK   0x0010

Definition at line 115 of file device.h.

◆ DTV_STAT_HAS_NONE

#define DTV_STAT_HAS_NONE   0x0000

Definition at line 110 of file device.h.

◆ DTV_STAT_HAS_SIGNAL

#define DTV_STAT_HAS_SIGNAL   0x0001

Definition at line 111 of file device.h.

◆ DTV_STAT_HAS_SYNC

#define DTV_STAT_HAS_SYNC   0x0008

Definition at line 114 of file device.h.

◆ DTV_STAT_HAS_VITERBI

#define DTV_STAT_HAS_VITERBI   0x0004

Definition at line 113 of file device.h.

◆ DTV_STAT_VALID_BERPOST

#define DTV_STAT_VALID_BERPOST   0x0008

Definition at line 106 of file device.h.

◆ DTV_STAT_VALID_BERPRE

#define DTV_STAT_VALID_BERPRE   0x0004

Definition at line 105 of file device.h.

◆ DTV_STAT_VALID_CNR

#define DTV_STAT_VALID_CNR   0x0002

Definition at line 104 of file device.h.

◆ DTV_STAT_VALID_NONE

#define DTV_STAT_VALID_NONE   0x0000

The cDevice class is the base from which actual devices can be derived.

Definition at line 102 of file device.h.

◆ DTV_STAT_VALID_PER

#define DTV_STAT_VALID_PER   0x0010

Definition at line 107 of file device.h.

◆ DTV_STAT_VALID_STATUS

#define DTV_STAT_VALID_STATUS   0x0020

Definition at line 108 of file device.h.

◆ DTV_STAT_VALID_STRENGTH

#define DTV_STAT_VALID_STRENGTH   0x0001

Definition at line 103 of file device.h.

◆ IS_AUDIO_TRACK

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

Definition at line 76 of file device.h.

◆ IS_DOLBY_TRACK

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

Definition at line 77 of file device.h.

◆ IS_SUBTITLE_TRACK

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

Definition at line 78 of file device.h.

◆ MAXDEVICES

#define MAXDEVICES   16

Definition at line 29 of file device.h.

◆ MAXOCCUPIEDTIMEOUT

#define MAXOCCUPIEDTIMEOUT   99

Definition at line 34 of file device.h.

◆ MAXPIDHANDLES

#define MAXPIDHANDLES   64

Definition at line 30 of file device.h.

◆ MAXRECEIVERS

#define MAXRECEIVERS   16

Definition at line 31 of file device.h.

◆ MAXVOLUME

#define MAXVOLUME   255

Definition at line 32 of file device.h.

◆ VOLUMEDELTA

#define VOLUMEDELTA   (MAXVOLUME / Setup.VolumeSteps)

Definition at line 33 of file device.h.

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 63 of file device.h.

◆ eVideoDisplayFormat

Enumerator
vdfPanAndScan 
vdfLetterBox 
vdfCenterCutOut 

Definition at line 58 of file device.h.