vdr  2.2.0
Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SI::CRC32 Class Reference

#include <util.h>

Public Member Functions

 CRC32 (const char *d, int len, u_int32_t CRCvalue=0xFFFFFFFF)
 
bool isValid ()
 

Static Public Member Functions

static bool isValid (const char *d, int len, u_int32_t CRCvalue=0xFFFFFFFF)
 
static u_int32_t crc32 (const char *d, int len, u_int32_t CRCvalue)
 

Protected Attributes

const char * data
 
int length
 
u_int32_t value
 

Static Protected Attributes

static u_int32_t crc_table [256]
 

Detailed Description

Definition at line 147 of file util.h.

Constructor & Destructor Documentation

SI::CRC32::CRC32 ( const char *  d,
int  len,
u_int32_t  CRCvalue = 0xFFFFFFFF 
)

Definition at line 278 of file util.c.

References SI::CharArray::Data::data.

Member Function Documentation

u_int32_t SI::CRC32::crc32 ( const char *  d,
int  len,
u_int32_t  CRCvalue 
)
static

Definition at line 267 of file util.c.

Referenced by cPatPmtGenerator::MakeCRC().

bool SI::CRC32::isValid ( )
inline

Definition at line 150 of file util.h.

References SI::CharArray::Data::data.

Referenced by SI::CRCSection::isCRCValid().

static bool SI::CRC32::isValid ( const char *  d,
int  len,
u_int32_t  CRCvalue = 0xFFFFFFFF 
)
inlinestatic

Definition at line 151 of file util.h.

Member Data Documentation

u_int32_t SI::CRC32::crc_table
staticprotected

Definition at line 154 of file util.h.

Referenced by SI::DVBTime::getDuration().

const char* SI::CRC32::data
protected

Definition at line 156 of file util.h.

int SI::CRC32::length
protected

Definition at line 157 of file util.h.

u_int32_t SI::CRC32::value
protected

Definition at line 158 of file util.h.


The documentation for this class was generated from the following files: