Home
last modified time | relevance | path

Searched refs:pixels (Results 1 – 25 of 34) sorted by relevance

12

/drivers/gpu/drm/tiny/
Drepaper.c208 u8 pixels = data[b] & 0xaa; in repaper_even_pixels() local
213 pixel_mask = (mask[b] ^ pixels) & 0xaa; in repaper_even_pixels()
219 pixels = 0xaa | ((pixels ^ 0xaa) >> 1); in repaper_even_pixels()
222 pixels = 0x55 + ((pixels ^ 0xaa) >> 1); in repaper_even_pixels()
225 pixels = 0x55 | (pixels ^ 0xaa); in repaper_even_pixels()
228 pixels = 0xaa | (pixels >> 1); in repaper_even_pixels()
232 pixels = (pixels & pixel_mask) | (~pixel_mask & 0x55); in repaper_even_pixels()
233 p1 = (pixels >> 6) & 0x03; in repaper_even_pixels()
234 p2 = (pixels >> 4) & 0x03; in repaper_even_pixels()
235 p3 = (pixels >> 2) & 0x03; in repaper_even_pixels()
[all …]
/drivers/gpu/drm/vkms/
Dvkms_formats.c69 u16 *pixels = (u16 *)src_pixels; in ARGB16161616_to_argb_u16() local
71 out_pixel->a = le16_to_cpu(pixels[3]); in ARGB16161616_to_argb_u16()
72 out_pixel->r = le16_to_cpu(pixels[2]); in ARGB16161616_to_argb_u16()
73 out_pixel->g = le16_to_cpu(pixels[1]); in ARGB16161616_to_argb_u16()
74 out_pixel->b = le16_to_cpu(pixels[0]); in ARGB16161616_to_argb_u16()
79 u16 *pixels = (u16 *)src_pixels; in XRGB16161616_to_argb_u16() local
82 out_pixel->r = le16_to_cpu(pixels[2]); in XRGB16161616_to_argb_u16()
83 out_pixel->g = le16_to_cpu(pixels[1]); in XRGB16161616_to_argb_u16()
84 out_pixel->b = le16_to_cpu(pixels[0]); in XRGB16161616_to_argb_u16()
89 u16 *pixels = (u16 *)src_pixels; in RGB565_to_argb_u16() local
[all …]
Dvkms_composer.c43 struct pixel_argb_u16 *out = output_buffer->pixels + x_dst; in pre_mul_alpha_blend()
44 struct pixel_argb_u16 *in = stage_buffer->pixels; in pre_mul_alpha_blend()
68 output_buffer->pixels[i] = *background_color; in fill_background()
107 *crc32 = crc32_le(*crc32, (void *)output_buffer->pixels, row_size); in blend()
168 stage_buffer.pixels = kvmalloc(line_width * pixel_size, GFP_KERNEL); in compose_active_planes()
169 if (!stage_buffer.pixels) { in compose_active_planes()
174 output_buffer.pixels = kvmalloc(line_width * pixel_size, GFP_KERNEL); in compose_active_planes()
175 if (!output_buffer.pixels) { in compose_active_planes()
184 kvfree(output_buffer.pixels); in compose_active_planes()
186 kvfree(stage_buffer.pixels); in compose_active_planes()
Dvkms_drv.h41 struct pixel_argb_u16 *pixels; member
/drivers/gpu/drm/
Ddrm_format_helper.c209 static void drm_fb_swab16_line(void *dbuf, const void *sbuf, unsigned int pixels) in drm_fb_swab16_line() argument
213 const u16 *send16 = sbuf16 + pixels; in drm_fb_swab16_line()
219 static void drm_fb_swab32_line(void *dbuf, const void *sbuf, unsigned int pixels) in drm_fb_swab32_line() argument
223 const u32 *send32 = sbuf32 + pixels; in drm_fb_swab32_line()
275 static void drm_fb_xrgb8888_to_rgb332_line(void *dbuf, const void *sbuf, unsigned int pixels) in drm_fb_xrgb8888_to_rgb332_line() argument
282 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_rgb332_line()
323 static void drm_fb_xrgb8888_to_rgb565_line(void *dbuf, const void *sbuf, unsigned int pixels) in drm_fb_xrgb8888_to_rgb565_line() argument
331 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_rgb565_line()
341 unsigned int pixels) in drm_fb_xrgb8888_to_rgb565_swab_line() argument
349 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_rgb565_swab_line()
[all …]
/drivers/video/fbdev/
Dc2p_planar.c91 u8 pixels[32]; in c2p_planar() member
109 memset(d.pixels, 0, sizeof(d)); in c2p_planar()
110 memcpy(d.pixels+dst_idx, c, width); in c2p_planar()
122 memset(d.pixels, 0, dst_idx); in c2p_planar()
123 memcpy(d.pixels+dst_idx, c, w); in c2p_planar()
133 memcpy(d.pixels, c, 32); in c2p_planar()
143 memcpy(d.pixels, c, w); in c2p_planar()
144 memset(d.pixels+w, 0, 32-w); in c2p_planar()
Dc2p_iplan2.c89 u8 pixels[16]; in c2p_iplan2() member
109 memset(d.pixels, 0, sizeof(d)); in c2p_iplan2()
110 memcpy(d.pixels+dst_idx, c, width); in c2p_iplan2()
121 memset(d.pixels, 0, dst_idx); in c2p_iplan2()
122 memcpy(d.pixels+dst_idx, c, w); in c2p_iplan2()
131 memcpy(d.pixels, c, 16); in c2p_iplan2()
141 memcpy(d.pixels, c, w); in c2p_iplan2()
142 memset(d.pixels+w, 0, 16-w); in c2p_iplan2()
Dcirrusfb.c535 unsigned int pixels; in cirrusfb_check_var() local
577 pixels = info->screen_size * 8 / var->bits_per_pixel; in cirrusfb_check_var()
582 var->yres_virtual = pixels / var->xres_virtual; in cirrusfb_check_var()
591 if (var->xres_virtual * var->yres_virtual > pixels) { in cirrusfb_check_var()
DKconfig98 and 4 bits per pixel depths which has opposite order of pixels in
201 the standard blitting divides the screen into pixels. Because the
203 parameters in terms of number of tiles instead of number of pixels.
1146 packed pixels, so it is a good idea to compile them into the kernel
1197 packed pixels, so it is a good idea to compile them into the kernel
/drivers/gpu/drm/vboxvideo/
Dhgsmi_base.c119 u8 *pixels, u32 len) in hgsmi_update_pointer_shape() argument
154 memcpy(p->data, pixels, pixel_len); in hgsmi_update_pointer_shape()
Dvboxvideo_guest.h36 u8 *pixels, u32 len);
/drivers/media/usb/gspca/
Dse401.c475 int i, plen, bits, pixels, info, count; in sd_pkt_scan_janggu() local
500 pixels = sd->packet[1] + ((sd->packet[0] & 0x3f) << 8); in sd_pkt_scan_janggu()
524 sd->pixels_read += pixels; in sd_pkt_scan_janggu()
543 sd->pixels_read = pixels; in sd_pkt_scan_janggu()
/drivers/gpu/drm/arm/
DKconfig21 Enable this option to show in red colour the pixels that the
/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_compressor.c65 static uint32_t align_to_chunks_number_per_line(uint32_t pixels) in align_to_chunks_number_per_line() argument
67 return 256 * ((pixels + 255) / 256); in align_to_chunks_number_per_line()
/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c491 unsigned int pixels, load = 0; in atmel_hlcdc_plane_prepare_ahb_routing() local
501 pixels = (plane_state->src_w * plane_state->src_h) - in atmel_hlcdc_plane_prepare_ahb_routing()
505 load += pixels * plane_state->bpp[i]; in atmel_hlcdc_plane_prepare_ahb_routing()
/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_compressor.c285 uint32_t pixels) in align_to_chunks_number_per_line() argument
287 return 256 * ((pixels + 255) / 256); in align_to_chunks_number_per_line()
/drivers/gpu/drm/tidss/
Dtidss_dispc.c1904 static s32 pixinc(int pixels, u8 ps) in pixinc() argument
1906 if (pixels == 1) in pixinc()
1908 else if (pixels > 1) in pixinc()
1909 return 1 + (pixels - 1) * ps; in pixinc()
1910 else if (pixels < 0) in pixinc()
1911 return 1 - (-pixels + 1) * ps; in pixinc()
/drivers/media/i2c/ccs/
Dccs-core.c267 u32 pixels; in ccs_read_frame_fmt() local
278 pixels = desc & CCS_FRAME_FORMAT_DESCRIPTOR_PIXELS_MASK; in ccs_read_frame_fmt()
287 pixels = desc & in ccs_read_frame_fmt()
324 what, pixels, which, pixelcode); in ccs_read_frame_fmt()
330 pixel_count += pixels; in ccs_read_frame_fmt()
340 sensor->embedded_end = line_count + pixels; in ccs_read_frame_fmt()
346 line_count += pixels; in ccs_read_frame_fmt()
/drivers/staging/fbtft/
DKconfig170 displays with a resolution of up to 320x240 pixels.
/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c1805 static s32 pixinc(int pixels, u8 ps) in pixinc() argument
1807 if (pixels == 1) in pixinc()
1809 else if (pixels > 1) in pixinc()
1810 return 1 + (pixels - 1) * ps; in pixinc()
1811 else if (pixels < 0) in pixinc()
1812 return 1 - (-pixels + 1) * ps; in pixinc()
/drivers/video/fbdev/matrox/
Dmatroxfb_base.h235 unsigned int pixels; member
Dmatroxfb_accel.c85 #define curr_ydstorg(x) ((x)->curr.ydstorg.pixels)
/drivers/gpu/drm/omapdrm/dss/
Ddispc.c2087 static s32 pixinc(int pixels, u8 ps) in pixinc() argument
2089 if (pixels == 1) in pixinc()
2091 else if (pixels > 1) in pixinc()
2092 return 1 + (pixels - 1) * ps; in pixinc()
2093 else if (pixels < 0) in pixinc()
2094 return 1 - (-pixels + 1) * ps; in pixinc()
/drivers/gpu/drm/panel/
DKconfig368 has a resolution of 720x1440 pixels, a built in backlight and touch
619 the Librem 5 devkit. It has a resolution of 720x1440 pixels, a built
/drivers/gpu/drm/i915/display/
Dvlv_dsi.c51 static u16 txbyteclkhs(u16 pixels, int bpp, int lane_count, in txbyteclkhs() argument
54 return DIV_ROUND_UP(DIV_ROUND_UP(pixels * bpp * burst_mode_ratio, in txbyteclkhs()

12