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()

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

Definition at line 304 of file dvbtables.cpp.

Referenced by DishEventTagsDescriptor::originalairdate(), and LocalTimeOffsetDescriptor::TimeOfChange().

◆ dvbdate2unix()

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

Definition at line 345 of file dvbtables.cpp.

Referenced by LocalTimeOffsetDescriptor::TimeOfChangeUnix().

◆ dvbdate2key()

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

Definition at line 363 of file dvbtables.cpp.

Referenced by DVBEventInformationTable::StartTimeKey().