Home
last modified time | relevance | path

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

123456

/linux-6.6.21/drivers/gpu/drm/vkms/
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 …]
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()
152 struct pixel_argb_u16 *pixel = &output_buffer->pixels[x]; in apply_lut()
203 *crc32 = crc32_le(*crc32, (void *)output_buffer->pixels, row_size); in blend()
264 stage_buffer.pixels = kvmalloc(line_width * pixel_size, GFP_KERNEL); in compose_active_planes()
265 if (!stage_buffer.pixels) { in compose_active_planes()
270 output_buffer.pixels = kvmalloc(line_width * pixel_size, GFP_KERNEL); in compose_active_planes()
271 if (!output_buffer.pixels) { in compose_active_planes()
280 kvfree(output_buffer.pixels); in compose_active_planes()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/display/panel/
Dadvantech,idk-2121wr.yaml15 A dual-LVDS interface is a dual-link connection with even pixels traveling
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
[all …]
Dpanel-timing.yaml66 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
Dsharp,lq101r1sx01.yaml23 pixels and DSI-LINK2 always provides the right/odd pixels. In command mode it
24 is possible to program either link to drive the left/even or right/odd pixels
Dpanel-simple.yaml217 # LG 7" (800x480 pixels) TFT LCD panel
221 # LG LP079QX1-SP0V 7.9" (1536x2048 pixels) TFT LCD panel
223 # LG 9.7" (2048x1536 pixels) TFT LCD panel
225 # LG 12.0" (1920x1280 pixels) TFT LCD panel
227 # LG 12.9" (2560x1700 pixels) TFT LCD panel
289 # Samsung 13.3" FHD (1920x1080 pixels) eDP AMOLED panel
291 # Samsung 12.2" (2560x1600 pixels) TFT LCD panel
307 # Sharp 12.3" (2400x1600 pixels) TFT LCD panel
309 # Sharp 14" (1920x1080 pixels) TFT LCD panel
317 # Starry 12.2" (1920x1200 pixels) TFT LCD panel
/linux-6.6.21/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 …]
/linux-6.6.21/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()
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 …]
/linux-6.6.21/drivers/video/fbdev/
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()
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()
/linux-6.6.21/Documentation/devicetree/bindings/display/
Dsimple-framebuffer.yaml84 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
98 * `a2r10g10b10` - 32-bit pixels, d[31:30]=a, d[29:20]=r, d[19:10]=g, d[9:0]=b
99 * `a8b8g8r8` - 32-bit pixels, d[31:24]=a, d[23:16]=b, d[15:8]=g, d[7:0]=r
100 * `a8r8g8b8` - 32-bit pixels, d[31:24]=a, d[23:16]=r, d[15:8]=g, d[7:0]=b
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
[all …]
/linux-6.6.21/Documentation/userspace-api/media/v4l/
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.
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
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
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
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 …]
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.
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,
/linux-6.6.21/Documentation/devicetree/bindings/display/bridge/
Dthine,thc63lvd1024.yaml32 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
Dfsl,imx8qxp-ldb.yaml24 have to be different. Channel0 outputs odd pixels and channel1 outputs
25 even pixels.
30 data. In split mode, channel0 outputs odd pixels and channel1 outputs even
31 pixels.
/linux-6.6.21/Documentation/devicetree/bindings/input/touchscreen/
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)
Dbu21029.txt12 - touchscreen-size-x : horizontal resolution of touchscreen (in pixels)
13 - touchscreen-size-y : vertical resolution of touchscreen (in pixels)
/linux-6.6.21/drivers/gpu/drm/i915/display/
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
/linux-6.6.21/arch/arm64/boot/dts/renesas/
Dr8a774c0-ek874-idk-2121wr.dts49 dual-lvds-odd-pixels;
57 dual-lvds-even-pixels;
/linux-6.6.21/Documentation/fb/
Dudlfb.rst14 the minimal set of pixels that have changed; and compresses and sends those
15 pixels line-by-line via USB bulk transfers.
81 udlfb to efficiently process the changed pixels.
126 the USB bus in device memory. If any pixels are unchanged,
156 USB to communicate the resulting changed pixels to the
160 above pixels (in thousands of cycles).

123456