Bug 1182426 - Set PlanarYCbCrImage's size in VP8TrackEncoder GTest. r=roc

--HG--
extra : commitid : 9dFV0mv1iSr
extra : rebase_source : 699e4a73382e8792a1517d2f8520e3f4d3f9e6c7
This commit is contained in:
Andreas Pehrson 2015-10-02 13:59:18 +08:00
Родитель 7e6023b3b4
Коммит 5179d4123b
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -57,6 +57,7 @@ private:
{
PlanarYCbCrImage *image = new PlanarYCbCrImage(new BufferRecycleBin());
PlanarYCbCrData data;
data.mPicSize = mImageSize;
const uint32_t yPlaneSize = mImageSize.width * mImageSize.height;
const uint32_t halfWidth = (mImageSize.width + 1) / 2;
@ -94,6 +95,7 @@ private:
{
PlanarYCbCrImage *image = new PlanarYCbCrImage(new BufferRecycleBin());
PlanarYCbCrData data;
data.mPicSize = mImageSize;
const uint32_t yPlaneSize = mImageSize.width * mImageSize.height;
const uint32_t halfWidth = (mImageSize.width + 1) / 2;
@ -130,6 +132,7 @@ private:
{
PlanarYCbCrImage *image = new PlanarYCbCrImage(new BufferRecycleBin());
PlanarYCbCrData data;
data.mPicSize = mImageSize;
const uint32_t yPlaneSize = mImageSize.width * mImageSize.height;
const uint32_t halfWidth = (mImageSize.width + 1) / 2;