Searched refs:dst_pixels (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/vkms/ |
H A D | vkms_formats.c | 153 static void argb_u16_to_ARGB8888(u8 *dst_pixels, struct pixel_argb_u16 *in_pixel) in argb_u16_to_ARGB8888() argument 165 dst_pixels[3] = DIV_ROUND_CLOSEST(in_pixel->a, 257); in argb_u16_to_ARGB8888() 166 dst_pixels[2] = DIV_ROUND_CLOSEST(in_pixel->r, 257); in argb_u16_to_ARGB8888() 167 dst_pixels[1] = DIV_ROUND_CLOSEST(in_pixel->g, 257); in argb_u16_to_ARGB8888() 168 dst_pixels[0] = DIV_ROUND_CLOSEST(in_pixel->b, 257); in argb_u16_to_ARGB8888() 171 static void argb_u16_to_XRGB8888(u8 *dst_pixels, struct pixel_argb_u16 *in_pixel) in argb_u16_to_XRGB8888() argument 173 dst_pixels[3] = 0xff; in argb_u16_to_XRGB8888() 174 dst_pixels[2] = DIV_ROUND_CLOSEST(in_pixel->r, 257); in argb_u16_to_XRGB8888() 175 dst_pixels[1] = DIV_ROUND_CLOSEST(in_pixel->g, 257); in argb_u16_to_XRGB8888() 176 dst_pixels[0] = DIV_ROUND_CLOSEST(in_pixel->b, 257); in argb_u16_to_XRGB8888() [all …]
|
H A D | vkms_drv.h | 51 void (*pixel_write)(u8 *dst_pixels, struct pixel_argb_u16 *in_pixel);
|