Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
mediastream.h
Go to the documentation of this file.
1/*
2 * Sailfin: a Jellyfin client written using Qt
3 * Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19/*
20 * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
21 * OVERWRITTEN AT SOME POINT!
22 *
23 * If there is a bug in this file, please fix the code generator used to generate this file found in
24 * core/openapigenerator.d.
25 *
26 * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
27 * file with a newer file if needed instead of manually updating the files.
28 */
29
30#ifndef JELLYFIN_DTO_MEDIASTREAM_H
31#define JELLYFIN_DTO_MEDIASTREAM_H
32
33#include <QJsonObject>
34#include <QJsonValue>
35#include <QString>
36#include <optional>
37
41
42namespace Jellyfin {
43// Forward declaration
44class ApiClient;
45}
46namespace Jellyfin {
47namespace DTO {
48
49
51public:
53 bool isInterlaced,
54 bool isDefault,
55 bool isForced,
57 qint32 index,
58 bool isExternal,
62 );
63
64 MediaStream(const MediaStream &other);
65
69 void replaceData(MediaStream &other);
70
71 static MediaStream fromJson(QJsonObject source);
72 void setFromJson(QJsonObject source);
73 QJsonObject toJson() const;
74
75 // Properties
79 QString codec() const;
83 void setCodec(QString newCodec);
84 bool codecNull() const;
85 void setCodecNull();
86
90 QString codecTag() const;
94 void setCodecTag(QString newCodecTag);
95 bool codecTagNull() const;
96 void setCodecTagNull();
97
101 QString language() const;
105 void setLanguage(QString newLanguage);
106 bool languageNull() const;
107 void setLanguageNull();
108
112 QString colorRange() const;
116 void setColorRange(QString newColorRange);
117 bool colorRangeNull() const;
118 void setColorRangeNull();
119
123 QString colorSpace() const;
127 void setColorSpace(QString newColorSpace);
128 bool colorSpaceNull() const;
129 void setColorSpaceNull();
130
134 QString colorTransfer() const;
138 void setColorTransfer(QString newColorTransfer);
139 bool colorTransferNull() const;
141
145 QString colorPrimaries() const;
149 void setColorPrimaries(QString newColorPrimaries);
150 bool colorPrimariesNull() const;
152
156 QString comment() const;
160 void setComment(QString newComment);
161 bool commentNull() const;
162 void setCommentNull();
163
167 QString timeBase() const;
171 void setTimeBase(QString newTimeBase);
172 bool timeBaseNull() const;
173 void setTimeBaseNull();
174
178 QString codecTimeBase() const;
182 void setCodecTimeBase(QString newCodecTimeBase);
183 bool codecTimeBaseNull() const;
185
189 QString title() const;
193 void setTitle(QString newTitle);
194 bool titleNull() const;
195 void setTitleNull();
196
200 QString videoRange() const;
204 void setVideoRange(QString newVideoRange);
205 bool videoRangeNull() const;
206 void setVideoRangeNull();
207
208
209 QString localizedUndefined() const;
210
211 void setLocalizedUndefined(QString newLocalizedUndefined);
212 bool localizedUndefinedNull() const;
214
215
216 QString localizedDefault() const;
217
218 void setLocalizedDefault(QString newLocalizedDefault);
219 bool localizedDefaultNull() const;
221
222
223 QString localizedForced() const;
224
225 void setLocalizedForced(QString newLocalizedForced);
226 bool localizedForcedNull() const;
228
229
230 QString displayTitle() const;
231
232 void setDisplayTitle(QString newDisplayTitle);
233 bool displayTitleNull() const;
234 void setDisplayTitleNull();
235
236
237 QString nalLengthSize() const;
238
239 void setNalLengthSize(QString newNalLengthSize);
240 bool nalLengthSizeNull() const;
242
246 bool isInterlaced() const;
250 void setIsInterlaced(bool newIsInterlaced);
251
252
253 std::optional<bool> isAVC() const;
254
255 void setIsAVC(std::optional<bool> newIsAVC);
256 bool isAVCNull() const;
257 void setIsAVCNull();
258
262 QString channelLayout() const;
266 void setChannelLayout(QString newChannelLayout);
267 bool channelLayoutNull() const;
269
273 std::optional<qint32> bitRate() const;
277 void setBitRate(std::optional<qint32> newBitRate);
278 bool bitRateNull() const;
279 void setBitRateNull();
280
284 std::optional<qint32> bitDepth() const;
288 void setBitDepth(std::optional<qint32> newBitDepth);
289 bool bitDepthNull() const;
290 void setBitDepthNull();
291
295 std::optional<qint32> refFrames() const;
299 void setRefFrames(std::optional<qint32> newRefFrames);
300 bool refFramesNull() const;
301 void setRefFramesNull();
302
306 std::optional<qint32> packetLength() const;
310 void setPacketLength(std::optional<qint32> newPacketLength);
311 bool packetLengthNull() const;
312 void setPacketLengthNull();
313
317 std::optional<qint32> channels() const;
321 void setChannels(std::optional<qint32> newChannels);
322 bool channelsNull() const;
323 void setChannelsNull();
324
328 std::optional<qint32> sampleRate() const;
332 void setSampleRate(std::optional<qint32> newSampleRate);
333 bool sampleRateNull() const;
334 void setSampleRateNull();
335
339 bool isDefault() const;
343 void setIsDefault(bool newIsDefault);
344
348 bool isForced() const;
352 void setIsForced(bool newIsForced);
353
357 std::optional<qint32> height() const;
361 void setHeight(std::optional<qint32> newHeight);
362 bool heightNull() const;
363 void setHeightNull();
364
368 std::optional<qint32> width() const;
372 void setWidth(std::optional<qint32> newWidth);
373 bool widthNull() const;
374 void setWidthNull();
375
379 std::optional<float> averageFrameRate() const;
383 void setAverageFrameRate(std::optional<float> newAverageFrameRate);
384 bool averageFrameRateNull() const;
386
390 std::optional<float> realFrameRate() const;
394 void setRealFrameRate(std::optional<float> newRealFrameRate);
395 bool realFrameRateNull() const;
397
401 QString profile() const;
405 void setProfile(QString newProfile);
406 bool profileNull() const;
407 void setProfileNull();
408
409
410 MediaStreamType type() const;
411
412 void setType(MediaStreamType newType);
413
417 QString aspectRatio() const;
421 void setAspectRatio(QString newAspectRatio);
422 bool aspectRatioNull() const;
423 void setAspectRatioNull();
424
428 qint32 index() const;
432 void setIndex(qint32 newIndex);
433
437 std::optional<qint32> score() const;
441 void setScore(std::optional<qint32> newScore);
442 bool scoreNull() const;
443 void setScoreNull();
444
448 bool isExternal() const;
452 void setIsExternal(bool newIsExternal);
453
454
456
457 void setDeliveryMethod(SubtitleDeliveryMethod newDeliveryMethod);
458
462 QString deliveryUrl() const;
466 void setDeliveryUrl(QString newDeliveryUrl);
467 bool deliveryUrlNull() const;
468 void setDeliveryUrlNull();
469
473 std::optional<bool> isExternalUrl() const;
477 void setIsExternalUrl(std::optional<bool> newIsExternalUrl);
478 bool isExternalUrlNull() const;
480
481
482 bool isTextSubtitleStream() const;
483
484 void setIsTextSubtitleStream(bool newIsTextSubtitleStream);
485
489 bool supportsExternalStream() const;
493 void setSupportsExternalStream(bool newSupportsExternalStream);
494
498 QString path() const;
502 void setPath(QString newPath);
503 bool pathNull() const;
504 void setPathNull();
505
509 QString pixelFormat() const;
513 void setPixelFormat(QString newPixelFormat);
514 bool pixelFormatNull() const;
515 void setPixelFormatNull();
516
520 std::optional<double> level() const;
524 void setLevel(std::optional<double> newLevel);
525 bool levelNull() const;
526 void setLevelNull();
527
531 std::optional<bool> isAnamorphic() const;
535 void setIsAnamorphic(std::optional<bool> newIsAnamorphic);
536 bool isAnamorphicNull() const;
537 void setIsAnamorphicNull();
538
539
540protected:
541 QString m_codec;
542 QString m_codecTag;
543 QString m_language;
548 QString m_comment;
549 QString m_timeBase;
551 QString m_title;
559 std::optional<bool> m_isAVC = std::nullopt;
561 std::optional<qint32> m_bitRate = std::nullopt;
562 std::optional<qint32> m_bitDepth = std::nullopt;
563 std::optional<qint32> m_refFrames = std::nullopt;
564 std::optional<qint32> m_packetLength = std::nullopt;
565 std::optional<qint32> m_channels = std::nullopt;
566 std::optional<qint32> m_sampleRate = std::nullopt;
569 std::optional<qint32> m_height = std::nullopt;
570 std::optional<qint32> m_width = std::nullopt;
571 std::optional<float> m_averageFrameRate = std::nullopt;
572 std::optional<float> m_realFrameRate = std::nullopt;
573 QString m_profile;
576 qint32 m_index;
577 std::optional<qint32> m_score = std::nullopt;
581 std::optional<bool> m_isExternalUrl = std::nullopt;
584 QString m_path;
586 std::optional<double> m_level = std::nullopt;
587 std::optional<bool> m_isAnamorphic = std::nullopt;
588
589private:
590 // Private constructor which generates an invalid object, for use withing MediaStream::fromJson();
591 MediaStream();
592};
593
594
595} // NS DTO
596
597namespace Support {
598
600
601template <>
602MediaStream fromJsonValue(const QJsonValue &source, convertType<MediaStream>);
603
604template<>
605QJsonValue toJsonValue(const MediaStream &source, convertType<MediaStream>);
606
607} // NS DTO
608} // NS Jellyfin
609
610#endif // JELLYFIN_DTO_MEDIASTREAM_H
Value
Definition mediastreamtype.h:49
Definition mediastream.h:50
void setRefFrames(std::optional< qint32 > newRefFrames)
Gets or sets the reference frames.
Definition mediastream.cpp:704
std::optional< bool > isAnamorphic() const
Gets a value indicating whether this instance is anamorphic.
Definition mediastream.cpp:958
std::optional< double > m_level
Definition mediastream.h:586
void setLocalizedDefaultNull()
Definition mediastream.cpp:601
void setLocalizedDefault(QString newLocalizedDefault)
Definition mediastream.cpp:594
void setLevelNull()
Definition mediastream.cpp:954
QString channelLayout() const
Gets or sets the channel layout.
Definition mediastream.cpp:663
void setWidth(std::optional< qint32 > newWidth)
Gets or sets the width.
Definition mediastream.cpp:781
QString localizedUndefined() const
Definition mediastream.cpp:579
QString m_colorSpace
Definition mediastream.h:545
void setChannelsNull()
Definition mediastream.cpp:737
void setIsTextSubtitleStream(bool newIsTextSubtitleStream)
Definition mediastream.cpp:909
bool colorSpaceNull() const
Definition mediastream.cpp:480
QString pixelFormat() const
Gets or sets the pixel format.
Definition mediastream.cpp:932
QString comment() const
Gets or sets the comment.
Definition mediastream.cpp:514
QString profile() const
Gets or sets the profile.
Definition mediastream.cpp:818
QString m_title
Definition mediastream.h:551
std::optional< bool > m_isAVC
Definition mediastream.h:559
void setCodecTag(QString newCodecTag)
Gets or sets the codec tag.
Definition mediastream.cpp:438
std::optional< double > level() const
Gets or sets the level.
Definition mediastream.cpp:945
std::optional< float > realFrameRate() const
Gets or sets the real frame rate.
Definition mediastream.cpp:805
qint32 m_index
Definition mediastream.h:576
void setComment(QString newComment)
Gets or sets the comment.
Definition mediastream.cpp:516
QString title() const
Gets or sets the title.
Definition mediastream.cpp:553
std::optional< qint32 > score() const
Gets or sets the score.
Definition mediastream.cpp:856
void setDeliveryUrl(QString newDeliveryUrl)
Gets or sets the delivery URL.
Definition mediastream.cpp:883
bool m_isTextSubtitleStream
Definition mediastream.h:582
QString m_codecTimeBase
Definition mediastream.h:550
std::optional< qint32 > m_width
Definition mediastream.h:570
bool titleNull() const
Definition mediastream.cpp:558
void setScoreNull()
Definition mediastream.cpp:865
bool pathNull() const
Definition mediastream.cpp:924
QString aspectRatio() const
Gets or sets the aspect ratio.
Definition mediastream.cpp:837
bool colorTransferNull() const
Definition mediastream.cpp:493
void setNalLengthSizeNull()
Definition mediastream.cpp:640
bool m_isInterlaced
Definition mediastream.h:558
std::optional< qint32 > packetLength() const
Gets or sets the length of the packet.
Definition mediastream.cpp:715
QString m_colorRange
Definition mediastream.h:544
bool widthNull() const
Definition mediastream.cpp:784
QString m_profile
Definition mediastream.h:573
void setVideoRange(QString newVideoRange)
Gets or sets the video range.
Definition mediastream.cpp:568
QString m_localizedForced
Definition mediastream.h:555
void setIsAnamorphicNull()
Definition mediastream.cpp:967
QString displayTitle() const
Definition mediastream.cpp:618
void setSampleRateNull()
Definition mediastream.cpp:750
void setIsAVC(std::optional< bool > newIsAVC)
Definition mediastream.cpp:652
void setDisplayTitleNull()
Definition mediastream.cpp:627
void setDeliveryUrlNull()
Definition mediastream.cpp:890
void setColorSpaceNull()
Definition mediastream.cpp:484
bool pixelFormatNull() const
Definition mediastream.cpp:937
bool scoreNull() const
Definition mediastream.cpp:861
void setSampleRate(std::optional< qint32 > newSampleRate)
Gets or sets the sample rate.
Definition mediastream.cpp:743
bool bitRateNull() const
Definition mediastream.cpp:681
std::optional< float > averageFrameRate() const
Gets or sets the average frame rate.
Definition mediastream.cpp:792
QString m_videoRange
Definition mediastream.h:552
bool localizedForcedNull() const
Definition mediastream.cpp:610
bool sampleRateNull() const
Definition mediastream.cpp:746
bool codecTimeBaseNull() const
Definition mediastream.cpp:545
void setRealFrameRateNull()
Definition mediastream.cpp:814
void setLocalizedUndefined(QString newLocalizedUndefined)
Definition mediastream.cpp:581
std::optional< bool > m_isExternalUrl
Definition mediastream.h:581
QString language() const
Gets or sets the language.
Definition mediastream.cpp:449
bool colorPrimariesNull() const
Definition mediastream.cpp:506
void setCommentNull()
Definition mediastream.cpp:523
std::optional< qint32 > bitDepth() const
Gets or sets the bit depth.
Definition mediastream.cpp:689
QString m_pixelFormat
Definition mediastream.h:585
QString colorSpace() const
Gets or sets the color space.
Definition mediastream.cpp:475
QString m_language
Definition mediastream.h:543
std::optional< qint32 > sampleRate() const
Gets or sets the sample rate.
Definition mediastream.cpp:741
QString m_comment
Definition mediastream.h:548
QString path() const
Gets or sets the filename.
Definition mediastream.cpp:919
std::optional< bool > isExternalUrl() const
Gets or sets a value indicating whether this instance is external URL.
Definition mediastream.cpp:894
void setAspectRatio(QString newAspectRatio)
Gets or sets the aspect ratio.
Definition mediastream.cpp:839
void setLocalizedUndefinedNull()
Definition mediastream.cpp:588
QString nalLengthSize() const
Definition mediastream.cpp:631
void setVideoRangeNull()
Definition mediastream.cpp:575
void setChannelLayout(QString newChannelLayout)
Gets or sets the channel layout.
Definition mediastream.cpp:665
std::optional< qint32 > m_bitDepth
Definition mediastream.h:562
bool profileNull() const
Definition mediastream.cpp:823
void setNalLengthSize(QString newNalLengthSize)
Definition mediastream.cpp:633
bool averageFrameRateNull() const
Definition mediastream.cpp:797
void setIsExternalUrlNull()
Definition mediastream.cpp:903
QString m_displayTitle
Definition mediastream.h:556
bool codecNull() const
Definition mediastream.cpp:428
bool supportsExternalStream() const
Gets or sets a value indicating whether [supports external stream].
Definition mediastream.cpp:913
void setIsExternal(bool newIsExternal)
Gets or sets a value indicating whether this instance is external.
Definition mediastream.cpp:871
bool m_supportsExternalStream
Definition mediastream.h:583
bool languageNull() const
Definition mediastream.cpp:454
void setColorRange(QString newColorRange)
Gets or sets the color range.
Definition mediastream.cpp:464
std::optional< bool > m_isAnamorphic
Definition mediastream.h:587
std::optional< qint32 > height() const
Gets or sets the height.
Definition mediastream.cpp:766
static MediaStream fromJson(QJsonObject source)
Definition mediastream.cpp:160
QString colorTransfer() const
Gets or sets the color transfer.
Definition mediastream.cpp:488
void setType(MediaStreamType newType)
Definition mediastream.cpp:833
std::optional< float > m_averageFrameRate
Definition mediastream.h:571
bool commentNull() const
Definition mediastream.cpp:519
void setIsAVCNull()
Definition mediastream.cpp:659
void setPacketLengthNull()
Definition mediastream.cpp:724
void setLocalizedForced(QString newLocalizedForced)
Definition mediastream.cpp:607
void setBitDepth(std::optional< qint32 > newBitDepth)
Gets or sets the bit depth.
Definition mediastream.cpp:691
bool displayTitleNull() const
Definition mediastream.cpp:623
std::optional< qint32 > width() const
Gets or sets the width.
Definition mediastream.cpp:779
bool levelNull() const
Definition mediastream.cpp:950
bool isAnamorphicNull() const
Definition mediastream.cpp:963
MediaStreamType type() const
Definition mediastream.cpp:831
QString localizedForced() const
Definition mediastream.cpp:605
void setFromJson(QJsonObject source)
Definition mediastream.cpp:167
bool packetLengthNull() const
Definition mediastream.cpp:720
void setIsForced(bool newIsForced)
Gets or sets a value indicating whether this instance is forced.
Definition mediastream.cpp:762
QString m_colorTransfer
Definition mediastream.h:546
QString m_colorPrimaries
Definition mediastream.h:547
void setTitleNull()
Definition mediastream.cpp:562
void setCodecTimeBase(QString newCodecTimeBase)
Gets or sets the codec time base.
Definition mediastream.cpp:542
void setTimeBaseNull()
Definition mediastream.cpp:536
void setSupportsExternalStream(bool newSupportsExternalStream)
Gets or sets a value indicating whether [supports external stream].
Definition mediastream.cpp:915
void setLanguageNull()
Definition mediastream.cpp:458
bool heightNull() const
Definition mediastream.cpp:771
QString m_channelLayout
Definition mediastream.h:560
QString videoRange() const
Gets or sets the video range.
Definition mediastream.cpp:566
void setRealFrameRate(std::optional< float > newRealFrameRate)
Gets or sets the real frame rate.
Definition mediastream.cpp:807
void setColorPrimariesNull()
Definition mediastream.cpp:510
bool m_isDefault
Definition mediastream.h:567
std::optional< qint32 > m_packetLength
Definition mediastream.h:564
void setLocalizedForcedNull()
Definition mediastream.cpp:614
std::optional< qint32 > bitRate() const
Gets or sets the bit rate.
Definition mediastream.cpp:676
QString timeBase() const
Gets or sets the time base.
Definition mediastream.cpp:527
void setPacketLength(std::optional< qint32 > newPacketLength)
Gets or sets the length of the packet.
Definition mediastream.cpp:717
QString m_localizedDefault
Definition mediastream.h:554
QString codec() const
Gets or sets the codec.
Definition mediastream.cpp:423
void setWidthNull()
Definition mediastream.cpp:788
qint32 index() const
Gets or sets the index.
Definition mediastream.cpp:850
void setPathNull()
Definition mediastream.cpp:928
QString m_deliveryUrl
Definition mediastream.h:580
QString codecTag() const
Gets or sets the codec tag.
Definition mediastream.cpp:436
QString m_codec
Definition mediastream.h:541
void setCodecNull()
Definition mediastream.cpp:432
void setPixelFormatNull()
Definition mediastream.cpp:941
bool isExternalUrlNull() const
Definition mediastream.cpp:899
bool m_isForced
Definition mediastream.h:568
std::optional< qint32 > refFrames() const
Gets or sets the reference frames.
Definition mediastream.cpp:702
QString m_path
Definition mediastream.h:584
void setPixelFormat(QString newPixelFormat)
Gets or sets the pixel format.
Definition mediastream.cpp:934
void setIsAnamorphic(std::optional< bool > newIsAnamorphic)
Gets a value indicating whether this instance is anamorphic.
Definition mediastream.cpp:960
void setLanguage(QString newLanguage)
Gets or sets the language.
Definition mediastream.cpp:451
MediaStreamType m_type
Definition mediastream.h:574
void setColorSpace(QString newColorSpace)
Gets or sets the color space.
Definition mediastream.cpp:477
void setColorPrimaries(QString newColorPrimaries)
Gets or sets the color primaries.
Definition mediastream.cpp:503
void setRefFramesNull()
Definition mediastream.cpp:711
void setBitDepthNull()
Definition mediastream.cpp:698
QString m_codecTag
Definition mediastream.h:542
bool isTextSubtitleStream() const
Definition mediastream.cpp:907
void setBitRateNull()
Definition mediastream.cpp:685
void setChannels(std::optional< qint32 > newChannels)
Gets or sets the channels.
Definition mediastream.cpp:730
std::optional< qint32 > m_bitRate
Definition mediastream.h:561
bool bitDepthNull() const
Definition mediastream.cpp:694
void setIsInterlaced(bool newIsInterlaced)
Gets or sets a value indicating whether this instance is interlaced.
Definition mediastream.cpp:646
QString m_timeBase
Definition mediastream.h:549
std::optional< qint32 > channels() const
Gets or sets the channels.
Definition mediastream.cpp:728
void setAverageFrameRate(std::optional< float > newAverageFrameRate)
Gets or sets the average frame rate.
Definition mediastream.cpp:794
bool isInterlaced() const
Gets or sets a value indicating whether this instance is interlaced.
Definition mediastream.cpp:644
void setCodecTimeBaseNull()
Definition mediastream.cpp:549
void setCodec(QString newCodec)
Gets or sets the codec.
Definition mediastream.cpp:425
QJsonObject toJson() const
Definition mediastream.cpp:218
QString deliveryUrl() const
Gets or sets the delivery URL.
Definition mediastream.cpp:881
bool localizedUndefinedNull() const
Definition mediastream.cpp:584
bool realFrameRateNull() const
Definition mediastream.cpp:810
std::optional< qint32 > m_refFrames
Definition mediastream.h:563
void setPath(QString newPath)
Gets or sets the filename.
Definition mediastream.cpp:921
QString localizedDefault() const
Definition mediastream.cpp:592
void setChannelLayoutNull()
Definition mediastream.cpp:672
void setColorRangeNull()
Definition mediastream.cpp:471
bool isForced() const
Gets or sets a value indicating whether this instance is forced.
Definition mediastream.cpp:760
bool localizedDefaultNull() const
Definition mediastream.cpp:597
bool m_isExternal
Definition mediastream.h:578
void setTimeBase(QString newTimeBase)
Gets or sets the time base.
Definition mediastream.cpp:529
SubtitleDeliveryMethod deliveryMethod() const
Definition mediastream.cpp:875
void setLevel(std::optional< double > newLevel)
Gets or sets the level.
Definition mediastream.cpp:947
QString m_localizedUndefined
Definition mediastream.h:553
bool nalLengthSizeNull() const
Definition mediastream.cpp:636
QString colorPrimaries() const
Gets or sets the color primaries.
Definition mediastream.cpp:501
SubtitleDeliveryMethod m_deliveryMethod
Definition mediastream.h:579
bool codecTagNull() const
Definition mediastream.cpp:441
void setIsExternalUrl(std::optional< bool > newIsExternalUrl)
Gets or sets a value indicating whether this instance is external URL.
Definition mediastream.cpp:896
std::optional< qint32 > m_score
Definition mediastream.h:577
std::optional< qint32 > m_channels
Definition mediastream.h:565
void setAverageFrameRateNull()
Definition mediastream.cpp:801
bool channelsNull() const
Definition mediastream.cpp:733
bool isDefault() const
Gets or sets a value indicating whether this instance is default.
Definition mediastream.cpp:754
std::optional< bool > isAVC() const
Definition mediastream.cpp:650
void setHeightNull()
Definition mediastream.cpp:775
bool videoRangeNull() const
Definition mediastream.cpp:571
void setScore(std::optional< qint32 > newScore)
Gets or sets the score.
Definition mediastream.cpp:858
void setIsDefault(bool newIsDefault)
Gets or sets a value indicating whether this instance is default.
Definition mediastream.cpp:756
bool isExternal() const
Gets or sets a value indicating whether this instance is external.
Definition mediastream.cpp:869
void setIndex(qint32 newIndex)
Gets or sets the index.
Definition mediastream.cpp:852
void setBitRate(std::optional< qint32 > newBitRate)
Gets or sets the bit rate.
Definition mediastream.cpp:678
void setTitle(QString newTitle)
Gets or sets the title.
Definition mediastream.cpp:555
void setDeliveryMethod(SubtitleDeliveryMethod newDeliveryMethod)
Definition mediastream.cpp:877
bool isAVCNull() const
Definition mediastream.cpp:655
void setProfileNull()
Definition mediastream.cpp:827
QString colorRange() const
Gets or sets the color range.
Definition mediastream.cpp:462
void setHeight(std::optional< qint32 > newHeight)
Gets or sets the height.
Definition mediastream.cpp:768
std::optional< qint32 > m_height
Definition mediastream.h:569
QString m_nalLengthSize
Definition mediastream.h:557
QString m_aspectRatio
Definition mediastream.h:575
bool channelLayoutNull() const
Definition mediastream.cpp:668
void setDisplayTitle(QString newDisplayTitle)
Definition mediastream.cpp:620
std::optional< float > m_realFrameRate
Definition mediastream.h:572
void setColorTransfer(QString newColorTransfer)
Gets or sets the color transfer.
Definition mediastream.cpp:490
void setColorTransferNull()
Definition mediastream.cpp:497
void setAspectRatioNull()
Definition mediastream.cpp:846
QString codecTimeBase() const
Gets or sets the codec time base.
Definition mediastream.cpp:540
void setProfile(QString newProfile)
Gets or sets the profile.
Definition mediastream.cpp:820
std::optional< qint32 > m_sampleRate
Definition mediastream.h:566
bool refFramesNull() const
Definition mediastream.cpp:707
void setCodecTagNull()
Definition mediastream.cpp:445
bool timeBaseNull() const
Definition mediastream.cpp:532
bool aspectRatioNull() const
Definition mediastream.cpp:842
bool colorRangeNull() const
Definition mediastream.cpp:467
bool deliveryUrlNull() const
Definition mediastream.cpp:886
void replaceData(MediaStream &other)
Definition mediastream.cpp:110
Value
Definition subtitledeliverymethod.h:49
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