Lines Matching refs:img
338 android_pixel_format_t format, uint32_t stride, uint8_t* img, uint8_t r, in setColor() argument
343 img[(y * stride + x) * 4 + 0] = r; in setColor()
344 img[(y * stride + x) * 4 + 1] = g; in setColor()
345 img[(y * stride + x) * 4 + 2] = b; in setColor()
346 img[(y * stride + x) * 4 + 3] = a; in setColor()
414 uint8_t* img; in generateBuffer() local
416 (void**)(&img)); in generateBuffer()
440 setColor(x, y, mFormat, stride, img, max, min, min, 255); in generateBuffer()
444 setColor(x, y, mFormat, stride, img, min, max, min, 255); in generateBuffer()
448 setColor(x, y, mFormat, stride, img, min, min, max, 255); in generateBuffer()
477 uint8_t* img; in compositeBufferFromLayers() local
479 (void**)(&img)); in compositeBufferFromLayers()
681 setColor(x, y, format, stride, img, r, g, b, a * 255); in compositeBufferFromLayers()
731 uint8_t* img; in writeBufferToFile() local
733 (void**)(&img)); in writeBufferToFile()
735 SkPixmap pixmap(info, img, mGraphicBuffer->getStride()); in writeBufferToFile()