Searched refs:cpu_to_fb16 (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/libdrm/dist/tests/util/
H A Dpattern.c90 #define cpu_to_fb16(x) (fb_be ? cpu_to_be16(x) : cpu_to_le16(x)) macro
569 ((uint16_t *)mem)[x] = cpu_to_fb16(colors_top[x * 7 / width]);
575 ((uint16_t *)mem)[x] = cpu_to_fb16(colors_middle[x * 7 / width]);
582 cpu_to_fb16(colors_bottom[x * 4 / (width * 5 / 7)]);
585 cpu_to_fb16(colors_bottom[(x - width * 5 / 7) * 3
588 ((uint16_t *)mem)[x] = cpu_to_fb16(colors_bottom[7]);
1539 ((uint16_t *)mem)[x] = cpu_to_fb16(color);

Completed in 4 milliseconds