MythTV
master
|
#include <cassert>
#include <QMutex>
#include <QString>
#include "libmythbase/programinfo.h"
#include "libmythtv/mythtvexp.h"
#include "mpegdescriptors.h"
Go to the source code of this file.
Typedefs | |
using | enc_override = std::vector< uint8_t > |
Functions | |
MTV_PUBLIC QDateTime | dvbdate2qt (const unsigned char *buf) |
MTV_PUBLIC time_t | dvbdate2unix (const unsigned char *buf) |
static QString | coderate_inner (uint coderate) |
MTV_PUBLIC QString | dvb_decode_text (const unsigned char *src, uint length, const enc_override &encoding_override) |
QString | dvb_decode_text (const unsigned char *src, uint length) |
MTV_PUBLIC QString | dvb_decode_short_name (const unsigned char *src, uint raw_length) |
static constexpr uint8_t | byteBCDH2int (uint8_t i) |
static constexpr uint8_t | byteBCDL2int (uint8_t i) |
static constexpr uint8_t | byteBCD2int (uint8_t i) |
static constexpr uint16_t | byte2BCD2int (uint8_t i, uint8_t j) |
static constexpr uint32_t | byte3BCD2int (uint8_t i, uint8_t j, uint8_t k) |
static constexpr uint32_t | byte4BCD2int (uint8_t i, uint8_t j, uint8_t k, uint8_t l) |
static constexpr uint64_t | byte4BCD2int64 (uint8_t i, uint8_t j, uint8_t k, uint8_t l) |
using enc_override = std::vector<uint8_t> |
Definition at line 43 of file dvbdescriptors.h.
dvbdate2qt | ( | const unsigned char * | buf | ) |
Definition at line 306 of file dvbtables.cpp.
Referenced by DishEventTagsDescriptor::originalairdate(), and LocalTimeOffsetDescriptor::TimeOfChange().
dvbdate2unix | ( | const unsigned char * | buf | ) |
Definition at line 351 of file dvbtables.cpp.
Referenced by LocalTimeOffsetDescriptor::TimeOfChangeUnix().
|
static |
Definition at line 2566 of file dvbdescriptors.h.
Referenced by CableDeliverySystemDescriptor::FECInnerString(), and SatelliteDeliverySystemDescriptor::FECInnerString().
MTV_PUBLIC QString dvb_decode_text | ( | const unsigned char * | src, |
uint | length, | ||
const enc_override & | encoding_override | ||
) |
Definition at line 130 of file dvbdescriptors.cpp.
Referenced by BouquetNameDescriptor::BouquetName(), TransportStreamDescriptor::Data(), dvb_decode_short_name(), dvb_decode_text(), ShortEventDescriptor::EventName(), ExtendedEventDescriptor::Items(), MessageDescriptor::Message(), NetworkNameDescriptor::Name(), SCTEComponentNameDescriptor::NameString(), ServiceDescriptor::ServiceName(), ServiceDescriptor::ServiceProviderName(), DataBroadcastDescriptor::Text(), ExtendedEventDescriptor::Text(), ShortEventDescriptor::Text(), and PrivateUPCCablecomEpisodeTitleDescriptor::Text().
|
inline |
Definition at line 47 of file dvbdescriptors.h.
MTV_PUBLIC QString dvb_decode_short_name | ( | const unsigned char * | src, |
uint | raw_length | ||
) |
Definition at line 233 of file dvbdescriptors.cpp.
Referenced by BouquetNameDescriptor::BouquetShortName(), FreesatCallsignDescriptor::Callsign(), ShortEventDescriptor::EventShortName(), ServiceDescriptor::ServiceProviderShortName(), ServiceDescriptor::ServiceShortName(), and NetworkNameDescriptor::ShortName().
|
staticconstexpr |
Definition at line 54 of file dvbdescriptors.h.
Referenced by byte2BCD2int(), byte3BCD2int(), byte4BCD2int(), byteBCD2int(), CableDeliverySystemDescriptor::SymbolRateHz(), and SatelliteDeliverySystemDescriptor::SymbolRateHz().
|
staticconstexpr |
Definition at line 55 of file dvbdescriptors.h.
Referenced by byte2BCD2int(), byte3BCD2int(), byte4BCD2int(), and byteBCD2int().
|
staticconstexpr |
Definition at line 56 of file dvbdescriptors.h.
Referenced by PremiereContentInformationTable::DurationInSeconds(), DVBEventInformationTable::DurationInSeconds(), dvbdate2key(), dvbdate2qt(), dvbdate2unix(), LocalTimeOffsetDescriptor::LocalTimeOffset(), LocalTimeOffsetDescriptor::NextTimeOffset(), and PremiereContentTransmissionDescriptor::StartTimeUTC().
|
staticconstexpr |
Definition at line 58 of file dvbdescriptors.h.
Referenced by SatelliteDeliverySystemDescriptor::OrbitalPosition().
|
staticconstexpr |
Definition at line 61 of file dvbdescriptors.h.
Referenced by CableDeliverySystemDescriptor::SymbolRateHz(), and SatelliteDeliverySystemDescriptor::SymbolRateHz().
|
staticconstexpr |
Definition at line 65 of file dvbdescriptors.h.
Referenced by byte4BCD2int64(), and FrequencyListDescriptor::Frequency().
|
staticconstexpr |
Definition at line 70 of file dvbdescriptors.h.
Referenced by CableDeliverySystemDescriptor::FrequencyHz(), and SatelliteDeliverySystemDescriptor::FrequencykHz().