Home
last modified time | relevance | path

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

12345678

/openbmc/linux/drivers/gpu/drm/vkms/
H A Dvkms_formats.c78 u16 *pixels = (u16 *)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 u16 *pixels = (u16 *)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 u16 *pixels = (u16 *)src_pixels; in RGB565_to_argb_u16() local
[all …]
H A Dvkms_composer.c45 struct pixel_argb_u16 *out = output_buffer->pixels + x_dst; in pre_mul_alpha_blend()
46 struct pixel_argb_u16 *in = stage_buffer->pixels; in pre_mul_alpha_blend()
90 output_buffer->pixels[i] = *background_color; in fill_background()
158 struct pixel_argb_u16 *pixel = &output_buffer->pixels[x]; in apply_lut()
209 *crc32 = crc32_le(*crc32, (void *)output_buffer->pixels, row_size); in blend()
270 stage_buffer.pixels = kvmalloc(line_width * pixel_size, GFP_KERNEL); in compose_active_planes()
271 if (!stage_buffer.pixels) { in compose_active_planes()
276 output_buffer.pixels = kvmalloc(line_width * pixel_size, GFP_KERNEL); in compose_active_planes()
277 if (!output_buffer.pixels) { in compose_active_planes()
286 kvfree(output_buffer.pixels); in compose_active_planes()
[all …]
/openbmc/linux/drivers/gpu/drm/tiny/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/
H A 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()
342 unsigned int pixels) in drm_fb_xrgb8888_to_rgb565_swab_line() argument
350 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_rgb565_swab_line()
[all …]
/openbmc/linux/drivers/video/fbdev/
H A 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()
H A 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()
/openbmc/u-boot/tools/easylogo/
H A Deasylogo.c53 int width, height, pixels, bpp, pixel_size, size, palette_size, yuyv; member
187 image->pixels = image->width * image->height; in image_load_tga()
188 image->size = image->pixels * image->pixel_size; in image_load_tga()
201 for (i = 0; i < image->pixels; i++, p++) { in image_load_tga()
254 yuyv_image->pixels = yuyv_image->width * yuyv_image->height; in image_rgb_to_yuyv()
255 yuyv_image->size = yuyv_image->pixels * yuyv_image->pixel_size; in image_rgb_to_yuyv()
261 while ((count++) < rgb_image->pixels) { in image_rgb_to_yuyv()
290 rgb565_image->pixels = rgb565_image->width * rgb565_image->height; in image_rgb888_to_rgb565()
291 rgb565_image->size = rgb565_image->pixels * rgb565_image->pixel_size; in image_rgb888_to_rgb565()
297 while ((count++) < rgb888_image->pixels) { in image_rgb888_to_rgb565()
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-cropcap.rst43 support cropping and/or scaling and/or have non-square pixels, and for
66 and height are defined in pixels, the driver writer is free to
80 to get square pixels.
82 When cropping coordinates refer to square pixels, the driver sets
109 pixels.
113 pixels.
116 - Width of the rectangle, in pixels.
119 - Height of the rectangle, in pixels.
H A Dv4l2-selection-targets.rst40 This includes only active pixels and excludes other non-active
41 pixels such as black pixels.
74 - The active area and all padding pixels that are inserted or
H A Dpixfmt-y12i.rst16 pixels from 2 sources interleaved and bit-packed. Each pixel is stored
18 these pixels can be deinterlaced using
27 pixels cross the byte boundary and have a ratio of 3 bytes for each
H A Dselection-api-configuration.rst34 in pixels.
51 coordinates are expressed in pixels. The rectangle's top/left corner
70 ``V4L2_SEL_TGT_COMPOSE_PADDED``. It contains all pixels defined using
72 during insertion process. All pixels outside this rectangle *must not*
73 be changed by the hardware. The content of pixels that lie inside the
75 use the padded and active rectangles to detect where the rubbish pixels
91 All coordinates are expressed in pixels. The top/left corner is always
109 target. The rectangle's coordinates are expressed in pixels. The
126 ``V4L2_SEL_TGT_COMPOSE_PADDED`` identifier. It must contain all pixels
H A Dpixfmt-yuv-planar.rst40 For memory contiguous formats, the number of padding pixels at the end of the
197 .. [3] Macroblock size in pixels
215 direction. Chroma lines contain half the number of pixels and the same number
307 pixels and the same number of bytes as luma lines, and the chroma plane
312 pixels in 2D 16x16 tiles, and stores tiles linearly in memory.
317 pixels in 2D 64x32 tiles, and stores 2x2 groups of tiles in
319 The line stride must be a multiple of 128 pixels to ensure an
320 integer number of Z shapes. The image height must be a multiple of 32 pixels.
325 ``V4L2_PIX_FMT_NV12_4L4`` stores pixels in 4x4 tiles, and stores
330 ``V4L2_PIX_FMT_NV12_16L16`` stores pixels in 16x16 tiles, and stores
[all …]
H A Dvidioc-subdev-enum-frame-size.rst99 - Minimum frame width, in pixels. Filled in by the driver.
102 - Maximum frame width, in pixels. Filled in by the driver.
105 - Minimum frame height, in pixels. Filled in by the driver.
108 - Maximum frame height, in pixels. Filled in by the driver.
H A Dvidioc-g-fbuf.rst115 - Width of the frame buffer in pixels.
119 - Height of the frame buffer in pixels.
155 - Distance in bytes between the leftmost pixels in two adjacent
214 image pixels replace pixels in the VGA or video signal only where
241 - The device supports Source Chroma-keying. Video pixels with the
242 chroma-key colors are replaced by framebuffer pixels, which is
290 framebuffer pixels with video images. The blend function is:
305 framebuffer to clip or blend framebuffer pixels with video images,
/openbmc/u-boot/drivers/video/
H A Dstb_truetype.h470 unsigned char *pixels, int pw, int ph, // bitmap to be filled in
521 STBTT_DEF int stbtt_PackBegin(stbtt_pack_context *spc, unsigned char *pixels, int width, int heigh…
613 unsigned char *pixels; member
671 STBTT_DEF float stbtt_ScaleForPixelHeight(const stbtt_fontinfo *info, float pixels);
679 STBTT_DEF float stbtt_ScaleForMappingEmToPixels(const stbtt_fontinfo *info, float pixels);
810 unsigned char *pixels; member
1546 STBTT_DEF float stbtt_ScaleForMappingEmToPixels(const stbtt_fontinfo *info, float pixels) in stbtt_ScaleForMappingEmToPixels() argument
1549 return pixels / unitsPerEm; in stbtt_ScaleForMappingEmToPixels()
1851 STBTT_memcpy(result->pixels + j * result->stride, scanline, result->w); in stbtt__rasterize_sorted_edges()
2131 result->pixels[j*result->stride + i] = (unsigned char) m; in stbtt__rasterize_sorted_edges()
[all …]
H A Dconsole_truetype.c129 int pixels = priv->font_size * vid_priv->line_length; in console_truetype_set_row() local
138 for (i = 0; i < pixels; i++) in console_truetype_set_row()
147 for (i = 0; i < pixels; i++) in console_truetype_set_row()
156 for (i = 0; i < pixels; i++) in console_truetype_set_row()
321 int pixels = xend - xstart; in console_truetype_erase() local
332 for (i = 0; i < pixels; i++) in console_truetype_erase()
341 for (i = 0; i < pixels; i++) in console_truetype_erase()
350 for (i = 0; i < pixels; i++) in console_truetype_erase()
H A Dconsole_normal.c20 int pixels = VIDEO_FONT_HEIGHT * vid_priv->xsize; in console_normal_set_row() local
29 for (i = 0; i < pixels; i++) in console_normal_set_row()
38 for (i = 0; i < pixels; i++) in console_normal_set_row()
47 for (i = 0; i < pixels; i++) in console_normal_set_row()
/openbmc/u-boot/doc/device-tree-bindings/video/
H A Dsimple-framebuffer.txt10 - width: The width of the framebuffer in pixels.
11 - height: The height of the framebuffer in pixels.
14 - r5g6b5 (16-bit pixels, d[15:11]=r, d[10:5]=g, d[4:0]=b).
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dbrcm,iproc-touchscreen.txt53 - touchscreen-size-x: horizontal resolution of touchscreen (in pixels)
54 - touchscreen-size-y: vertical resolution of touchscreen (in pixels)
56 device (in pixels)
58 device (in pixels)
H A Dbu21029.txt12 - touchscreen-size-x : horizontal resolution of touchscreen (in pixels)
13 - touchscreen-size-y : vertical resolution of touchscreen (in pixels)
/openbmc/qemu/hw/display/
H A Dxenfb.c73 void *pixels; member
492 if (xenfb->pixels) { in xenfb_map_fb()
493 munmap(xenfb->pixels, xenfb->fbpages * XEN_PAGE_SIZE); in xenfb_map_fb()
494 xenfb->pixels = NULL; in xenfb_map_fb()
512 xenfb->pixels = qemu_xen_foreignmem_map(xenfb->c.xendev.dom, NULL, in xenfb_map_fb()
515 if (xenfb->pixels == NULL) in xenfb_map_fb()
596 SRC_T *src = (SRC_T *)(xenfb->pixels \
748 xenfb->row_stride, xenfb->pixels + xenfb->offset); in xenfb_update()
934 qemu_xen_foreignmem_unmap(fb->pixels, fb->fbpages); in fb_disconnect()
935 fb->pixels = mmap(fb->pixels, fb->fbpages * XEN_PAGE_SIZE, in fb_disconnect()
[all …]
H A Dvirtio-gpu-gl.c34 uint32_t pixels, *data; in virtio_gpu_gl_update_cursor_data() local
51 pixels = s->current_cursor->width * s->current_cursor->height; in virtio_gpu_gl_update_cursor_data()
52 memcpy(s->current_cursor->data, data, pixels * sizeof(uint32_t)); in virtio_gpu_gl_update_cursor_data()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_vdsc_regs.h18 #define OVERLAP_PIXELS(pixels) ((pixels) << 16) argument
20 #define LEFT_DL_BUF_TARGET_DEPTH(pixels) ((pixels) << 0) argument
27 #define RIGHT_DL_BUF_TARGET_DEPTH(pixels) ((pixels) << 0) argument
/openbmc/openbmc/poky/meta/recipes-graphics/xorg-lib/
H A Dlibxdamage_1.1.6.bb7 include the set of pixels modified by each operation, but may include \
8 significantly more than just those pixels. The DAMAGE extension allows \
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/gphoto2/libgphoto2/
H A Dfix-build-with-gcc-14.patch31 - * 4 bytes used to encode 2 pixels, need 6 bytes raw YUV data for jpeg encoding */
33 + * 4 bytes used to encode 2 pixels, need 6 bytes raw YUV data for jpeg encoding */

12345678