Lines Matching defs:obuf
109 uint8 *obuf = ALIGNP(obuffer.get(), kAlignment) + memoffset;
121 memset(obuf, 100, osize); // Output set to something wrong for now.
127 FlushCache(obuf, osize);
141 FlushCache(obuf, osize);
146 EXPECT_EQ(0, libyuv::ScaleOffset(ibuf, iw, ih, obuf, ow, oh,
162 DumpPlanarYuvTestImage(test_name, obuf, ow, oh);
165 double sse = cricket::ComputeSumSquareError(obuf, xbuf, osize);
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);
201 EXPECT_EQ(-1, FindDiff(obuf, ibuf, sizeof(ibuf)));
213 uint8 *obuf = ALIGNP(obuffer.get(), 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);
225 EXPECT_EQ(-1, FindDiff(obuf + ow * offset,
228 EXPECT_EQ(-1, FindDiff(obuf + ow * oh + ow * offset / 4,
231 EXPECT_EQ(-1, FindDiff(obuf + ow * oh * 5 / 4 + ow * offset / 4,