Lines Matching refs:bPtr
171 uint16_t *bPtr = (uint16_t*)buf.data;
172 bPtr += y * buf.stride + x;
177 EXPECT_EQ(g, *bPtr);
180 EXPECT_EQ(r, *bPtr);
183 EXPECT_EQ(b, *bPtr);
190 uint8_t *bPtr = (uint8_t*)buf.data;
191 bPtr += y * buf.stride + x;
192 EXPECT_EQ(r, *bPtr) << "at x = " << x << " y = " << y;
198 uint16_t *bPtr = ((uint16_t*)buf.data) + y * buf.stride + x;
200 EXPECT_EQ(r, *bPtr) << "at x = " << x << " y = " << y;
205 uint8_t *bPtr = (uint8_t*)buf.data;
206 bPtr += (y * buf.stride + x) * bytesPerPixel;
208 EXPECT_EQ(r, bPtr[0]) << "at x = " << x << " y = " << y;
209 EXPECT_EQ(g, bPtr[1]) << "at x = " << x << " y = " << y;
210 EXPECT_EQ(b, bPtr[2]) << "at x = " << x << " y = " << y;