The QMultimedia namespace contains miscellaneous identifiers used throughout the Qt Multimedia library. 更多...
头: | #include <QMultimedia> |
qmake: | QT += multimedia |
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 } |
The QMultimedia namespace contains miscellaneous identifiers used throughout the Qt Multimedia library.
Enumerates Service status errors.
常量 | 值 | 描述 |
---|---|---|
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. |
枚举编码模式。
常量 | 值 | 描述 |
---|---|---|
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. |
枚举品质编码级别。
常量 | 值 |
---|---|
QMultimedia::VeryLowQuality
|
0
|
QMultimedia::LowQuality
|
1
|
QMultimedia::NormalQuality
|
2
|
QMultimedia::HighQuality
|
3
|
QMultimedia::VeryHighQuality
|
4
|
Enumerates the levels of support a media service provider may have for a feature.
常量 | 值 | 描述 |
---|---|---|
QMultimedia::NotSupported
|
0
|
不支持特征。 |
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. |