Searched refs:dst_pixels (Results 1 – 1 of 1) sorted by relevance
| /Linux-v6.1/drivers/gpu/drm/vkms/ |
| D | vkms_formats.c | 153 u8 *dst_pixels = packed_pixels_addr(frame_info, x_dst, y); in argb_u16_to_ARGB8888() local 158 for (size_t x = 0; x < x_limit; x++, dst_pixels += 4) { in argb_u16_to_ARGB8888() 169 dst_pixels[3] = DIV_ROUND_CLOSEST(in_pixels[x].a, 257); in argb_u16_to_ARGB8888() 170 dst_pixels[2] = DIV_ROUND_CLOSEST(in_pixels[x].r, 257); in argb_u16_to_ARGB8888() 171 dst_pixels[1] = DIV_ROUND_CLOSEST(in_pixels[x].g, 257); in argb_u16_to_ARGB8888() 172 dst_pixels[0] = DIV_ROUND_CLOSEST(in_pixels[x].b, 257); in argb_u16_to_ARGB8888() 180 u8 *dst_pixels = packed_pixels_addr(frame_info, x_dst, y); in argb_u16_to_XRGB8888() local 185 for (size_t x = 0; x < x_limit; x++, dst_pixels += 4) { in argb_u16_to_XRGB8888() 186 dst_pixels[3] = 0xff; in argb_u16_to_XRGB8888() 187 dst_pixels[2] = DIV_ROUND_CLOSEST(in_pixels[x].r, 257); in argb_u16_to_XRGB8888() [all …]
|