The following members of class QVideoFrameFormat are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
(deprecated) enum |
YCbCrColorSpace { YCbCr_Undefined, YCbCr_BT601, YCbCr_BT709, YCbCr_xvYCC601, YCbCr_xvYCC709, …, YCbCr_BT2020 } |
(deprecated) void |
setYCbCrColorSpace(QVideoFrameFormat::YCbCrColorSpace space) |
(deprecated) QVideoFrameFormat::YCbCrColorSpace |
yCbCrColorSpace() const |
This enum is deprecated. We strongly advise against using it in new code.
Use QVideoFrameFormat::ColorSpace instead.
Enumerates the Y'CbCr color space of video frames.
Constant | Value | Description |
---|---|---|
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.
Use setColorSpace() instead
Sets the Y'CbCr color space of a video stream. It is only used with raw YUV frame types.
See also yCbCrColorSpace().
This function is deprecated. We strongly advise against using it in new code.
Use colorSpace() instead
Returns the Y'CbCr color space of a video stream.
See also setYCbCrColorSpace().
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: