Lines Matching refs:h_idx
112 uint32_t h_idx; in sdl_display_write_rgb888() local
119 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_write_rgb888()
122 ((h_idx * desc->pitch) + w_idx) * 3U; in sdl_display_write_rgb888()
136 uint32_t h_idx; in sdl_display_write_rgb565() local
144 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_write_rgb565()
147 ((h_idx * desc->pitch) + w_idx); in sdl_display_write_rgb565()
162 uint32_t h_idx; in sdl_display_write_bgr565() local
169 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_write_bgr565()
172 ((h_idx * desc->pitch) + w_idx); in sdl_display_write_bgr565()
187 uint32_t h_idx; in sdl_display_write_mono() local
210 for (h_idx = 0U; h_idx < 8; ++h_idx) { in sdl_display_write_mono()
211 if ((*byte_ptr & mono_pixel_order(h_idx)) != 0U) { in sdl_display_write_mono()
287 uint32_t h_idx; in sdl_display_read_rgb888() local
293 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_read_rgb888()
294 buf8 = ((uint8_t *)buf) + desc->pitch * 3U * h_idx; in sdl_display_read_rgb888()
297 pix_ptr = (const uint32_t *)read_buf + ((h_idx * desc->pitch) + w_idx); in sdl_display_read_rgb888()
312 uint32_t h_idx; in sdl_display_read_rgb565() local
319 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_read_rgb565()
320 buf16 = (void *)(((uint8_t *)buf) + desc->pitch * 2U * h_idx); in sdl_display_read_rgb565()
323 pix_ptr = (const uint32_t *)read_buf + ((h_idx * desc->pitch) + w_idx); in sdl_display_read_rgb565()
337 uint32_t h_idx; in sdl_display_read_bgr565() local
344 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_read_bgr565()
345 buf16 = (void *)(((uint8_t *)buf) + desc->pitch * 2U * h_idx); in sdl_display_read_bgr565()
348 pix_ptr = (const uint32_t *)read_buf + ((h_idx * desc->pitch) + w_idx); in sdl_display_read_bgr565()
363 uint32_t h_idx; in sdl_display_read_mono() local
378 for (h_idx = 0U; h_idx < 8; ++h_idx) { in sdl_display_read_mono()
380 ((tile_idx * 8 + h_idx) * desc->pitch + w_idx); in sdl_display_read_mono()
382 tile |= mono_pixel_order(h_idx); in sdl_display_read_mono()