Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

channels.c File Reference

#include "channels.h"
#include <linux/dvb/frontend.h>
#include <ctype.h>

Include dependency graph for channels.c:

Include dependency graph

Go to the source code of this file.

Defines

#define ST(s)   if (strchr(s, type))

Functions

int UserIndex (int Value, const tChannelParameterMap *Map)
int DriverIndex (int Value, const tChannelParameterMap *Map)
int MapToUser (int Value, const tChannelParameterMap *Map)
int MapToDriver (int Value, const tChannelParameterMap *Map)
int MHz (int frequency)
int PrintParameter (char *p, char Name, int Value)
const char * ParseParameter (const char *s, int &Value, const tChannelParameterMap *Map)

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 ST      if (strchr(s, type))
 


Function Documentation

int DriverIndex int    Value,
const tChannelParameterMap   Map
 

Definition at line 96 of file channels.c.

References tChannelParameterMap::driverValue, and tChannelParameterMap::userValue.

Referenced by MapToUser(), and cMenuEditMapItem::ProcessKey().

int MapToDriver int    Value,
const tChannelParameterMap   Map
 

Definition at line 115 of file channels.c.

References tChannelParameterMap::driverValue, and UserIndex().

Referenced by ParseParameter().

int MapToUser int    Value,
const tChannelParameterMap   Map
 

Definition at line 107 of file channels.c.

References DriverIndex(), and tChannelParameterMap::userValue.

Referenced by cChannel::ParametersToString(), and cMenuEditMapItem::Set().

int MHz int    frequency [static]
 

Definition at line 196 of file channels.c.

Referenced by cChannel::GetChannelID().

const char* ParseParameter const char *    s,
int &    Value,
const tChannelParameterMap   Map
[static]
 

Definition at line 234 of file channels.c.

References esyslog, and MapToDriver().

Referenced by cChannel::StringToParameters().

int PrintParameter char *    p,
char    Name,
int    Value
[static]
 

Definition at line 208 of file channels.c.

Referenced by cChannel::ParametersToString().

int UserIndex int    Value,
const tChannelParameterMap   Map
 

Definition at line 85 of file channels.c.

References tChannelParameterMap::userValue.

Referenced by MapToDriver().


Variable Documentation

const tChannelParameterMap BandwidthValues[]
 

Initial value:

 {
  {   6, BANDWIDTH_6_MHZ },
  {   7, BANDWIDTH_7_MHZ },
  {   8, BANDWIDTH_8_MHZ },
  { 999, BANDWIDTH_AUTO },
  { -1 }
  }

Definition at line 27 of file channels.c.

cChannels Channels
 

Definition at line 375 of file channels.c.

Referenced by cChannel::Parse().

const tChannelParameterMap CoderateValues[]
 

Initial value:

 {
  {   0, FEC_NONE },
  {  12, FEC_1_2 },
  {  23, FEC_2_3 },
  {  34, FEC_3_4 },
  {  45, FEC_4_5 },
  {  56, FEC_5_6 },
  {  67, FEC_6_7 },
  {  78, FEC_7_8 },
  {  89, FEC_8_9 },
  { 999, FEC_AUTO },
  { -1 }
  }

Definition at line 35 of file channels.c.

const tChannelParameterMap GuardValues[]
 

Initial value:

 {
  {   4, GUARD_INTERVAL_1_4 },
  {   8, GUARD_INTERVAL_1_8 },
  {  16, GUARD_INTERVAL_1_16 },
  {  32, GUARD_INTERVAL_1_32 },
  { 999, GUARD_INTERVAL_AUTO },
  { -1 }
  }

Definition at line 67 of file channels.c.

const tChannelParameterMap HierarchyValues[]
 

Initial value:

 {
  {   0, HIERARCHY_NONE },
  {   1, HIERARCHY_1 },
  {   2, HIERARCHY_2 },
  {   4, HIERARCHY_4 },
  { 999, HIERARCHY_AUTO },
  { -1 }
  }

Definition at line 76 of file channels.c.

const tChannelParameterMap InversionValues[]
 

Initial value:

 {
  {   0, INVERSION_OFF },
  {   1, INVERSION_ON },
  { 999, INVERSION_AUTO },
  { -1 }
  }

Definition at line 20 of file channels.c.

const tChannelParameterMap ModulationValues[]
 

Initial value:

 {
  {   0, QPSK },
  {  16, QAM_16 },
  {  32, QAM_32 },
  {  64, QAM_64 },
  { 128, QAM_128 },
  { 256, QAM_256 },
  { 999, QAM_AUTO },
  { -1 }
  }

Definition at line 49 of file channels.c.

const tChannelParameterMap TransmissionValues[]
 

Initial value:

 {
  {   2, TRANSMISSION_MODE_2K },
  {   8, TRANSMISSION_MODE_8K },
  { 999, TRANSMISSION_MODE_AUTO },
  { -1 }
  }

Definition at line 60 of file channels.c.


Generated on Wed Feb 5 23:30:14 2003 for VDR by doxygen1.3-rc2