|
MythTV master
|
#include <libmythtv/mythvideoprofile.h>
Public Member Functions | |
| MythVideoProfileItem ()=default | |
| ~MythVideoProfileItem ()=default | |
| void | Clear () |
| void | SetProfileID (uint Id) |
| void | Set (const QString &Value, const QString &Data) |
| uint | GetProfileID () const |
| QString | Get (const QString &Value) const |
| uint | GetPriority () const |
| QMap< QString, QString > | GetAll () const |
| bool | CheckRange (const QString &Key, float Value, bool *Ok=nullptr) const |
| bool | CheckRange (const QString &Key, int Value, bool *Ok=nullptr) const |
| bool | CheckRange (const QString &Key, float FValue, int IValue, bool IsFloat, bool *Ok=nullptr) const |
| bool | IsMatch (QSize Size, float Framerate, const QString &CodecName, const QStringList &DisallowedDecoders=QStringList()) const |
| auto | IsValid () const |
| bool | operator< (const MythVideoProfileItem &Other) const |
| QString | toString () const |
Private Attributes | |
| uint | m_profileid { 0 } |
| QMap< QString, QString > | m_pref |
Definition at line 51 of file mythvideoprofile.h.
|
default |
|
default |
| bool MythVideoProfileItem::CheckRange | ( | const QString & | Key, |
| float | FValue, | ||
| int | IValue, | ||
| bool | IsFloat, | ||
| bool * | Ok = nullptr |
||
| ) | const |
Definition at line 71 of file mythvideoprofile.cpp.
| bool MythVideoProfileItem::CheckRange | ( | const QString & | Key, |
| float | Value, | ||
| bool * | Ok = nullptr |
||
| ) | const |
Definition at line 61 of file mythvideoprofile.cpp.
Referenced by CheckRange(), PlaybackProfileItemConfig::framerateChanged(), PlaybackProfileItemConfig::heightChanged(), IsMatch(), IsValid(), and PlaybackProfileItemConfig::widthChanged().
Definition at line 66 of file mythvideoprofile.cpp.
| void MythVideoProfileItem::Clear | ( | void | ) |
Definition at line 18 of file mythvideoprofile.cpp.
Referenced by doUpgradeTVDatabaseSchema().
| QString MythVideoProfileItem::Get | ( | const QString & | Value | ) | const |
Definition at line 43 of file mythvideoprofile.cpp.
Referenced by CheckRange(), PlaybackProfileItemConfig::framerateChanged(), GetPriority(), PlaybackProfileItemConfig::heightChanged(), IsMatch(), IsValid(), PlaybackProfileItemConfig::Load(), toString(), and PlaybackProfileItemConfig::widthChanged().
| QMap< QString, QString > MythVideoProfileItem::GetAll | ( | ) | const |
Definition at line 38 of file mythvideoprofile.cpp.
| uint MythVideoProfileItem::GetPriority | ( | ) | const |
Definition at line 51 of file mythvideoprofile.cpp.
Referenced by operator<().
| uint MythVideoProfileItem::GetProfileID | ( | ) | const |
Definition at line 33 of file mythvideoprofile.cpp.
| bool MythVideoProfileItem::IsMatch | ( | QSize | Size, |
| float | Framerate, | ||
| const QString & | CodecName, | ||
| const QStringList & | DisallowedDecoders = QStringList() |
||
| ) | const |
Definition at line 216 of file mythvideoprofile.cpp.
| auto MythVideoProfileItem::IsValid | ( | void | ) | const |
Definition at line 241 of file mythvideoprofile.cpp.
| bool MythVideoProfileItem::operator< | ( | const MythVideoProfileItem & | Other | ) | const |
Definition at line 264 of file mythvideoprofile.cpp.
| void MythVideoProfileItem::Set | ( | const QString & | Value, |
| const QString & | Data | ||
| ) |
Definition at line 28 of file mythvideoprofile.cpp.
Referenced by doUpgradeTVDatabaseSchema(), PlaybackProfileItemConfig::framerateChanged(), PlaybackProfileItemConfig::heightChanged(), PlaybackProfileItemConfig::Save(), and PlaybackProfileItemConfig::widthChanged().
| void MythVideoProfileItem::SetProfileID | ( | uint | Id | ) |
Definition at line 23 of file mythvideoprofile.cpp.
Referenced by doUpgradeTVDatabaseSchema().
| QString MythVideoProfileItem::toString | ( | void | ) | const |
Definition at line 269 of file mythvideoprofile.cpp.
|
private |
|
private |
Definition at line 79 of file mythvideoprofile.h.
Referenced by GetProfileID(), and SetProfileID().