![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <transcodinginfo.h>
Public Member Functions | |
| TranscodingInfo (bool isVideoDirect, bool isAudioDirect, HardwareAccelerationType hardwareAccelerationType, QList< TranscodeReason > transcodeReasons) | |
| TranscodingInfo (const TranscodingInfo &other) | |
| void | replaceData (TranscodingInfo &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | audioCodec () const |
| Gets or sets the thread count used for encoding. | |
| void | setAudioCodec (QString newAudioCodec) |
| Gets or sets the thread count used for encoding. | |
| bool | audioCodecNull () const |
| void | setAudioCodecNull () |
| QString | videoCodec () const |
| Gets or sets the thread count used for encoding. | |
| void | setVideoCodec (QString newVideoCodec) |
| Gets or sets the thread count used for encoding. | |
| bool | videoCodecNull () const |
| void | setVideoCodecNull () |
| QString | container () const |
| Gets or sets the thread count used for encoding. | |
| void | setContainer (QString newContainer) |
| Gets or sets the thread count used for encoding. | |
| bool | containerNull () const |
| void | setContainerNull () |
| bool | isVideoDirect () const |
| Gets or sets a value indicating whether the video is passed through. | |
| void | setIsVideoDirect (bool newIsVideoDirect) |
| Gets or sets a value indicating whether the video is passed through. | |
| bool | isAudioDirect () const |
| Gets or sets a value indicating whether the audio is passed through. | |
| void | setIsAudioDirect (bool newIsAudioDirect) |
| Gets or sets a value indicating whether the audio is passed through. | |
| std::optional< qint32 > | bitrate () const |
| Gets or sets the bitrate. | |
| void | setBitrate (std::optional< qint32 > newBitrate) |
| Gets or sets the bitrate. | |
| bool | bitrateNull () const |
| void | setBitrateNull () |
| std::optional< float > | framerate () const |
| Gets or sets the framerate. | |
| void | setFramerate (std::optional< float > newFramerate) |
| Gets or sets the framerate. | |
| bool | framerateNull () const |
| void | setFramerateNull () |
| std::optional< double > | completionPercentage () const |
| Gets or sets the completion percentage. | |
| void | setCompletionPercentage (std::optional< double > newCompletionPercentage) |
| Gets or sets the completion percentage. | |
| bool | completionPercentageNull () const |
| void | setCompletionPercentageNull () |
| std::optional< qint32 > | width () const |
| Gets or sets the video width. | |
| void | setWidth (std::optional< qint32 > newWidth) |
| Gets or sets the video width. | |
| bool | widthNull () const |
| void | setWidthNull () |
| std::optional< qint32 > | height () const |
| Gets or sets the video height. | |
| void | setHeight (std::optional< qint32 > newHeight) |
| Gets or sets the video height. | |
| bool | heightNull () const |
| void | setHeightNull () |
| std::optional< qint32 > | audioChannels () const |
| Gets or sets the audio channels. | |
| void | setAudioChannels (std::optional< qint32 > newAudioChannels) |
| Gets or sets the audio channels. | |
| bool | audioChannelsNull () const |
| void | setAudioChannelsNull () |
| HardwareAccelerationType | hardwareAccelerationType () const |
| void | setHardwareAccelerationType (HardwareAccelerationType newHardwareAccelerationType) |
| QList< TranscodeReason > | transcodeReasons () const |
| Gets or sets the transcode reasons. | |
| void | setTranscodeReasons (QList< TranscodeReason > newTranscodeReasons) |
| Gets or sets the transcode reasons. | |
Static Public Member Functions | |
| static TranscodingInfo | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_audioCodec |
| QString | m_videoCodec |
| QString | m_container |
| bool | m_isVideoDirect |
| bool | m_isAudioDirect |
| std::optional< qint32 > | m_bitrate = std::nullopt |
| std::optional< float > | m_framerate = std::nullopt |
| std::optional< double > | m_completionPercentage = std::nullopt |
| std::optional< qint32 > | m_width = std::nullopt |
| std::optional< qint32 > | m_height = std::nullopt |
| std::optional< qint32 > | m_audioChannels = std::nullopt |
| HardwareAccelerationType | m_hardwareAccelerationType |
| QList< TranscodeReason > | m_transcodeReasons |
| Jellyfin::DTO::TranscodingInfo::TranscodingInfo | ( | bool | isVideoDirect, |
| bool | isAudioDirect, | ||
| HardwareAccelerationType | hardwareAccelerationType, | ||
| QList< TranscodeReason > | transcodeReasons ) |
| Jellyfin::DTO::TranscodingInfo::TranscodingInfo | ( | const TranscodingInfo & | other | ) |
| std::optional< qint32 > Jellyfin::DTO::TranscodingInfo::audioChannels | ( | ) | const |
Gets or sets the audio channels.
| bool Jellyfin::DTO::TranscodingInfo::audioChannelsNull | ( | ) | const |
| QString Jellyfin::DTO::TranscodingInfo::audioCodec | ( | ) | const |
Gets or sets the thread count used for encoding.
| bool Jellyfin::DTO::TranscodingInfo::audioCodecNull | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::TranscodingInfo::bitrate | ( | ) | const |
Gets or sets the bitrate.
| bool Jellyfin::DTO::TranscodingInfo::bitrateNull | ( | ) | const |
| std::optional< double > Jellyfin::DTO::TranscodingInfo::completionPercentage | ( | ) | const |
Gets or sets the completion percentage.
| bool Jellyfin::DTO::TranscodingInfo::completionPercentageNull | ( | ) | const |
| QString Jellyfin::DTO::TranscodingInfo::container | ( | ) | const |
Gets or sets the thread count used for encoding.
| bool Jellyfin::DTO::TranscodingInfo::containerNull | ( | ) | const |
| std::optional< float > Jellyfin::DTO::TranscodingInfo::framerate | ( | ) | const |
Gets or sets the framerate.
| bool Jellyfin::DTO::TranscodingInfo::framerateNull | ( | ) | const |
|
static |
| HardwareAccelerationType Jellyfin::DTO::TranscodingInfo::hardwareAccelerationType | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::TranscodingInfo::height | ( | ) | const |
Gets or sets the video height.
| bool Jellyfin::DTO::TranscodingInfo::heightNull | ( | ) | const |
| bool Jellyfin::DTO::TranscodingInfo::isAudioDirect | ( | ) | const |
Gets or sets a value indicating whether the audio is passed through.
| bool Jellyfin::DTO::TranscodingInfo::isVideoDirect | ( | ) | const |
Gets or sets a value indicating whether the video is passed through.
| void Jellyfin::DTO::TranscodingInfo::replaceData | ( | TranscodingInfo & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::TranscodingInfo::setAudioChannels | ( | std::optional< qint32 > | newAudioChannels | ) |
Gets or sets the audio channels.
| void Jellyfin::DTO::TranscodingInfo::setAudioChannelsNull | ( | ) |
| void Jellyfin::DTO::TranscodingInfo::setAudioCodec | ( | QString | newAudioCodec | ) |
Gets or sets the thread count used for encoding.
| void Jellyfin::DTO::TranscodingInfo::setAudioCodecNull | ( | ) |
| void Jellyfin::DTO::TranscodingInfo::setBitrate | ( | std::optional< qint32 > | newBitrate | ) |
Gets or sets the bitrate.
| void Jellyfin::DTO::TranscodingInfo::setBitrateNull | ( | ) |
| void Jellyfin::DTO::TranscodingInfo::setCompletionPercentage | ( | std::optional< double > | newCompletionPercentage | ) |
Gets or sets the completion percentage.
| void Jellyfin::DTO::TranscodingInfo::setCompletionPercentageNull | ( | ) |
| void Jellyfin::DTO::TranscodingInfo::setContainer | ( | QString | newContainer | ) |
Gets or sets the thread count used for encoding.
| void Jellyfin::DTO::TranscodingInfo::setContainerNull | ( | ) |
| void Jellyfin::DTO::TranscodingInfo::setFramerate | ( | std::optional< float > | newFramerate | ) |
Gets or sets the framerate.
| void Jellyfin::DTO::TranscodingInfo::setFramerateNull | ( | ) |
| void Jellyfin::DTO::TranscodingInfo::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::TranscodingInfo::setHardwareAccelerationType | ( | HardwareAccelerationType | newHardwareAccelerationType | ) |
| void Jellyfin::DTO::TranscodingInfo::setHeight | ( | std::optional< qint32 > | newHeight | ) |
Gets or sets the video height.
| void Jellyfin::DTO::TranscodingInfo::setHeightNull | ( | ) |
| void Jellyfin::DTO::TranscodingInfo::setIsAudioDirect | ( | bool | newIsAudioDirect | ) |
Gets or sets a value indicating whether the audio is passed through.
| void Jellyfin::DTO::TranscodingInfo::setIsVideoDirect | ( | bool | newIsVideoDirect | ) |
Gets or sets a value indicating whether the video is passed through.
| void Jellyfin::DTO::TranscodingInfo::setTranscodeReasons | ( | QList< TranscodeReason > | newTranscodeReasons | ) |
Gets or sets the transcode reasons.
| void Jellyfin::DTO::TranscodingInfo::setVideoCodec | ( | QString | newVideoCodec | ) |
Gets or sets the thread count used for encoding.
| void Jellyfin::DTO::TranscodingInfo::setVideoCodecNull | ( | ) |
| void Jellyfin::DTO::TranscodingInfo::setWidth | ( | std::optional< qint32 > | newWidth | ) |
Gets or sets the video width.
| void Jellyfin::DTO::TranscodingInfo::setWidthNull | ( | ) |
| QJsonObject Jellyfin::DTO::TranscodingInfo::toJson | ( | ) | const |
| QList< TranscodeReason > Jellyfin::DTO::TranscodingInfo::transcodeReasons | ( | ) | const |
Gets or sets the transcode reasons.
| QString Jellyfin::DTO::TranscodingInfo::videoCodec | ( | ) | const |
Gets or sets the thread count used for encoding.
| bool Jellyfin::DTO::TranscodingInfo::videoCodecNull | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::TranscodingInfo::width | ( | ) | const |
Gets or sets the video width.
| bool Jellyfin::DTO::TranscodingInfo::widthNull | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |