Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/
A Ddrm_format_helper.c254 unsigned int pixels, in drm_fb_xfrm_line_32to8() argument
260 const __le32 *send32 = sbuf32 + pixels; in drm_fb_xfrm_line_32to8()
286 unsigned int pixels, in drm_fb_xfrm_line_32to16() argument
293 const __le32 *send32 = sbuf32 + pixels; in drm_fb_xfrm_line_32to16()
335 unsigned int pixels, in drm_fb_xfrm_line_32to24() argument
341 const __le32 *send32 = sbuf32 + pixels; in drm_fb_xfrm_line_32to24()
385 unsigned int pixels, in drm_fb_xfrm_line_32to32() argument
454 const u16 *send16 = sbuf16 + pixels; in drm_fb_swab16_line()
464 const u32 *send32 = sbuf32 + pixels; in drm_fb_swab32_line()
597 unsigned int pixels) in drm_fb_xrgb8888_to_rgb565be_line() argument
[all …]
/drivers/gpu/drm/tiny/
A Drepaper.c220 pixels = 0xaa | ((pixels ^ 0xaa) >> 1); in repaper_even_pixels()
223 pixels = 0x55 + ((pixels ^ 0xaa) >> 1); in repaper_even_pixels()
226 pixels = 0x55 | (pixels ^ 0xaa); in repaper_even_pixels()
229 pixels = 0xaa | (pixels >> 1); in repaper_even_pixels()
265 pixels = 0xaa | (pixels ^ 0x55); in repaper_odd_pixels()
268 pixels = 0x55 + (pixels ^ 0x55); in repaper_odd_pixels()
271 pixels = 0x55 | ((pixels ^ 0x55) << 1); in repaper_odd_pixels()
274 pixels = 0xaa | pixels; in repaper_odd_pixels()
317 pixels = 0xaaaa | (pixels ^ 0x5555); in repaper_all_pixels()
320 pixels = 0x5555 + (pixels ^ 0x5555); in repaper_all_pixels()
[all …]
/drivers/video/fbdev/
A Dc2p_iplan2.c90 u8 pixels[16]; in c2p_iplan2() member
110 memset(d.pixels, 0, sizeof(d)); in c2p_iplan2()
111 memcpy(d.pixels+dst_idx, c, width); in c2p_iplan2()
122 memset(d.pixels, 0, dst_idx); in c2p_iplan2()
123 memcpy(d.pixels+dst_idx, c, w); in c2p_iplan2()
132 memcpy(d.pixels, c, 16); in c2p_iplan2()
142 memcpy(d.pixels, c, w); in c2p_iplan2()
143 memset(d.pixels+w, 0, 16-w); in c2p_iplan2()
A Dc2p_planar.c92 u8 pixels[32]; in c2p_planar() member
110 memset(d.pixels, 0, sizeof(d)); in c2p_planar()
111 memcpy(d.pixels+dst_idx, c, width); in c2p_planar()
123 memset(d.pixels, 0, dst_idx); in c2p_planar()
124 memcpy(d.pixels+dst_idx, c, w); in c2p_planar()
134 memcpy(d.pixels, c, 32); in c2p_planar()
144 memcpy(d.pixels, c, w); in c2p_planar()
145 memset(d.pixels+w, 0, 32-w); in c2p_planar()
A 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()
/drivers/video/fbdev/core/
A Dfb_fillrect.h36 unsigned long pixels; member
44 return pattern->pixels; in fb_pattern_get()
50 return swab_long(pattern->pixels); in fb_pattern_get_reverse()
62 pattern->pixels = fb_left(pattern->pixels, pattern->left) in fb_pattern_rotate()
63 | fb_right(pattern->pixels, pattern->right); in fb_pattern_rotate()
211 pattern->pixels = swab_long(pattern->pixels); in fb_fillrect_static()
239 unsigned long pat = pattern->pixels; in fb_fillrect_rotating()
245 pattern->pixels = fb_rotate(pat, dst->bits, bpp); in fb_fillrect_rotating()
251 pattern->pixels = fb_rotate(pat, dst->bits, bpp); in fb_fillrect_rotating()
267 pattern.pixels = pixel_to_pat(bpp, palette ? palette[rect->color] : rect->color); in fb_fillrect()
A Dfb_imageblit.h37 static bool fb_bitmap_image(void *iterator, unsigned long *pixels, int *bits) in fb_bitmap_image() argument
45 *pixels = iter->colors[(iter->data[byte] >> bit) & 1]; in fb_bitmap_image()
62 static bool fb_color_image(void *iterator, unsigned long *pixels, int *bits) in fb_color_image() argument
71 *pixels = color << iter->shift; in fb_color_image()
73 *pixels = fb_reverse_bits_long(*pixels); in fb_color_image()
119 *pixels = (iter->fgxcolor & iter->expand[data]) ^ iter->bgcolor; in fb_bitmap4x_image()
121 *pixels <<= BITS_PER_LONG - *bits; in fb_bitmap4x_image()
132 unsigned long pixels, val, mask, old; in fb_bitblit() local
145 while (get(iter, &pixels, &bits)) { in fb_bitblit()
146 val |= fb_right(pixels, shift); in fb_bitblit()
[all …]
A DKconfig58 and 4 bits per pixel depths which has opposite order of pixels in
90 and 4 bits per pixel depths which has opposite order of pixels in
198 the standard blitting divides the screen into pixels. Because the
200 parameters in terms of number of tiles instead of number of pixels.
/drivers/gpu/drm/vkms/
A Dvkms_composer.c43 struct pixel_argb_u16 *out = &output_buffer->pixels[x_start]; in pre_mul_alpha_blend()
44 const struct pixel_argb_u16 *in = &stage_buffer->pixels[x_start]; in pre_mul_alpha_blend()
59 output_buffer->pixels[i] = *background_color; in fill_background()
127 struct pixel_argb_u16 *pixel = &output_buffer->pixels[x]; in apply_lut()
349 pixel_count, &stage_buffer->pixels[dst_x_start]); in blend_line()
398 *crc32 = crc32_le(*crc32, (void *)output_buffer->pixels, row_size); in blend()
459 stage_buffer.pixels = kvmalloc(line_width * pixel_size, GFP_KERNEL); in compose_active_planes()
460 if (!stage_buffer.pixels) { in compose_active_planes()
466 if (!output_buffer.pixels) { in compose_active_planes()
475 kvfree(output_buffer.pixels); in compose_active_planes()
[all …]
A Dvkms_drv.h71 struct pixel_argb_u16 *pixels; member
/drivers/gpu/drm/i915/display/
A Dintel_vdsc_regs.h18 #define OVERLAP_PIXELS(pixels) ((pixels) << 16) argument
20 #define LEFT_DL_BUF_TARGET_DEPTH(pixels) ((pixels) << 0) argument
29 #define RIGHT_DL_BUF_TARGET_DEPTH(pixels) ((pixels) << 0) argument
/drivers/gpu/drm/vboxvideo/
A Dhgsmi_base.c119 u8 *pixels, u32 len) in hgsmi_update_pointer_shape() argument
162 memcpy(p->data, pixels, pixel_len); in hgsmi_update_pointer_shape()
A Dvboxvideo_guest.h36 u8 *pixels, u32 len);
/drivers/media/usb/gspca/
A 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/media/platform/imagination/
A DKconfig14 pixels. The module will be named as e5010_jpeg_enc.
/drivers/gpu/drm/arm/
A DKconfig24 Enable this option to show in red colour the pixels that the
/drivers/gpu/drm/amd/display/dc/dce110/
A 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/amd/display/dc/dce112/
A 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/atmel-hlcdc/
A Datmel_hlcdc_plane.c595 unsigned int pixels, load = 0; in atmel_hlcdc_plane_prepare_ahb_routing() local
605 pixels = (plane_state->src_w * plane_state->src_h) - in atmel_hlcdc_plane_prepare_ahb_routing()
609 load += pixels * plane_state->bpp[i]; in atmel_hlcdc_plane_prepare_ahb_routing()
/drivers/staging/fbtft/
A DKconfig144 displays with a resolution of up to 320x240 pixels.
/drivers/gpu/drm/tidss/
A Dtidss_dispc.c2146 static s32 pixinc(int pixels, u8 ps) in pixinc() argument
2148 if (pixels == 1) in pixinc()
2150 else if (pixels > 1) in pixinc()
2151 return 1 + (pixels - 1) * ps; in pixinc()
2152 else if (pixels < 0) in pixinc()
2153 return 1 - (-pixels + 1) * ps; in pixinc()
/drivers/media/i2c/ccs/
A Dccs-core.c277 u32 pixels; in ccs_read_frame_fmt() local
288 pixels = desc & CCS_FRAME_FORMAT_DESCRIPTOR_PIXELS_MASK; in ccs_read_frame_fmt()
297 pixels = desc & in ccs_read_frame_fmt()
334 what, pixels, which, pixelcode); in ccs_read_frame_fmt()
340 pixel_count += pixels; in ccs_read_frame_fmt()
350 sensor->embedded_end = line_count + pixels; in ccs_read_frame_fmt()
356 line_count += pixels; in ccs_read_frame_fmt()
/drivers/video/fbdev/omap2/omapfb/dss/
A Ddispc.c1794 static s32 pixinc(int pixels, u8 ps) in pixinc() argument
1796 if (pixels == 1) in pixinc()
1798 else if (pixels > 1) in pixinc()
1799 return 1 + (pixels - 1) * ps; in pixinc()
1800 else if (pixels < 0) in pixinc()
1801 return 1 - (-pixels + 1) * ps; in pixinc()
/drivers/video/fbdev/matrox/
A Dmatroxfb_base.h235 unsigned int pixels; member
/drivers/media/i2c/
A Dimx283.c622 static u64 imx283_internal_clock(unsigned int pixel_rate, unsigned int pixels) in imx283_internal_clock() argument
633 u64 numerator = pixels * iclk_pre; in imx283_internal_clock()

Completed in 123 milliseconds

12