MythTV
master
|
#include <QString>
#include <QDateTime>
#include <QDate>
#include <QTime>
#include <QSize>
#include <chrono>
#include <cstdint>
#include "upnpexp.h"
#include "compat.h"
Go to the source code of this file.
Namespaces | |
UPnPDateTime | |
Helpers for formatting dates and times to UPnP, DLNA and Dublin Core specifications. | |
UPNPProtocol | |
Helpers for UPnP Protocol 'stuff'. | |
DLNA | |
Helpers for building DLNA flag, strings and profiles. | |
Enumerations | |
enum | UPNPProtocol::TransferProtocol { UPNPProtocol::kHTTP, UPNPProtocol::kRTP } |
Functions | |
QString | UPnPDateTime::resDurationFormat (std::chrono::milliseconds msec) |
res@duration Format B.2.1.4 res@duration - UPnP ContentDirectory Service 2008, 2013 More... | |
QString | UPnPDateTime::DurationFormat (std::chrono::milliseconds msec) |
Duration Format. More... | |
QString | UPnPDateTime::TimeFormat (QTime time) |
Time Format. More... | |
QString | UPnPDateTime::TimeFormat (std::chrono::milliseconds msec) |
Time Format. More... | |
QString | UPnPDateTime::DateTimeFormat (const QDateTime &dateTime) |
Date-Time Format. More... | |
QString | UPnPDateTime::NamedDayFormat (const QDateTime &dateTime) |
Named-Day Format. More... | |
QString | UPnPDateTime::NamedDayFormat (QDate date) |
Named-Day Format. More... | |
QString | DLNA::DLNAProfileName (const QString &mimeType, QSize resolution=QSize(), double videoFrameRate=0.0, const QString &container="", const QString &vidCodec="", const QString &audioCodec="") |
Try to determine a valid DLNA profile name for the file based on the supplied metadata. More... | |
QString | DLNA::DLNAFourthField (UPNPProtocol::TransferProtocol protocol, const QString &mimeType, QSize resolution, double videoFrameRate, const QString &container, const QString &vidCodec, const QString &audioCodec, bool isTranscoded) |
Create a properly formatted string for the 4th field of res@protocolInfo. More... | |
QString | DLNA::ProtocolInfoString (UPNPProtocol::TransferProtocol protocol, const QString &mimeType, QSize resolution=QSize(), double videoFrameRate=0.0, const QString &container="", const QString &vidCodec="", const QString &audioCodec="", bool isTranscoded=false) |
Create a properly formatted string for the 4th field of res@protocolInfo. More... | |
QString | DLNA::FlagsString (uint32_t flags) |
Convert an integer composed of DNLA_Flags to a properly formatted string for use in XML. More... | |
QString | DLNA::OpParamString (UPNPProtocol::TransferProtocol protocol) |
Create a properly formatted Operations Parameter (op-param) string for the given transport protocol based on what is supported by MythTV. More... | |
QString | DLNA::ConversionIndicatorString (bool wasConverted) |
Create a properly formatted Conversion Indicator (ci-param) String. More... | |
Variables | |
ksp_flag = 0x80000000 | |
klop_npt = 0x40000000 | |
klop_bytes = 0x20000000 | |
kplaycontainer_param = 0x10000000 | |
ks0_increasing = 0x8000000 | |
ksn_increasing = 0x4000000 | |
krtsp_pause = 0x2000000 | |
ktm_s = 0x1000000 | |
ktm_i = 0x800000 | |
ktm_b = 0x400000 | |
khttp_stalling = 0x200000 | |
kv1_5_flag = 0x100000 | |
kLP_flag = 0x10000 | |
kcleartextbyteseek_full = 0x8000 | |
klop_cleartextbytes = 0x4000 | |
ksp_flag = 0x80000000 |
Definition at line 231 of file upnphelpers.h.
klop_npt = 0x40000000 |
Definition at line 239 of file upnphelpers.h.
klop_bytes = 0x20000000 |
Definition at line 240 of file upnphelpers.h.
kplaycontainer_param = 0x10000000 |
Definition at line 243 of file upnphelpers.h.
ks0_increasing = 0x8000000 |
Definition at line 246 of file upnphelpers.h.
ksn_increasing = 0x4000000 |
Definition at line 247 of file upnphelpers.h.
krtsp_pause = 0x2000000 |
Definition at line 250 of file upnphelpers.h.
ktm_s = 0x1000000 |
Definition at line 253 of file upnphelpers.h.
Referenced by DLNA::DLNAFourthField(), DLNA::FlagsString(), and GetSourceProtocolInfos().
ktm_i = 0x800000 |
Definition at line 254 of file upnphelpers.h.
Referenced by DLNA::DLNAFourthField(), and DLNA::FlagsString().
ktm_b = 0x400000 |
Definition at line 255 of file upnphelpers.h.
Referenced by DLNA::DLNAFourthField(), and GetSourceProtocolInfos().
khttp_stalling = 0x200000 |
Definition at line 258 of file upnphelpers.h.
kv1_5_flag = 0x100000 |
Definition at line 261 of file upnphelpers.h.
Referenced by DLNA::DLNAFourthField(), DLNA::FlagsString(), and GetSourceProtocolInfos().
kLP_flag = 0x10000 |
Definition at line 268 of file upnphelpers.h.
kcleartextbyteseek_full = 0x8000 |
Definition at line 269 of file upnphelpers.h.
klop_cleartextbytes = 0x4000 |
Definition at line 270 of file upnphelpers.h.