Lines Matching refs:dst_pixels
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()
179 static void argb_u16_to_ARGB16161616(u8 *dst_pixels, struct pixel_argb_u16 *in_pixel) in argb_u16_to_ARGB16161616() argument
181 u16 *pixels = (u16 *)dst_pixels; in argb_u16_to_ARGB16161616()
189 static void argb_u16_to_XRGB16161616(u8 *dst_pixels, struct pixel_argb_u16 *in_pixel) in argb_u16_to_XRGB16161616() argument
191 u16 *pixels = (u16 *)dst_pixels; in argb_u16_to_XRGB16161616()
199 static void argb_u16_to_RGB565(u8 *dst_pixels, struct pixel_argb_u16 *in_pixel) in argb_u16_to_RGB565() argument
201 u16 *pixels = (u16 *)dst_pixels; in argb_u16_to_RGB565()
222 u8 *dst_pixels = packed_pixels_addr(frame_info, x_dst, y); in vkms_writeback_row() local
226 for (size_t x = 0; x < x_limit; x++, dst_pixels += frame_info->cpp) in vkms_writeback_row()
227 wb->pixel_write(dst_pixels, &in_pixels[x]); in vkms_writeback_row()