Bug 1543359 - P1. Add mColorRange info to YCbCrBufferData. r=bryce

Differential Revision: https://phabricator.services.mozilla.com/D27210

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Jean-Yves Avenard 2019-07-26 06:10:37 +00:00
parent 4ea329b749
commit b7d2623f93

View File

@ -422,6 +422,7 @@ class VideoData : public MediaData {
typedef gfx::IntRect IntRect;
typedef gfx::IntSize IntSize;
typedef gfx::ColorDepth ColorDepth;
typedef gfx::ColorRange ColorRange;
typedef gfx::YUVColorSpace YUVColorSpace;
typedef layers::ImageContainer ImageContainer;
typedef layers::Image Image;
@ -447,6 +448,7 @@ class VideoData : public MediaData {
Plane mPlanes[3];
YUVColorSpace mYUVColorSpace = YUVColorSpace::BT601;
ColorDepth mColorDepth = ColorDepth::COLOR_8;
ColorRange mColorRange = ColorRange::LIMITED;
};
class Listener {