Searched refs:pixel (Results 1 - 20 of 20) sorted by relevance

/linux-master/drivers/gpu/drm/udl/
H A Dudl_transfer.c29 static inline u16 pixel32_to_be16(const uint32_t pixel) argument
31 return (((pixel >> 3) & 0x001f) |
32 ((pixel >> 5) & 0x07e0) |
33 ((pixel >> 8) & 0xf800));
36 static inline u16 get_pixel_val16(const uint8_t *pixel, int log_bpp) argument
40 pixel_val16 = *(const uint16_t *)pixel;
42 pixel_val16 = pixel32_to_be16(*(const uint32_t *)pixel);
65 * Rather than 256 pixel commands which are either rl or raw encoded,
70 * compression than 256 pixel raw or rle commands, with similar CPU consumpion.
81 const u8 *pixel local
[all...]
/linux-master/drivers/video/fbdev/core/
H A Dfb_draw.h21 * Create a pattern with the given pixel's color
26 pixel_to_pat( u32 bpp, u32 pixel) argument
30 return 0xfffffffffffffffful*pixel;
32 return 0x5555555555555555ul*pixel;
34 return 0x1111111111111111ul*pixel;
36 return 0x0101010101010101ul*pixel;
38 return 0x1001001001001001ul*pixel;
40 return 0x0001000100010001ul*pixel;
42 return 0x0001000001000001ul*pixel;
44 return 0x0000000100000001ul*pixel;
52 pixel_to_pat( u32 bpp, u32 pixel) argument
[all...]
/linux-master/drivers/gpu/drm/bridge/imx/
H A DMakefile6 obj-$(CONFIG_DRM_IMX8QXP_PIXEL_COMBINER) += imx8qxp-pixel-combiner.o
7 obj-$(CONFIG_DRM_IMX8QXP_PIXEL_LINK) += imx8qxp-pixel-link.o
/linux-master/drivers/staging/fbtft/
H A Dfb_agm1264k-fl.c247 signed short pixel, signed short error)
264 /* pixel itself */
265 *write_pos = pixel;
295 u16 pixel = vmem16[y * par->info->var.xres + x]; local
296 u16 b = pixel & 0x1f;
297 u16 g = (pixel & (0x3f << 5)) >> 5;
298 u16 r = (pixel & (0x1f << (5 + 6))) >> (5 + 6);
300 pixel = (299 * r + 587 * g + 114 * b) / 200;
301 if (pixel > 255)
302 pixel
245 iterate_diffusion_matrix(u32 xres, u32 yres, int x, int y, signed short *convert_buf, signed short pixel, signed short error) argument
312 signed short pixel = local
[all...]
H A Dfb_ssd1325.c61 static uint8_t rgb565_to_g16(u16 pixel) argument
63 u16 b = pixel & 0x1f;
64 u16 g = (pixel & (0x3f << 5)) >> 5;
65 u16 r = (pixel & (0x1f << (5 + 6))) >> (5 + 6);
67 pixel = (299 * r + 587 * g + 114 * b) / 195;
68 if (pixel > 255)
69 pixel = 255;
70 return (uint8_t)pixel / 16;
/linux-master/drivers/video/fbdev/
H A Dudlfb.c72 static int pixel_limit; /* Optionally force a pixel resolution limit */
421 * Rather than 256 pixel commands which are either rl or raw encoded,
426 * compression than 256 pixel raw or rle commands, with similar CPU consumpion.
438 const uint16_t *pixel = *pixel_start_ptr; local
442 while ((pixel_end > pixel) &&
450 *pixel == *(u16 *)((u8 *)pixel + back_buffer_offset)) {
451 pixel++;
464 cmd_pixel_start = pixel;
467 raw_pixel_start = pixel;
[all...]
/linux-master/drivers/gpu/drm/vkms/
H A Dvkms_composer.c35 * The current DRM assumption is that pixel color values have been already
158 struct pixel_argb_u16 *pixel = &output_buffer->pixels[x]; local
160 pixel->r = apply_lut_to_channel_value(&crtc_state->gamma_lut, pixel->r, LUT_RED);
161 pixel->g = apply_lut_to_channel_value(&crtc_state->gamma_lut, pixel->g, LUT_GREEN);
162 pixel->b = apply_lut_to_channel_value(&crtc_state->gamma_lut, pixel->b, LUT_BLUE);
254 * instead doing it for each channel of each pixel in case
/linux-master/drivers/video/fbdev/matrox/
H A Dmatroxfb_misc.c543 minfo->limits.pixel.vcomax = maxdac;
555 minfo->limits.pixel.vcomax = 220000;
564 minfo->limits.pixel.vcomax =
578 minfo->limits.pixel.vcomax =
588 minfo->limits.pixel.vcomax =
606 minfo->limits.pixel.vcomax =
618 minfo->limits.pixel.vcomax = (bd->pins[ 39] == 0xFF) ? 230000 : bd->pins[ 39] * 4000;
619 minfo->limits.system.vcomax = (bd->pins[ 38] == 0xFF) ? minfo->limits.pixel.vcomax : bd->pins[ 38] * 4000;
637 minfo->limits.pixel.vcomax =
654 minfo->limits.pixel
[all...]
H A Dg450_pll.c392 pi = &minfo->limits.pixel;
393 ci = &minfo->cache.pixel;
H A Dmatroxfb_base.h463 struct matrox_pll_limits pixel; member in struct:matrox_fb_info::__anon2900
468 struct matrox_pll_cache pixel; member in struct:matrox_fb_info::__anon2901
/linux-master/drivers/video/fbdev/omap/
H A Dlcd_mipid.c247 u16 pixel; local
258 pixel = ((red >> 1) << 11) | (green << 5) | (blue >> 1);
262 pixel = ((red >> 3) << 11) | ((green >> 2) << 5) |
266 pixel = 0;
270 return pixel;
292 u16 pixel; local
295 pixel = read_first_pixel(md);
296 if (pixel == test_values[i])
302 test_values[i], pixel);
/linux-master/drivers/gpu/drm/nouveau/dispnv04/
H A Dcrtc.c925 uint32_t pixel; local
930 pixel = nouveau_bo_rd32(src, i*64 + j);
932 nouveau_bo_wr16(dst, i*width + j, (pixel & 0x80000000) >> 16
933 | (pixel & 0xf80000) >> 9
934 | (pixel & 0xf800) >> 6
935 | (pixel & 0xf8) >> 3);
943 uint32_t pixel; local
953 pixel = nouveau_bo_rd32(src, i);
960 alpha = pixel >> 24;
962 pixel
[all...]
/linux-master/drivers/gpu/drm/sun4i/
H A Dsun4i_tv.c138 u16 pixel; member in struct:resync_parameters
198 .field = false, .line = 14, .pixel = 12,
202 .field = true, .line = 13, .pixel = 12,
380 SUN4I_TVE_RESYNC_PIXEL(tv_mode->resync_params->pixel) |
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_vblank.c44 * last visible pixel first visible pixel
46 * pixel counter = vblank_start * htotal pixel counter = 0 (gen3/4)
60 * - gen3/4 pixel and frame counter are synchronized with the start
73 u32 pixel, vbl_start, hsync_start, htotal; local
96 /* Convert to pixel count */
109 pixel = frame & PIPE_PIXEL_MASK;
114 * Cook up a vblank counter by also checking the pixel
117 return (frame + (pixel >
[all...]
/linux-master/drivers/video/fbdev/nvidia/
H A Dnv_type.h65 u32 pixel; member in struct:_riva_hw_state
H A Dnv_hw.c943 state->pixel = (pixelDepth > 2) ? 3 : pixelDepth;
1563 VGA_WR08(par->PCIO, 0x03D5, state->pixel);
1621 state->pixel = VGA_RD08(par->PCIO, 0x03D5);
H A Dnvidia.c416 state->pixel |= (1 << 7);
1588 MODULE_PARM_DESC(bpp, "pixel width in bits"
/linux-master/drivers/video/fbdev/riva/
H A Driva_hw.h190 * 2D pixel BLT.
505 U032 pixel; member in struct:_riva_hw_state
H A Driva_hw.c1310 state->pixel = pixelDepth > 2 ? 3 : pixelDepth;
1657 VGA_WR08(chip->PCIO, 0x03D5, state->pixel);
1719 state->pixel = VGA_RD08(chip->PCIO, 0x03D5);
1827 * 4 pixel pan register.
H A Dfbdev.c471 * image bits determines the color of the pixel, 0 for background, 1 for
782 newmode.ext.pixel |= (1 << 7);
802 newmode.ext.pixel |= (1 << 7);

Completed in 210 milliseconds