vdr  2.4.0
Classes | Macros | Functions
mtd.c File Reference
#include "mtd.h"
#include "receiver.h"

Go to the source code of this file.

Classes

class  cMtdMapper
 

Macros

#define DBGMTD(a...)
 
#define MAX_REAL_PIDS   MAXPID
 
#define MAX_UNIQ_PIDS   256
 
#define UNIQ_PID_MASK   0x00FF
 
#define UNIQ_PID_SHIFT   8
 
#define MTD_INVALID_PID   0xFFFF
 
#define MTD_BUFFER_SIZE   MEGABYTE(1)
 

Functions

void MtdMapSid (uchar *p, cMtdMapper *MtdMapper)
 
void MtdMapPid (uchar *p, cMtdMapper *MtdMapper)
 

Macro Definition Documentation

#define DBGMTD (   a...)

Definition at line 17 of file mtd.c.

Referenced by cMtdMapper::Clear(), cMtdMapper::MakeUniqPid(), and cMtdMapper::RealToUniqSid().

#define MAX_REAL_PIDS   MAXPID

Definition at line 22 of file mtd.c.

#define MAX_UNIQ_PIDS   256

Definition at line 27 of file mtd.c.

Referenced by cMtdMapper::MakeUniqPid().

#define MTD_BUFFER_SIZE   MEGABYTE(1)

Definition at line 237 of file mtd.c.

Referenced by cMtdCamSlot::cMtdCamSlot().

#define MTD_INVALID_PID   0xFFFF

Definition at line 145 of file mtd.c.

Referenced by cMtdMapper::Clear(), and cMtdMapper::MakeUniqPid().

#define UNIQ_PID_MASK   0x00FF

Definition at line 28 of file mtd.c.

Referenced by cMtdMapper::UniqToRealPid().

#define UNIQ_PID_SHIFT   8

Definition at line 29 of file mtd.c.

Referenced by cMtdMapper::MakeUniqPid(), cMtdHandler::Put(), and cMtdMapper::RealToUniqSid().

Function Documentation

void MtdMapPid ( uchar p,
cMtdMapper MtdMapper 
)

Definition at line 230 of file mtd.c.

References Peek13(), Poke13(), and cMtdMapper::RealToUniqPid().

Referenced by MtdMapCaDescriptor(), MtdMapStream(), and cCaPidReceiver::Receive().

void MtdMapSid ( uchar p,
cMtdMapper MtdMapper 
)

Definition at line 225 of file mtd.c.

References Peek13(), Poke13(), and cMtdMapper::RealToUniqSid().

Referenced by cCiCaPmt::MtdMapPids().