Lines Matching refs:bPtr
173 uint16_t *bPtr = (uint16_t*)buf.data; in checkPixel() local
174 bPtr += y * buf.stride + x; in checkPixel()
179 EXPECT_EQ(g, *bPtr); in checkPixel()
182 EXPECT_EQ(r, *bPtr); in checkPixel()
185 EXPECT_EQ(b, *bPtr); in checkPixel()
192 uint8_t *bPtr = (uint8_t*)buf.data; in checkPixel() local
193 bPtr += y * buf.stride + x; in checkPixel()
194 EXPECT_EQ(r, *bPtr) << "at x = " << x << " y = " << y; in checkPixel()
200 uint16_t *bPtr = ((uint16_t*)buf.data) + y * buf.stride + x; in checkPixel() local
202 EXPECT_EQ(r, *bPtr) << "at x = " << x << " y = " << y; in checkPixel()
207 uint8_t *bPtr = (uint8_t*)buf.data; in checkPixel() local
208 bPtr += (y * buf.stride + x) * bytesPerPixel; in checkPixel()
210 EXPECT_EQ(r, bPtr[0]) << "at x = " << x << " y = " << y; in checkPixel()
211 EXPECT_EQ(g, bPtr[1]) << "at x = " << x << " y = " << y; in checkPixel()
212 EXPECT_EQ(b, bPtr[2]) << "at x = " << x << " y = " << y; in checkPixel()