openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
pvrparse.cpp File Reference
#include <lib/dvb/pvrparse.h>
#include <lib/dvb/decoder.h>
#include <lib/base/cfile.h>
#include <lib/base/eerror.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <byteswap.h>
#include <sys/mman.h>

Macros

#define PAGESIZE   4096
 
#define ROUND_TO_PAGESIZE(value)   ((value) & 0xFFFFF000)
 
#define MAPSIZE   (PAGESIZE*8)
 
#define structureCacheOffset(i)   ((off_t)be64toh(m_structure_cache[(i)*2]))
 
#define structureCacheData(i)   ((off_t)be64toh(m_structure_cache[(i)*2+1]))
 

Variables

static const int entry_size = 16
 

Macro Definition Documentation

◆ MAPSIZE

#define MAPSIZE   (PAGESIZE*8)

◆ PAGESIZE

#define PAGESIZE   4096

◆ ROUND_TO_PAGESIZE

#define ROUND_TO_PAGESIZE (   value)    ((value) & 0xFFFFF000)

◆ structureCacheData

#define structureCacheData (   i)    ((off_t)be64toh(m_structure_cache[(i)*2+1]))

◆ structureCacheOffset

#define structureCacheOffset (   i)    ((off_t)be64toh(m_structure_cache[(i)*2]))

Variable Documentation

◆ entry_size

const int entry_size = 16
static