Lines Matching refs:macfb_read_byte
123 static inline uint8_t macfb_read_byte(MacfbState *s, uint32_t addr) in macfb_read_byte() function
137 int idx = (macfb_read_byte(s, addr) >> (7 - bit)) & 1; in macfb_draw_line1()
157 int idx = (macfb_read_byte(s, addr) >> ((3 - bit) << 1)) & 3; in macfb_draw_line2()
177 int idx = (macfb_read_byte(s, addr) >> ((1 - bit) << 2)) & 15; in macfb_draw_line4()
196 r = s->color_palette[macfb_read_byte(s, addr) * 3]; in macfb_draw_line8()
197 g = s->color_palette[macfb_read_byte(s, addr) * 3 + 1]; in macfb_draw_line8()
198 b = s->color_palette[macfb_read_byte(s, addr) * 3 + 2]; in macfb_draw_line8()
215 pixel = (macfb_read_byte(s, addr) << 8) | macfb_read_byte(s, addr + 1); in macfb_draw_line16()
234 r = macfb_read_byte(s, addr + 1); in macfb_draw_line24()
235 g = macfb_read_byte(s, addr + 2); in macfb_draw_line24()
236 b = macfb_read_byte(s, addr + 3); in macfb_draw_line24()