30#ifndef JELLYFIN_DTO_TRANSCODINGINFO_H
31#define JELLYFIN_DTO_TRANSCODINGINFO_H
67 QJsonObject
toJson()
const;
102 std::optional<qint32>
bitrate()
const;
104 void setBitrate(std::optional<qint32> newBitrate);
123 std::optional<qint32>
width()
const;
125 void setWidth(std::optional<qint32> newWidth);
130 std::optional<qint32>
height()
const;
132 void setHeight(std::optional<qint32> newHeight);
Definition transcodinginfo.h:51
void setAudioChannelsNull()
Definition transcodinginfo.cpp:282
std::optional< qint32 > m_audioChannels
Definition transcodinginfo.h:162
bool m_isVideoDirect
Definition transcodinginfo.h:155
void setFromJson(QJsonObject source)
Definition transcodinginfo.cpp:83
QList< TranscodeReason > transcodeReasons() const
Definition transcodinginfo.cpp:286
bool transcodeReasonsNull() const
Definition transcodinginfo.cpp:291
void setFramerateNull()
Definition transcodinginfo.cpp:230
void setVideoCodecNull()
Definition transcodinginfo.cpp:179
bool audioCodecNull() const
Definition transcodinginfo.cpp:162
QString m_audioCodec
Definition transcodinginfo.h:152
bool framerateNull() const
Definition transcodinginfo.cpp:226
QString videoCodec() const
Definition transcodinginfo.cpp:170
std::optional< qint32 > width() const
Definition transcodinginfo.cpp:247
void setVideoCodec(QString newVideoCodec)
Definition transcodinginfo.cpp:172
QList< TranscodeReason > m_transcodeReasons
Definition transcodinginfo.h:163
void setIsAudioDirect(bool newIsAudioDirect)
Definition transcodinginfo.cpp:204
void setAudioChannels(std::optional< qint32 > newAudioChannels)
Definition transcodinginfo.cpp:275
bool isVideoDirect() const
Definition transcodinginfo.cpp:196
bool videoCodecNull() const
Definition transcodinginfo.cpp:175
bool widthNull() const
Definition transcodinginfo.cpp:252
void setWidth(std::optional< qint32 > newWidth)
Definition transcodinginfo.cpp:249
std::optional< qint32 > audioChannels() const
Definition transcodinginfo.cpp:273
QString m_videoCodec
Definition transcodinginfo.h:153
void setTranscodeReasonsNull()
Definition transcodinginfo.cpp:295
void setWidthNull()
Definition transcodinginfo.cpp:256
bool heightNull() const
Definition transcodinginfo.cpp:265
std::optional< float > framerate() const
Definition transcodinginfo.cpp:221
std::optional< qint32 > height() const
Definition transcodinginfo.cpp:260
void setAudioCodecNull()
Definition transcodinginfo.cpp:166
QString audioCodec() const
Definition transcodinginfo.cpp:157
void setIsVideoDirect(bool newIsVideoDirect)
Definition transcodinginfo.cpp:198
void setCompletionPercentageNull()
Definition transcodinginfo.cpp:243
void setHeight(std::optional< qint32 > newHeight)
Definition transcodinginfo.cpp:262
std::optional< double > m_completionPercentage
Definition transcodinginfo.h:159
void setBitrateNull()
Definition transcodinginfo.cpp:217
std::optional< qint32 > m_width
Definition transcodinginfo.h:160
std::optional< qint32 > bitrate() const
Definition transcodinginfo.cpp:208
QString container() const
Definition transcodinginfo.cpp:183
QJsonObject toJson() const
Definition transcodinginfo.cpp:99
void setContainerNull()
Definition transcodinginfo.cpp:192
bool audioChannelsNull() const
Definition transcodinginfo.cpp:278
bool completionPercentageNull() const
Definition transcodinginfo.cpp:239
void setBitrate(std::optional< qint32 > newBitrate)
Definition transcodinginfo.cpp:210
QString m_container
Definition transcodinginfo.h:154
bool m_isAudioDirect
Definition transcodinginfo.h:156
void setFramerate(std::optional< float > newFramerate)
Definition transcodinginfo.cpp:223
std::optional< qint32 > m_bitrate
Definition transcodinginfo.h:157
void setContainer(QString newContainer)
Definition transcodinginfo.cpp:185
void setTranscodeReasons(QList< TranscodeReason > newTranscodeReasons)
Definition transcodinginfo.cpp:288
bool containerNull() const
Definition transcodinginfo.cpp:188
std::optional< float > m_framerate
Definition transcodinginfo.h:158
void replaceData(TranscodingInfo &other)
Definition transcodinginfo.cpp:61
void setHeightNull()
Definition transcodinginfo.cpp:269
void setCompletionPercentage(std::optional< double > newCompletionPercentage)
Definition transcodinginfo.cpp:236
void setAudioCodec(QString newAudioCodec)
Definition transcodinginfo.cpp:159
bool isAudioDirect() const
Definition transcodinginfo.cpp:202
bool bitrateNull() const
Definition transcodinginfo.cpp:213
std::optional< double > completionPercentage() const
Definition transcodinginfo.cpp:234
std::optional< qint32 > m_height
Definition transcodinginfo.h:161
static TranscodingInfo fromJson(QJsonObject source)
Definition transcodinginfo.cpp:76
Definition mediaplayer2.h:20
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45