Lines Matching refs:img
44 uint8_t* img = NULL; in TEST_F() local
45 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); in TEST_F()
46 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); in TEST_F()
90 uint8_t* img = NULL; in TEST_F() local
91 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); in TEST_F()
92 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); in TEST_F()
150 uint8_t* img = NULL; in TEST_F() local
151 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); in TEST_F()
152 fillYV12BufferRect(img, texWidth, texHeight, buf->getStride(), crop); in TEST_F()
236 uint8_t* img = NULL; in TEST_F() local
237 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); in TEST_F()
246 img[y*stride + x] = value; in TEST_F()
252 img[yuvTexOffsetY + y*yuvTexStrideY + x] = 128; in TEST_F()
253 img[yuvTexOffsetU + (y/2)*yuvTexStrideU + x/2] = 128; in TEST_F()
254 img[yuvTexOffsetV + (y/2)*yuvTexStrideV + x/2] = 128; in TEST_F()
266 img[y*stride + x] = value; in TEST_F()