MythTV  master
Functions
dvbtables.cpp File Reference
#include <cmath>
#include "dvbtables.h"
#include "dvbdescriptors.h"
Include dependency graph for dvbtables.cpp:

Go to the source code of this file.

Functions

static uint GetPrivateDataSpecifier (const unsigned char *desc, uint priv_dsid)
 
QDateTime dvbdate2qt (const unsigned char *buf)
 
time_t dvbdate2unix (const unsigned char *buf)
 
uint32_t dvbdate2key (const unsigned char *buf)
 

Function Documentation

◆ GetPrivateDataSpecifier()

static uint GetPrivateDataSpecifier ( const unsigned char *  desc,
uint  priv_dsid 
)
static

◆ dvbdate2qt()

dvbdate2qt ( const unsigned char *  buf)
Returns
UTC time as QDateTime

Definition at line 289 of file dvbtables.cpp.

Referenced by DishEventTagsDescriptor::originalairdate(), DVBEventInformationTable::StartTimeUTC(), and TimeDateTable::UTC().

◆ dvbdate2unix()

dvbdate2unix ( const unsigned char *  buf)
Returns
UTC time as time_t

Definition at line 334 of file dvbtables.cpp.

Referenced by DVBEventInformationTable::StartTimeUnixUTC(), and TimeDateTable::UTCUnix().

◆ dvbdate2key()

dvbdate2key ( const unsigned char *  buf)
Returns
UTC time as 32 bit key

Definition at line 352 of file dvbtables.cpp.

Referenced by DVBEventInformationTable::StartTimeKey().