Home
last modified time | relevance | path

Searched refs:row_pixels (Results 1 – 1 of 1) sorted by relevance

/bootable/recovery/minui/
Dgraphics.cpp97 static void incr_x(uint32_t** p, int row_pixels) { in incr_x() argument
99 *p = *p - row_pixels; in incr_x()
101 *p = *p + row_pixels; in incr_x()
110 static void incr_y(uint32_t** p, int row_pixels) { in incr_y() argument
116 *p = *p - row_pixels; in incr_y()
118 *p = *p + row_pixels; in incr_y()
123 static uint32_t* PixelAt(GRSurface* surface, int x, int y, int row_pixels) { in PixelAt() argument
126 return reinterpret_cast<uint32_t*>(surface->data()) + y * row_pixels + x; in PixelAt()
128 return reinterpret_cast<uint32_t*>(surface->data()) + x * row_pixels + (surface->width - y); in PixelAt()
130 return reinterpret_cast<uint32_t*>(surface->data()) + (surface->height - 1 - y) * row_pixels + in PixelAt()
[all …]