Home
last modified time | relevance | path

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

123456

/linux-6.12.1/drivers/gpu/drm/vkms/
Dvkms_formats.c78 __le16 *pixels = (__force __le16 *)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 __le16 *pixels = (__force __le16 *)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 __le16 *pixels = (__force __le16 *)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()
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 …]
/linux-6.12.1/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.12.1/drivers/gpu/drm/
Ddrm_format_helper.c301 static void drm_fb_swab16_line(void *dbuf, const void *sbuf, unsigned int pixels) in drm_fb_swab16_line() argument
305 const u16 *send16 = sbuf16 + pixels; in drm_fb_swab16_line()
311 static void drm_fb_swab32_line(void *dbuf, const void *sbuf, unsigned int pixels) in drm_fb_swab32_line() argument
315 const u32 *send32 = sbuf32 + pixels; in drm_fb_swab32_line()
369 static void drm_fb_xrgb8888_to_rgb332_line(void *dbuf, const void *sbuf, unsigned int pixels) in drm_fb_xrgb8888_to_rgb332_line() argument
376 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_rgb332_line()
418 static void drm_fb_xrgb8888_to_rgb565_line(void *dbuf, const void *sbuf, unsigned int pixels) in drm_fb_xrgb8888_to_rgb565_line() argument
426 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_rgb565_line()
437 unsigned int pixels) in drm_fb_xrgb8888_to_rgb565_swab_line() argument
445 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_rgb565_swab_line()
[all …]
/linux-6.12.1/drivers/video/fbdev/
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()
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()
/linux-6.12.1/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-srggb8-pisp-comp.rst28 of band. Each scanline is padded to a multiple of 8 pixels wide, and each block
29 of 8 horizontally-contiguous pixels is coded using 8 bytes.
38 Each block of 8 pixels is separated into even and odd phases of 4 pixels,
45 FSD/1024 and FSD/512 respectively. Each of the four pixels is quantized
68 Each pair of quantized pixels (q0,q1) or (q2,q3) is jointly coded
Dpixfmt-yuv-planar.rst40 For memory contiguous formats, the number of padding pixels at the end of the
211 .. [3] Macroblock size in pixels
229 direction. Chroma lines contain half the number of pixels and the same number
319 pixels and the same number of bytes as luma lines, and the chroma plane
324 pixels in 2D 16x16 tiles, and stores tiles linearly in memory.
329 pixels in 2D 64x32 tiles, and stores 2x2 groups of tiles in
331 The line stride must be a multiple of 128 pixels to ensure an
332 integer number of Z shapes. The image height must be a multiple of 32 pixels.
353 ``V4L2_PIX_FMT_NV12_4L4`` stores pixels in 4x4 tiles, and stores
358 ``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,
Dpixfmt-m420.rst21 interleaved CbCr pixels subsampled by ½ in the horizontal and vertical
22 directions. Each CbCr pair belongs to four pixels. For example,
Dpixfmt-v4l2-mplane.rst43 - Distance in bytes between the leftmost pixels in two adjacent
66 - Image width in pixels. See struct
70 - Image height in pixels. See struct
Dext-ctrls-image-source.rst33 blanking is pixels.
55 fields to take into consideration asymmetric pixels.
81 the output pixels.
/linux-6.12.1/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.12.1/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.12.1/arch/arm64/boot/dts/freescale/
Dimx8mp-evk-mx8-dlvds-lcd1.dtso34 dual-lvds-odd-pixels;
43 dual-lvds-even-pixels;
Dimx8mp-tqma8mpql-mba8mpxl-lvds-g133han01.dtso31 dual-lvds-odd-pixels;
40 dual-lvds-even-pixels;
/linux-6.12.1/arch/arm64/boot/dts/renesas/
Dr8a774c0-ek874-idk-2121wr.dts49 dual-lvds-odd-pixels;
57 dual-lvds-even-pixels;
/linux-6.12.1/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).
/linux-6.12.1/Documentation/userspace-api/media/drivers/
Dcx2341x-uapi.rst13 four pixels.
18 The Y plane is divided into blocks of 16x16 pixels from left to right
36 to separate Y, U and V planes. This code assumes frames of 720x576 (PAL) pixels.
38 The width of a frame is always 720 pixels, regardless of the actual specified
65 // The Y plane is divided into blocks of 16x16 pixels

123456