vdr 2.6.6
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

◆ DBGMTD

#define DBGMTD ( a...)

Definition at line 17 of file mtd.c.

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

◆ MAX_REAL_PIDS

#define MAX_REAL_PIDS   MAXPID

Definition at line 22 of file mtd.c.

◆ MAX_UNIQ_PIDS

#define MAX_UNIQ_PIDS   256

Definition at line 27 of file mtd.c.

Referenced by cMtdMapper::MakeUniqPid().

◆ MTD_BUFFER_SIZE

#define MTD_BUFFER_SIZE   MEGABYTE(1)

Definition at line 248 of file mtd.c.

Referenced by cMtdCamSlot::cMtdCamSlot().

◆ MTD_INVALID_PID

#define MTD_INVALID_PID   0xFFFF

Definition at line 153 of file mtd.c.

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

◆ UNIQ_PID_MASK

#define UNIQ_PID_MASK   0x00FF

Definition at line 28 of file mtd.c.

Referenced by cMtdMapper::UniqToRealPid().

◆ UNIQ_PID_SHIFT

#define UNIQ_PID_SHIFT   8

Definition at line 29 of file mtd.c.

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

Function Documentation

◆ MtdMapPid()

void MtdMapPid ( uchar * p,
cMtdMapper * MtdMapper )

Definition at line 241 of file mtd.c.

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

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

◆ MtdMapSid()

void MtdMapSid ( uchar * p,
cMtdMapper * MtdMapper )

Definition at line 233 of file mtd.c.

References cMtdMapper::RealToUniqSid().

Referenced by cCiCaPmt::MtdMapPids().