Lines Matching refs:img
48 uint8_t* img = nullptr; in TEST_F() local
49 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); in TEST_F()
50 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); in TEST_F()
98 uint8_t* img = nullptr; in TEST_F() local
99 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); in TEST_F()
100 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); in TEST_F()
162 uint8_t* img = nullptr; in TEST_F() local
163 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); in TEST_F()
164 fillYV12BufferRect(img, texWidth, texHeight, buf->getStride(), crop); in TEST_F()
251 uint8_t* img = nullptr; in TEST_F() local
252 buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&img)); in TEST_F()
261 img[y*stride + x] = value; in TEST_F()
267 img[yuvTexOffsetY + y*yuvTexStrideY + x] = 128; in TEST_F()
268 img[yuvTexOffsetU + (y/2)*yuvTexStrideU + x/2] = 128; in TEST_F()
269 img[yuvTexOffsetV + (y/2)*yuvTexStrideV + x/2] = 128; in TEST_F()
281 img[y*stride + x] = value; in TEST_F()