SASC
DVBSoftCAM

channels.h File Reference

#include "config.h"
#include "sources.h"
#include "thread.h"
#include "tools.h"

Go to the source code of this file.

Classes

struct  tChannelParameterMap
struct  tChannelID
class  cLinkChannel
class  cLinkChannels
class  cChannel
class  cChannels

Defines

#define ISTRANSPONDER(f1, f2)   (abs((f1) - (f2)) < 4)
#define CHANNELMOD_NONE   0x00
#define CHANNELMOD_ALL   0xFF
#define CHANNELMOD_NAME   0x01
#define CHANNELMOD_PIDS   0x02
#define CHANNELMOD_ID   0x04
#define CHANNELMOD_CA   0x10
#define CHANNELMOD_TRANSP   0x20
#define CHANNELMOD_LANGS   0x40
#define CHANNELMOD_RETUNE   (CHANNELMOD_PIDS | CHANNELMOD_CA | CHANNELMOD_TRANSP)
#define CHANNELSMOD_NONE   0
#define CHANNELSMOD_AUTO   1
#define CHANNELSMOD_USER   2
#define MAXAPIDS   32
#define MAXDPIDS   64
#define MAXSPIDS   8
#define MAXCAIDS   8
#define MAXLANGCODE1   4
#define MAXLANGCODE2   8
#define CA_FTA   0x0000
#define CA_DVB_MIN   0x0001
#define CA_DVB_MAX   0x000F
#define CA_USER_MIN   0x0010
#define CA_USER_MAX   0x00FF
#define CA_ENCRYPTED_MIN   0x0100
#define CA_ENCRYPTED_MAX   0xFFFF

Functions

int MapToUser (int Value, const tChannelParameterMap *Map)
int MapToDriver (int Value, const tChannelParameterMap *Map)
int UserIndex (int Value, const tChannelParameterMap *Map)
int DriverIndex (int Value, const tChannelParameterMap *Map)
cString ChannelString (const cChannel *Channel, int Number)

Variables

const tChannelParameterMap InversionValues []
const tChannelParameterMap BandwidthValues []
const tChannelParameterMap CoderateValues []
const tChannelParameterMap ModulationValues []
const tChannelParameterMap TransmissionValues []
const tChannelParameterMap GuardValues []
const tChannelParameterMap HierarchyValues []
cChannels Channels

Define Documentation

#define CA_DVB_MAX   0x000F

Definition at line 44 of file channels.h.

#define CA_DVB_MIN   0x0001

Definition at line 43 of file channels.h.

#define CA_ENCRYPTED_MAX   0xFFFF

Definition at line 48 of file channels.h.

#define CA_ENCRYPTED_MIN   0x0100

Definition at line 47 of file channels.h.

Referenced by SCDEVICE::SetChannelDevice().

#define CA_FTA   0x0000

Definition at line 42 of file channels.h.

#define CA_USER_MAX   0x00FF

Definition at line 46 of file channels.h.

#define CA_USER_MIN   0x0010

Definition at line 45 of file channels.h.

#define CHANNELMOD_ALL   0xFF

Definition at line 21 of file channels.h.

#define CHANNELMOD_CA   0x10

Definition at line 25 of file channels.h.

#define CHANNELMOD_ID   0x04

Definition at line 24 of file channels.h.

#define CHANNELMOD_LANGS   0x40

Definition at line 27 of file channels.h.

#define CHANNELMOD_NAME   0x01

Definition at line 22 of file channels.h.

#define CHANNELMOD_NONE   0x00

Definition at line 20 of file channels.h.

#define CHANNELMOD_PIDS   0x02

Definition at line 23 of file channels.h.

#define CHANNELMOD_RETUNE   (CHANNELMOD_PIDS | CHANNELMOD_CA | CHANNELMOD_TRANSP)

Definition at line 28 of file channels.h.

#define CHANNELMOD_TRANSP   0x20

Definition at line 26 of file channels.h.

#define CHANNELSMOD_AUTO   1

Definition at line 31 of file channels.h.

#define CHANNELSMOD_NONE   0

Definition at line 30 of file channels.h.

#define CHANNELSMOD_USER   2

Definition at line 32 of file channels.h.

#define ISTRANSPONDER (   f1,
  f2 
)    (abs((f1) - (f2)) < 4)

Definition at line 18 of file channels.h.

#define MAXAPIDS   32

Definition at line 34 of file channels.h.

Referenced by cChannel::Alang(), cChannel::Apid(), process_cam(), and cChannel::SetPids().

#define MAXCAIDS   8

Definition at line 37 of file channels.h.

Referenced by cChannel::Ca().

#define MAXDPIDS   64
#define MAXLANGCODE1   4

Definition at line 39 of file channels.h.

#define MAXLANGCODE2   8

Definition at line 40 of file channels.h.

#define MAXSPIDS   8

Definition at line 36 of file channels.h.

Referenced by cChannel::Slang(), and cChannel::Spid().


Function Documentation

cString ChannelString ( const cChannel *  Channel,
int  Number 
)
int DriverIndex ( int  Value,
const tChannelParameterMap *  Map 
)
int MapToDriver ( int  Value,
const tChannelParameterMap *  Map 
)
int MapToUser ( int  Value,
const tChannelParameterMap *  Map 
)
int UserIndex ( int  Value,
const tChannelParameterMap *  Map 
)

Variable Documentation

Definition at line 74 of file vdrcompat.cpp.

Referenced by process_cam().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines