Bug 1310405 - Set DXGIYCbCrTexture YUVColorSpace to BT601 r=mattwoodrow

This commit is contained in:
Sotaro Ikeda 2016-10-24 18:17:39 -07:00
parent 744a810ccf
commit a514bb26e8
2 changed files with 6 additions and 0 deletions

View File

@ -334,6 +334,9 @@ public:
virtual gfx::SurfaceFormat GetFormat() const override{ return gfx::SurfaceFormat::YUV; }
// Bug 1305906 fixes YUVColorSpace handling
virtual YUVColorSpace GetYUVColorSpace() const override { return YUVColorSpace::BT601; }
virtual bool Lock() override;
virtual void Unlock() override;

View File

@ -357,6 +357,9 @@ public:
virtual gfx::SurfaceFormat GetFormat() const override { return gfx::SurfaceFormat::YUV; }
// Bug 1305906 fixes YUVColorSpace handling
virtual YUVColorSpace GetYUVColorSpace() const override { return YUVColorSpace::BT601; }
virtual bool Lock() override;
virtual void Unlock() override;
virtual gfx::IntSize GetSize() const override { return mSize; }