Lines Matching refs:obuf
112 uint8_t* obuf = ALIGNP(obuffer.get(), kAlignment) + memoffset; in TestScale() local
124 memset(obuf, 100, osize); // Output set to something wrong for now. in TestScale()
130 FlushCache(obuf, osize); in TestScale()
144 FlushCache(obuf, osize); in TestScale()
149 EXPECT_EQ(0, libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, in TestScale()
165 DumpPlanarYuvTestImage(test_name, obuf, ow, oh); in TestScale()
168 double sse = cricket::ComputeSumSquareError(obuf, xbuf, osize); in TestScale()
196 ALIGN16(uint8_t obuf[I420_SIZE(ow, oh)]); in TEST_F()
201 libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, 0, false); in TEST_F()
203 if (dump_) DumpPlanarYuvTestImage("TestCopy", obuf, ow, oh); in TEST_F()
204 EXPECT_EQ(-1, FindDiff(obuf, ibuf, sizeof(ibuf))); in TEST_F()
216 uint8_t* obuf = ALIGNP(obuffer.get(), kAlignment); in TEST_F() local
222 memset(obuf, 0, ow * oh); in TEST_F()
223 memset(obuf + ow * oh, 128, ow * oh / 2); in TEST_F()
225 libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh, offset, false); in TEST_F()
227 if (dump_) DumpPlanarYuvTestImage("TestOffsetCopy16_9", obuf, ow, oh); in TEST_F()
228 EXPECT_EQ(-1, FindDiff(obuf + ow * offset, in TEST_F()
231 EXPECT_EQ(-1, FindDiff(obuf + ow * oh + ow * offset / 4, in TEST_F()
234 EXPECT_EQ(-1, FindDiff(obuf + ow * oh * 5 / 4 + ow * offset / 4, in TEST_F()