зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1215089 - P2: Add mDepth member to YCbCr data structure. r=kamidphish
MozReview-Commit-ID: BNLawJOfj3w --HG-- extra : rebase_source : 6cd0336506a8feda874f6bd6525da73a745d5100
This commit is contained in:
Родитель
4bac0ed257
Коммит
89b1091f27
|
@ -253,6 +253,7 @@ ConstructPlanarYCbCrData(const VideoInfo& aInfo,
|
|||
data.mPicSize = aPicture.Size();
|
||||
data.mStereoMode = aInfo.mStereoMode;
|
||||
data.mYUVColorSpace = aBuffer.mYUVColorSpace;
|
||||
data.mDepth = aBuffer.mDepth;
|
||||
return data;
|
||||
}
|
||||
|
||||
|
|
|
@ -466,6 +466,7 @@ public:
|
|||
|
||||
Plane mPlanes[3];
|
||||
YUVColorSpace mYUVColorSpace = YUVColorSpace::BT601;
|
||||
uint32_t mDepth = 8;
|
||||
};
|
||||
|
||||
class Listener
|
||||
|
|
|
@ -744,6 +744,7 @@ struct PlanarYCbCrData {
|
|||
gfx::IntSize mPicSize;
|
||||
StereoMode mStereoMode;
|
||||
YUVColorSpace mYUVColorSpace;
|
||||
uint32_t mDepth;
|
||||
|
||||
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)
|
||||
, mDepth(8)
|
||||
{}
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче