Lines Matching +full:8 +full:x
15 static ALWAYS_INLINE void set_px_at_pos(uint8_t *dst_buf, uint32_t x, uint32_t y, uint32_t width, in set_px_at_pos() argument
22 buf = dst_buf + x + y / 8 * width; in set_px_at_pos()
25 bit = 7 - y % 8; in set_px_at_pos()
27 bit = y % 8; in set_px_at_pos()
30 buf = dst_buf + x / 8 + y * width / 8; in set_px_at_pos()
33 bit = 7 - x % 8; in set_px_at_pos()
35 bit = x % 8; in set_px_at_pos()
54 *px_map += 8; in lvgl_transform_buffer()
60 for (uint32_t x = 0; x < width; x++) { in lvgl_transform_buffer() local
61 uint32_t bit_idx = x + y * stride; in lvgl_transform_buffer()
62 uint8_t src_bit = (src_buf[bit_idx / 8] >> (7 - (bit_idx % 8))) & 1; in lvgl_transform_buffer()
65 set_px_at_pos(mono_conv_buf, x, y, width, caps); in lvgl_transform_buffer()
96 .buf_size = (w * h) / 8U, in lvgl_flush_cb_mono()