以下成員源於類 QVideoFrameFormat 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(棄用)
enum
|
YCbCrColorSpace { YCbCr_Undefined, YCbCr_BT601, YCbCr_BT709, YCbCr_xvYCC601, YCbCr_xvYCC709, …, YCbCr_BT2020 } |
(棄用)
void
|
setYCbCrColorSpace (QVideoFrameFormat::YCbCrColorSpace space ) |
(棄用)
QVideoFrameFormat::YCbCrColorSpace
|
yCbCrColorSpace () const |
This enum is deprecated. We strongly advise against using it in new code.
使用 QVideoFrameFormat::ColorSpace 代替。
枚舉視頻幀的 Y'CbCr 色彩空間。
| 常量 | 值 | 描述 |
|---|---|---|
QVideoFrameFormat::YCbCr_Undefined
|
0
|
No color space is specified. |
QVideoFrameFormat::YCbCr_BT601
|
1
|
A Y'CbCr color space defined by ITU-R recommendation BT.601 with Y value range from 16 to 235, and Cb/Cr range from 16 to 240. Used mostly by older videos that were targeting CRT displays. |
QVideoFrameFormat::YCbCr_BT709
|
2
|
A Y'CbCr color space defined by ITU-R BT.709 with the same values range as YCbCr_BT601. The most commonly used color space today. |
QVideoFrameFormat::YCbCr_xvYCC601
|
3
|
This value is deprecated. Please check the ColorRange instead. The BT.601 color space with the value range extended to 0 to 255. It is backward compatible with BT.601 and uses values outside BT.601 range to represent a wider range of colors. |
QVideoFrameFormat::YCbCr_xvYCC709
|
4
|
This value is deprecated. Please check the ColorRange instead. The BT.709 color space with the value range extended to 0 to 255. |
QVideoFrameFormat::YCbCr_JPEG
|
5
|
The full range Y'CbCr color space used in most JPEG files. |
QVideoFrameFormat::YCbCr_BT2020
|
6
|
The color space defined by ITU-R BT.2020. Used mainly for HDR videos. |
This function is deprecated. We strongly advise against using it in new code.
使用 setColorSpace () 代替
Sets the Y'CbCr color space of a video stream. It is only used with raw YUV frame types.
另請參閱 yCbCrColorSpace ().
This function is deprecated. We strongly advise against using it in new code.
使用 colorSpace () 代替
Returns the Y'CbCr color space of a video stream.
另請參閱 setYCbCrColorSpace ().