/openbmc/linux/drivers/gpu/drm/vkms/ |
H A D | vkms_formats.c | 78 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() 88 u16 *pixels = (u16 *)src_pixels; in XRGB16161616_to_argb_u16() local 98 u16 *pixels = (u16 *)src_pixels; in RGB565_to_argb_u16() local 103 u16 rgb_565 = le16_to_cpu(*pixels); in RGB565_to_argb_u16() 181 u16 *pixels = (u16 *)dst_pixels; in argb_u16_to_ARGB16161616() local 191 u16 *pixels = (u16 *)dst_pixels; in argb_u16_to_XRGB16161616() local 193 pixels[3] = 0xffff; in argb_u16_to_XRGB16161616() [all …]
|
H A D | vkms_composer.c | 45 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/Documentation/devicetree/bindings/display/panel/ |
H A D | advantech,idk-2121wr.yaml | 16 on one link, and with odd pixels traveling on the other link. 18 The panel expects odd pixels on the first port, and even pixels on the 20 dual-lvds-odd-pixels or dual-lvds-even-pixels). 49 description: The sink for odd pixels. 51 dual-lvds-odd-pixels: true 54 - dual-lvds-odd-pixels 59 description: The sink for even pixels. 61 dual-lvds-even-pixels: true 64 - dual-lvds-even-pixels 108 dual-lvds-odd-pixels; [all …]
|
H A D | panel-timing.yaml | 66 description: Horizontal panel resolution in pixels 70 description: Vertical panel resolution in pixels 78 description: typical number of pixels 82 description: min, typ, max number of pixels 90 description: typical number of pixels 94 description: min, typ, max number of pixels 102 description: typical number of pixels 106 description: min, typ, max number of pixels
|
/openbmc/linux/drivers/gpu/drm/tiny/ |
H A D | repaper.c | 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() 264 pixels = 0xaa | (pixels ^ 0x55); in repaper_odd_pixels() 267 pixels = 0x55 + (pixels ^ 0x55); in repaper_odd_pixels() 270 pixels = 0x55 | ((pixels ^ 0x55) << 1); in repaper_odd_pixels() 273 pixels = 0xaa | pixels; in repaper_odd_pixels() 316 pixels = 0xaaaa | (pixels ^ 0x5555); in repaper_all_pixels() 319 pixels = 0x5555 + (pixels ^ 0x5555); in repaper_all_pixels() [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_format_helper.c | 282 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_rgb332_line() 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() 407 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_xrgb1555_line() 458 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_argb1555_line() 510 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_rgba5551_line() 561 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_rgb888_line() 611 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_argb8888_line() 659 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_abgr8888_line() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | c2p_iplan2.c | 89 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 D | c2p_planar.c | 91 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/linux/Documentation/devicetree/bindings/display/ |
H A D | simple-framebuffer.yaml | 84 description: Width of the framebuffer in pixels 88 description: Height of the framebuffer in pixels 97 * `a1r5g5b5` - 16-bit pixels, d[15]=a, d[14:10]=r, d[9:5]=g, d[4:0]=b 99 * `a8b8g8r8` - 32-bit pixels, d[31:24]=a, d[23:16]=b, d[15:8]=g, d[7:0]=r 101 * `r5g6b5` - 16-bit pixels, d[15:11]=r, d[10:5]=g, d[4:0]=b 102 * `r5g5b5a1` - 16-bit pixels, d[15:11]=r, d[10:6]=g, d[5:1]=b d[1:0]=a 103 * `r8g8b8` - 24-bit pixels, d[23:16]=r, d[15:8]=g, d[7:0]=b 104 * `x1r5g5b5` - 16-bit pixels, d[14:10]=r, d[9:5]=g, d[4:0]=b 105 * `x2r10g10b10` - 32-bit pixels, d[29:20]=r, d[19:10]=g, d[9:0]=b 106 * `x8r8g8b8` - 32-bit pixels, d[23:16]=r, d[15:8]=g, d[7:0]=b [all …]
|
/openbmc/u-boot/tools/easylogo/ |
H A D | easylogo.c | 53 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 D | vidioc-cropcap.rst | 43 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 D | pixfmt-y12i.rst | 16 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 D | v4l2-selection-targets.rst | 40 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 D | selection-api-configuration.rst | 34 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 D | pixfmt-yuv-planar.rst | 197 .. [3] Macroblock size in pixels 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 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 335 ``V4L2_PIX_FMT_NV12_32L32`` stores pixels in 32x32 tiles, and stores 341 pixels in 2D 8x128 tiles, and stores tiles linearly in memory. 349 10 bits pixels in 2D 8x128 tiles, and stores tiles linearly in memory. 355 The 10 bit pixels are packed, so 5 bytes contain 4 10-bit pixels layout like [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-navigation/orrery/orrery/ |
H A D | use.GdkPixbuf.patch | 28 + guchar* pixels = gdk_pixbuf_get_pixels (starDrawingBuf); 36 + p = pixels + darkGreyPoints[pointNum].y * rowstride + darkGreyPoints[pointNum].x * n_channels; 44 + p = pixels + greyPoints[pointNum].y * rowstride + greyPoints[pointNum].x * n_channels; 52 + p = pixels + whitePoints[pointNum].y * rowstride + whitePoints[pointNum].x * n_channels;
|
/openbmc/u-boot/drivers/video/ |
H A D | stb_truetype.h | 613 unsigned char *pixels; member 810 unsigned char *pixels; member 1549 return pixels / unitsPerEm; in stbtt_ScaleForMappingEmToPixels() 2450 if (gbm.pixels) { in stbtt_GetGlyphBitmapSubpixel() 2457 return gbm.pixels; in stbtt_GetGlyphBitmapSubpixel() 2473 gbm.pixels = output; in stbtt_MakeGlyphBitmapSubpixel() 2678 spc->pixels = pixels; in stbtt_PackBegin() 2688 if (pixels) in stbtt_PackBegin() 2764 STBTT_assert(pixels[i] == 0); in stbtt__h_prefilter() 2769 pixels += stride_in_bytes; in stbtt__h_prefilter() [all …]
|
H A D | console_normal.c | 20 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()
|
H A D | console_truetype.c | 129 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()
|
/openbmc/u-boot/doc/device-tree-bindings/video/ |
H A D | simple-framebuffer.txt | 10 - 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/display/bridge/ |
H A D | thine,thc63lvd1024.yaml | 32 When operating in single input mode, all pixels are received on port@0, 34 even-numbered pixels are received on port@0 and odd-numbered pixels on 37 When operating in single output mode all pixels are output from the first 39 mode pixels are output from both CMOS/TTL ports and both port@2 and
|
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | brcm,iproc-touchscreen.txt | 53 - 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)
|
/openbmc/qemu/hw/display/ |
H A D | virtio-gpu-gl.c | 33 uint32_t pixels, *data; in virtio_gpu_gl_update_cursor_data() local 46 pixels = s->current_cursor->width * s->current_cursor->height; in virtio_gpu_gl_update_cursor_data() 47 memcpy(s->current_cursor->data, data, pixels * sizeof(uint32_t)); in virtio_gpu_gl_update_cursor_data()
|
H A D | omap_dss.c | 84 int pixels; member 107 s->rfbi.pixels = 0; in omap_rfbi_reset() 633 len = s->rfbi.pixels * 2; in omap_rfbi_transfer_start() 637 if (data && len != s->rfbi.pixels * 2) { in omap_rfbi_transfer_start() 640 len = s->rfbi.pixels * 2; in omap_rfbi_transfer_start() 651 s->rfbi.pixels = 0; in omap_rfbi_transfer_start() 694 return s->rfbi.pixels; in omap_rfbi_read() 764 s->rfbi.pixels = value; in omap_rfbi_write() 795 if (!-- s->rfbi.pixels) in omap_rfbi_write() 803 if (!-- s->rfbi.pixels) in omap_rfbi_write() [all …]
|
H A D | xenfb.c | 73 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 …]
|