Home | History | Annotate | Download | only in media

Lines Matching refs:oh

98   bool TestScale(int iw, int ih, int ow, int oh, int offset, bool usefile,
103 size_t osize = I420_SIZE(ow, oh);
114 !LoadPlanarYuvTestImage("faces", ow, oh, xbuf)) {
146 EXPECT_EQ(0, libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh,
162 DumpPlanarYuvTestImage(test_name, obuf, ow, oh);
191 const int ow = 640, oh = 360;
193 ALIGN16(uint8 obuf[I420_SIZE(ow, oh)]);
198 libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, 0, false);
200 if (dump_) DumpPlanarYuvTestImage("TestCopy", obuf, ow, oh);
207 const int ow = 640, oh = 480;
210 scoped_ptr<uint8[]> obuffer(new uint8[I420_SIZE(ow, oh) + kAlignment]);
219 memset(obuf, 0, ow * oh);
220 memset(obuf + ow * oh, 128, ow * oh / 2);
222 libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, offset, false);
224 if (dump_) DumpPlanarYuvTestImage("TestOffsetCopy16_9", obuf, ow, oh);
228 EXPECT_EQ(-1, FindDiff(obuf + ow * oh + ow * offset / 4,
231 EXPECT_EQ(-1, FindDiff(obuf + ow * oh * 5 / 4 + ow * offset / 4,