Lines Matching refs:iw
98 bool TestScale(int iw, int ih, int ow, int oh, int offset, bool usefile, in TestScale() argument
102 size_t isize = I420_SIZE(iw, ih); in TestScale()
116 if (!LoadPlanarYuvTestImage("faces", iw, ih, ibuf) || in TestScale()
149 EXPECT_EQ(0, libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, in TestScale()
193 const int iw = 640, ih = 360; in TEST_F() local
195 ALIGN16(uint8_t ibuf[I420_SIZE(iw, ih)]); in TEST_F()
199 ASSERT_TRUE(LoadPlanarYuvTestImage("faces", iw, ih, ibuf)); in TEST_F()
201 libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, 0, false); in TEST_F()
209 const int iw = 640, ih = 360; in TEST_F() local
212 scoped_ptr<uint8_t[]> ibuffer(new uint8_t[I420_SIZE(iw, ih) + kAlignment]); in TEST_F()
219 ASSERT_TRUE(LoadPlanarYuvTestImage("faces", iw, ih, ibuf)); in TEST_F()
225 libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, offset, false); in TEST_F()
230 iw * ih)); in TEST_F()
232 ibuf + iw * ih, in TEST_F()
233 iw * ih / 4)); in TEST_F()
235 ibuf + iw * ih * 5 / 4, in TEST_F()
236 iw * ih / 4)); in TEST_F()