• Home
  • Raw
  • Download

Lines Matching refs:stride

172             bPtr += y * buf.stride + x;  in checkPixel()
191 bPtr += y * buf.stride + x; in checkPixel()
198 uint16_t *bPtr = ((uint16_t*)buf.data) + y * buf.stride + x; in checkPixel()
206 bPtr += (y * buf.stride + x) * bytesPerPixel; in checkPixel()
221 void fillYV12Buffer(uint8_t* buf, int w, int h, int stride);
225 void fillGreyscaleBuffer(T* buf, int w, int h, int stride, int bpp) { in fillGreyscaleBuffer() argument
234 int yuvTexStrideY = stride; in fillGreyscaleBuffer()
254 void fillRgba8888Buffer(uint8_t* buf, int w, int h, int stride) in fillRgba8888Buffer() argument
270 buf[(y*stride + x)*bytesPerPixel + 0] = r; in fillRgba8888Buffer()
271 buf[(y*stride + x)*bytesPerPixel + 1] = g; in fillRgba8888Buffer()
272 buf[(y*stride + x)*bytesPerPixel + 2] = b; in fillRgba8888Buffer()
273 buf[(y*stride + x)*bytesPerPixel + 3] = 255; in fillRgba8888Buffer()
281 void fillBayerRawBuffer(uint8_t* buf, int w, int h, int stride) { in fillBayerRawBuffer() argument
282 ALOGVV("fillBayerRawBuffer: %p with %d x %d, stride %d", buf, w, h ,stride); in fillBayerRawBuffer()
287 uint16_t *bPtr1 = ((uint16_t*)buf) + stride*y; in fillBayerRawBuffer()
288 uint16_t *bPtr2 = bPtr1 + stride; in fillBayerRawBuffer()
484 int64_t timestamp, uint32_t *stride) { in produceOneFrame() argument
495 *stride = buf->getStride(); in produceOneFrame()
504 fillYV12Buffer(img, params.width, params.height, *stride); in produceOneFrame()
551 uint32_t stride; in TEST_P() local
553 &stride)); in TEST_P()
565 EXPECT_EQ(stride, b.stride); in TEST_P()
586 uint32_t stride[numInQueue]; in TEST_P() local
591 &stride[i])); in TEST_P()
606 EXPECT_EQ(stride[i], b.stride); in TEST_P()
628 uint32_t stride; in TEST_P() local
633 &stride)); in TEST_P()
648 EXPECT_EQ(stride, b[i].stride); in TEST_P()
671 EXPECT_EQ(stride, bTooMuch.stride); in TEST_P()