Lines Matching full:pixels

78 	__le16 *pixels = (__force __le16 *)src_pixels;  in ARGB16161616_to_argb_u16()  local
80 out_pixel->a = le16_to_cpu(pixels[3]); in ARGB16161616_to_argb_u16()
81 out_pixel->r = le16_to_cpu(pixels[2]); in ARGB16161616_to_argb_u16()
82 out_pixel->g = le16_to_cpu(pixels[1]); in ARGB16161616_to_argb_u16()
83 out_pixel->b = le16_to_cpu(pixels[0]); in ARGB16161616_to_argb_u16()
88 __le16 *pixels = (__force __le16 *)src_pixels; in XRGB16161616_to_argb_u16() local
91 out_pixel->r = le16_to_cpu(pixels[2]); in XRGB16161616_to_argb_u16()
92 out_pixel->g = le16_to_cpu(pixels[1]); in XRGB16161616_to_argb_u16()
93 out_pixel->b = le16_to_cpu(pixels[0]); in XRGB16161616_to_argb_u16()
98 __le16 *pixels = (__force __le16 *)src_pixels; in RGB565_to_argb_u16() local
103 u16 rgb_565 = le16_to_cpu(*pixels); in RGB565_to_argb_u16()
116 * @stage_buffer: output line with the composed pixels
120 * This function composes a single row of a plane. It gets the source pixels
122 * through the source pixel, reading the pixels and converting it to
124 * the source pixels are not traversed linearly. The source pixels are queried
125 * on each iteration in order to traverse the pixels vertically.
129 struct pixel_argb_u16 *out_pixels = stage_buffer->pixels; in vkms_compose_row()
146 * The following functions take an line of argb_u16 pixels from the
181 __le16 *pixels = (__force __le16 *)dst_pixels; in argb_u16_to_ARGB16161616() local
183 pixels[3] = cpu_to_le16(in_pixel->a); in argb_u16_to_ARGB16161616()
184 pixels[2] = cpu_to_le16(in_pixel->r); in argb_u16_to_ARGB16161616()
185 pixels[1] = cpu_to_le16(in_pixel->g); in argb_u16_to_ARGB16161616()
186 pixels[0] = cpu_to_le16(in_pixel->b); in argb_u16_to_ARGB16161616()
191 __le16 *pixels = (__force __le16 *)dst_pixels; in argb_u16_to_XRGB16161616() local
193 pixels[3] = cpu_to_le16(0xffff); in argb_u16_to_XRGB16161616()
194 pixels[2] = cpu_to_le16(in_pixel->r); in argb_u16_to_XRGB16161616()
195 pixels[1] = cpu_to_le16(in_pixel->g); in argb_u16_to_XRGB16161616()
196 pixels[0] = cpu_to_le16(in_pixel->b); in argb_u16_to_XRGB16161616()
201 __le16 *pixels = (__force __le16 *)dst_pixels; in argb_u16_to_RGB565() local
214 *pixels = cpu_to_le16(r << 11 | g << 5 | b); in argb_u16_to_RGB565()
223 struct pixel_argb_u16 *in_pixels = src_buffer->pixels; in vkms_writeback_row()