Lines Matching refs:iw
98 bool TestScale(int iw, int ih, int ow, int oh, int offset, bool usefile,
102 size_t isize = I420_SIZE(iw, ih);
113 if (!LoadPlanarYuvTestImage("faces", iw, ih, ibuf) ||
146 EXPECT_EQ(0, libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh,
190 const int iw = 640, ih = 360;
192 ALIGN16(uint8 ibuf[I420_SIZE(iw, ih)]);
196 ASSERT_TRUE(LoadPlanarYuvTestImage("faces", iw, ih, ibuf));
198 libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, 0, false);
206 const int iw = 640, ih = 360;
209 scoped_ptr<uint8[]> ibuffer(new uint8[I420_SIZE(iw, ih) + kAlignment]);
216 ASSERT_TRUE(LoadPlanarYuvTestImage("faces", iw, ih, ibuf));
222 libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, offset, false);
227 iw * ih));
229 ibuf + iw * ih,
230 iw * ih / 4));
232 ibuf + iw * ih * 5 / 4,
233 iw * ih / 4));