зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1215089 - P3: Add mBitDepth member to YCbCr data structure. r=kamidphish,mattwoodrow
MozReview-Commit-ID: BNLawJOfj3w --HG-- extra : rebase_source : f538373e317e3e1e5452c0a0d6e00e810148ea87
This commit is contained in:
Родитель
f57ec08586
Коммит
72e08420b1
|
@ -253,6 +253,7 @@ ConstructPlanarYCbCrData(const VideoInfo& aInfo,
|
|||
data.mPicSize = aPicture.Size();
|
||||
data.mStereoMode = aInfo.mStereoMode;
|
||||
data.mYUVColorSpace = aBuffer.mYUVColorSpace;
|
||||
data.mBitDepth = aBuffer.mBitDepth;
|
||||
return data;
|
||||
}
|
||||
|
||||
|
|
|
@ -466,6 +466,7 @@ public:
|
|||
|
||||
Plane mPlanes[3];
|
||||
YUVColorSpace mYUVColorSpace = YUVColorSpace::BT601;
|
||||
uint32_t mBitDepth = 8;
|
||||
};
|
||||
|
||||
class Listener
|
||||
|
|
|
@ -744,6 +744,7 @@ struct PlanarYCbCrData {
|
|||
gfx::IntSize mPicSize;
|
||||
StereoMode mStereoMode;
|
||||
YUVColorSpace mYUVColorSpace;
|
||||
uint32_t mBitDepth;
|
||||
|
||||
gfx::IntRect GetPictureRect() const {
|
||||
return gfx::IntRect(mPicX, mPicY,
|
||||
|
@ -757,6 +758,7 @@ struct PlanarYCbCrData {
|
|||
, mCbCrStride(0), mCbCrSize(0, 0) , mCbSkip(0), mCrSkip(0)
|
||||
, mPicX(0), mPicY(0), mPicSize(0, 0), mStereoMode(StereoMode::MONO)
|
||||
, mYUVColorSpace(YUVColorSpace::BT601)
|
||||
, mBitDepth(8)
|
||||
{}
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче