|
MythTV master
|
#include <QString>#include <QDateTime>#include <QDate>#include <QTime>#include <QSize>#include <chrono>#include <cstdint>#include "libmythbase/compat.h"#include "upnpexp.h"Go to the source code of this file.
Namespaces | |
| namespace | UPnPDateTime |
| Helpers for formatting dates and times to UPnP, DLNA and Dublin Core specifications. | |
| namespace | UPNPProtocol |
| Helpers for UPnP Protocol 'stuff'. | |
| namespace | DLNA |
| Helpers for building DLNA flag, strings and profiles. | |
Enumerations | |
| enum | UPNPProtocol::TransferProtocol : std::uint8_t { UPNPProtocol::kHTTP , UPNPProtocol::kRTP } |
| enum | DLNA::DLNA_Flags { DLNA::ksp_flag = 0x80000000 , DLNA::klop_npt = 0x40000000 , DLNA::klop_bytes = 0x20000000 , DLNA::kplaycontainer_param = 0x10000000 , DLNA::ks0_increasing = 0x8000000 , DLNA::ksn_increasing = 0x4000000 , DLNA::krtsp_pause = 0x2000000 , DLNA::ktm_s = 0x1000000 , DLNA::ktm_i = 0x800000 , DLNA::ktm_b = 0x400000 , DLNA::khttp_stalling = 0x200000 , DLNA::kv1_5_flag = 0x100000 , DLNA::kLP_flag = 0x10000 , DLNA::kcleartextbyteseek_full = 0x8000 , DLNA::klop_cleartextbytes = 0x4000 } |
| DLNA FLAGS. More... | |
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... | |