Home
last modified time | relevance | path

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

12345

/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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,
Dpixfmt-m420.rst21 interleaved CbCr pixels subsampled by ½ in the horizontal and vertical
22 directions. Each CbCr pair belongs to four pixels. For example,
Dext-ctrls-image-source.rst33 blanking is pixels.
55 fields to take into consideration asymmetric pixels.
81 the output pixels.
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
Dyuv-formats.rst45 value of two consecutive pixels. It effectively models the chroma of a pixel
46 sited between the two original pixels. This is referred to as centered or
52 the same spatial sites as the pixels. This may be performed by skipping every
Dvidioc-g-dv-timings.rst98 - Width of the active video in pixels.
119 - Horizontal front porch in pixels
122 - Horizontal sync length in pixels
125 - Horizontal back porch in pixels
161 - The picture aspect if the pixels are not square. Only valid if the
303 the pixels are square, so the picture aspect ratio is the same as the
/Linux-v6.6/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-v6.6/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-v6.6/arch/arm64/boot/dts/renesas/
Dr8a774c0-ek874-idk-2121wr.dts49 dual-lvds-odd-pixels;
57 dual-lvds-even-pixels;
/Linux-v6.6/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-v6.6/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
/Linux-v6.6/drivers/gpu/drm/vboxvideo/
Dhgsmi_base.c119 u8 *pixels, u32 len) in hgsmi_update_pointer_shape() argument
154 memcpy(p->data, pixels, pixel_len); in hgsmi_update_pointer_shape()

12345