Searched refs:row_pixels (Results 1 – 1 of 1) sorted by relevance
82 static void incr_x(uint32_t** p, int row_pixels) { in incr_x() argument84 *p = *p + (rotation == 1 ? 1 : -1) * row_pixels; in incr_x()91 static void incr_y(uint32_t** p, int row_pixels) { in incr_y() argument95 *p = *p + (rotation ? -1 : 1) * row_pixels; in incr_y()100 static uint32_t* pixel_at(GRSurface* surf, int x, int y, int row_pixels) { in pixel_at() argument103 return reinterpret_cast<uint32_t*>(surf->data) + y * row_pixels + x; in pixel_at()105 return reinterpret_cast<uint32_t*>(surf->data) + x * row_pixels + (surf->width - y); in pixel_at()107 return reinterpret_cast<uint32_t*>(surf->data) + (surf->height - 1 - y) * row_pixels + in pixel_at()110 return reinterpret_cast<uint32_t*>(surf->data) + (surf->height - 1 - x) * row_pixels + y; in pixel_at()154 int row_pixels = gr_draw->row_bytes / gr_draw->pixel_bytes; in gr_text() local[all …]