Issue #2101 - Part 1: Add mColorRange info to YCbCrBuffer

https://hg.mozilla.org/integration/autoland/rev/6f4c7904cda8
This commit is contained in:
u3shit 2023-02-24 20:14:29 +01:00 committed by roytam1
commit c0c76cd455
2 changed files with 7 additions and 0 deletions

View file

@ -449,6 +449,7 @@ public:
Plane mPlanes[3];
YUVColorSpace mYUVColorSpace = YUVColorSpace::BT601;
ColorRange mColorRange = ColorRange::LIMITED;
};
// Constructs a VideoData object. If aImage is nullptr, creates a new Image

View file

@ -123,6 +123,12 @@ enum class YUVColorSpace {
UNKNOWN,
};
enum class ColorRange {
LIMITED,
FULL,
UNKNOWN,
};
} // namespace mozilla
#endif