diff options
author | Lars Knoll <lars.knoll@qt.io> | 2022-04-03 11:09:28 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2022-04-08 15:14:42 +0200 |
commit | d794de857d78353bb1590b3db11949dc9b3b107d (patch) | |
tree | dfca1bf3205b85cee20144c2d481c2477c60e0fd /tests | |
parent | 066c072ad9ba4f14d1b4734867f2279cb9ea27ce (diff) |
Expose the color range being used in the video data
Add QVideoFrameFormat::colorRange, and expose the color range being
used in the video data.
Deprecate the full range color space enum values. This is much better
exposed through a separate property. As a drive by fix and clarify the
naming of the JPEG color space by renaming it to AdobeRgb.
Change-Id: Ifcdadcca41fdeade7d5ff2b80f59c135518d5d39
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/unit/multimedia/qvideoframeformat/tst_qvideoframeformat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/unit/multimedia/qvideoframeformat/tst_qvideoframeformat.cpp b/tests/auto/unit/multimedia/qvideoframeformat/tst_qvideoframeformat.cpp index 4dcada327..77beb041c 100644 --- a/tests/auto/unit/multimedia/qvideoframeformat/tst_qvideoframeformat.cpp +++ b/tests/auto/unit/multimedia/qvideoframeformat/tst_qvideoframeformat.cpp @@ -268,7 +268,7 @@ void tst_QVideoFrameFormat::yCbCrColorSpaceEnum_data() ADD_ENUM_TEST(YCbCr_BT709); ADD_ENUM_TEST(YCbCr_xvYCC601); ADD_ENUM_TEST(YCbCr_xvYCC709); - ADD_ENUM_TEST(YCbCr_JPEG); + ADD_ENUM_TEST(YCbCr_AdobeRgb); ADD_ENUM_TEST(YCbCr_Undefined); } |