Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics.cpp98 static void incr_x(uint32_t** p, int row_pixels) { in incr_x() argument
100 *p = *p - row_pixels; in incr_x()
102 *p = *p + row_pixels; in incr_x()
111 static void incr_y(uint32_t** p, int row_pixels) { in incr_y() argument
117 *p = *p - row_pixels; in incr_y()
119 *p = *p + row_pixels; in incr_y()
124 static uint32_t* PixelAt(GRSurface* surface, int x, int y, int row_pixels) { in PixelAt() argument
127 return reinterpret_cast<uint32_t*>(surface->data()) + y * row_pixels + x; in PixelAt()
129 return reinterpret_cast<uint32_t*>(surface->data()) + x * row_pixels + (surface->width - y); in PixelAt()
131 return reinterpret_cast<uint32_t*>(surface->data()) + (surface->height - 1 - y) * row_pixels + in PixelAt()
[all …]