QMultimedia Namespace
The QMultimedia namespace contains miscellaneous identifiers used throughout the Qt Multimedia library. More...
Header: | #include <QMultimedia> |
qmake: | QT += multimedia |
Types
enum | AvailabilityStatus { Available, ServiceMissing, ResourceError, Busy } |
enum | EncodingMode { ConstantQualityEncoding, ConstantBitRateEncoding, AverageBitRateEncoding, TwoPassEncoding } |
enum | EncodingQuality { VeryLowQuality, LowQuality, NormalQuality, HighQuality, VeryHighQuality } |
enum | SupportEstimate { NotSupported, MaybeSupported, ProbablySupported, PreferredService } |
Detailed Description
The QMultimedia namespace contains miscellaneous identifiers used throughout the Qt Multimedia library.
Type Documentation
enum QMultimedia::AvailabilityStatus
Enumerates Service status errors.
Constant | Value | Description |
---|---|---|
QMultimedia::Available |
0 |
The service is operating correctly. |
QMultimedia::ServiceMissing |
1 |
There is no service available to provide the requested functionality. |
QMultimedia::ResourceError |
3 |
The service could not allocate resources required to function correctly. |
QMultimedia::Busy |
2 |
The service must wait for access to necessary resources. |
enum QMultimedia::EncodingMode
Enumerates encoding modes.
Constant | Value | Description |
---|---|---|
QMultimedia::ConstantQualityEncoding |
0 |
Encoding will aim to have a constant quality, adjusting bitrate to fit. |
QMultimedia::ConstantBitRateEncoding |
1 |
Encoding will use a constant bit rate, adjust quality to fit. |
QMultimedia::AverageBitRateEncoding |
2 |
Encoding will try to keep an average bitrate setting, but will use more or less as needed. |
QMultimedia::TwoPassEncoding |
3 |
The media will first be processed to determine the characteristics, and then processed a second time allocating more bits to the areas that need it. |
enum QMultimedia::EncodingQuality
Enumerates quality encoding levels.
Constant | Value |
---|---|
QMultimedia::VeryLowQuality |
0 |
QMultimedia::LowQuality |
1 |
QMultimedia::NormalQuality |
2 |
QMultimedia::HighQuality |
3 |
QMultimedia::VeryHighQuality |
4 |
enum QMultimedia::SupportEstimate
Enumerates the levels of support a media service provider may have for a feature.
Constant | Value | Description |
---|---|---|
QMultimedia::NotSupported |
0 |
The feature is not supported. |
QMultimedia::MaybeSupported |
1 |
The feature may be supported. |
QMultimedia::ProbablySupported |
2 |
The feature is probably supported. |
QMultimedia::PreferredService |
3 |
The service is the preferred provider of a service. |
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qmultimedia.html