Searched refs:COPY_PIXEL (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/display/ |
H A D | pl110_template.h | 45 #define FN(x, y) COPY_PIXEL(d, palette[(data >> (y + 7 - (x))) & 1]); in glue() 47 #define FN(x, y) COPY_PIXEL(d, palette[(data >> ((x) + y)) & 1]); in glue() 73 #define FN(x, y) COPY_PIXEL(d, palette[(data >> (y + 6 - (x)*2)) & 3]); in glue() 75 #define FN(x, y) COPY_PIXEL(d, palette[(data >> ((x)*2 + y)) & 3]); in glue() 101 #define FN(x, y) COPY_PIXEL(d, palette[(data >> (y + 4 - (x)*4)) & 0xf]); in glue() 103 #define FN(x, y) COPY_PIXEL(d, palette[(data >> ((x)*4 + y)) & 0xf]); in glue() 128 #define FN(x) COPY_PIXEL(d, palette[(data >> (x)) & 0xff]); in glue() 177 COPY_PIXEL(d, rgb_to_pixel32(r, g, b)); in glue() 184 COPY_PIXEL(d, rgb_to_pixel32(r, g, b)); in glue() 214 COPY_PIXEL(d, rgb_to_pixel32(r, g, b)); in glue() [all …]
|
H A D | pl110.c | 129 #define COPY_PIXEL(to, from) do { *(uint32_t *)to = from; to += 4; } while (0) macro 150 #undef COPY_PIXEL
|