Home
last modified time | relevance | path

Searched refs:in_pixels (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/vkms/
Dvkms_formats.c154 struct pixel_argb_u16 *in_pixels = src_buffer->pixels; in argb_u16_to_ARGB8888() local
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()
181 struct pixel_argb_u16 *in_pixels = src_buffer->pixels; in argb_u16_to_XRGB8888() local
187 dst_pixels[2] = DIV_ROUND_CLOSEST(in_pixels[x].r, 257); in argb_u16_to_XRGB8888()
188 dst_pixels[1] = DIV_ROUND_CLOSEST(in_pixels[x].g, 257); in argb_u16_to_XRGB8888()
189 dst_pixels[0] = DIV_ROUND_CLOSEST(in_pixels[x].b, 257); in argb_u16_to_XRGB8888()
198 struct pixel_argb_u16 *in_pixels = src_buffer->pixels; in argb_u16_to_ARGB16161616() local
[all …]