Home
last modified time | relevance | path

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

123456

/linux/drivers/gpu/drm/
H A Ddrm_format_helper.c254 unsigned int pixels, in drm_fb_xfrm_line_32to8() argument
260 const __le32 *send32 = sbuf32 + pixels; in drm_fb_xfrm_line_32to8()
263 while (sbuf32 < ALIGN_DOWN_PIXELS(send32, pixels, 4)) { in drm_fb_xfrm_line_32to8()
286 unsigned int pixels, in drm_fb_xfrm_line_32to16() argument
293 const __le32 *send32 = sbuf32 + pixels; in drm_fb_xfrm_line_32to16()
297 while (sbuf32 < ALIGN_DOWN_PIXELS(send32, pixels, 4)) { in drm_fb_xfrm_line_32to16()
316 while (sbuf32 < ALIGN_DOWN_PIXELS(send32, pixels, 2)) { in drm_fb_xfrm_line_32to16()
335 unsigned int pixels, in drm_fb_xfrm_line_32to24() argument
341 const __le32 *send32 = sbuf32 + pixels; in drm_fb_xfrm_line_32to24()
344 while (sbuf32 < ALIGN_DOWN_PIXELS(send32, pixels, 4)) { in drm_fb_xfrm_line_32to24()
[all …]
/linux/drivers/gpu/drm/tiny/
H A Drepaper.c210 u8 pixels = data[b] & 0xaa; in repaper_even_pixels() local
215 pixel_mask = (mask[b] ^ pixels) & 0xaa; in repaper_even_pixels()
221 pixels = 0xaa | ((pixels ^ 0xaa) >> 1); in repaper_even_pixels()
224 pixels = 0x55 + ((pixels ^ 0xaa) >> 1); in repaper_even_pixels()
227 pixels = 0x55 | (pixels ^ 0xaa); in repaper_even_pixels()
230 pixels = 0xaa | (pixels >> 1); in repaper_even_pixels()
234 pixels = (pixels & pixel_mask) | (~pixel_mask & 0x55); in repaper_even_pixels()
235 p1 = (pixels >> 6) & 0x03; in repaper_even_pixels()
236 p2 = (pixels >> 4) & 0x03; in repaper_even_pixels()
237 p3 = (pixels >> 2) & 0x03; in repaper_even_pixels()
[all …]
/linux/drivers/video/fbdev/
H A Dc2p_iplan2.c90 u8 pixels[16]; in c2p_iplan2() member
110 memset(d.pixels, 0, sizeof(d)); in c2p_iplan2()
111 memcpy(d.pixels+dst_idx, c, width); in c2p_iplan2()
122 memset(d.pixels, 0, dst_idx); in c2p_iplan2()
123 memcpy(d.pixels+dst_idx, c, w); in c2p_iplan2()
132 memcpy(d.pixels, c, 16); in c2p_iplan2()
142 memcpy(d.pixels, c, w); in c2p_iplan2()
143 memset(d.pixels+w, 0, 16-w); in c2p_iplan2()
H A Dc2p_planar.c92 u8 pixels[32]; in c2p_planar() member
110 memset(d.pixels, 0, sizeof(d)); in c2p_planar()
111 memcpy(d.pixels+dst_idx, c, width); in c2p_planar()
123 memset(d.pixels, 0, dst_idx); in c2p_planar()
124 memcpy(d.pixels+dst_idx, c, w); in c2p_planar()
134 memcpy(d.pixels, c, 32); in c2p_planar()
144 memcpy(d.pixels, c, w); in c2p_planar()
145 memset(d.pixels+w, 0, 32-w); in c2p_planar()
/linux/drivers/video/fbdev/core/
H A Dfb_fillrect.h36 unsigned long pixels; member
44 return pattern->pixels; in fb_pattern_get()
50 return swab_long(pattern->pixels); in fb_pattern_get_reverse()
62 pattern->pixels = fb_left(pattern->pixels, pattern->left) in fb_pattern_rotate()
63 | fb_right(pattern->pixels, pattern->right); in fb_pattern_rotate()
210 pattern->pixels = swab_long(pattern->pixels); in fb_fillrect_static()
238 unsigned long pat = pattern->pixels; in fb_fillrect_rotating()
244 pattern->pixels = fb_rotate(pat, dst->bits, bpp); in fb_fillrect_rotating()
250 pattern->pixels = fb_rotate(pat, dst->bits, bpp); in fb_fillrect_rotating()
266 pattern.pixels = pixel_to_pat(bpp, palette ? palette[rect->color] : rect->color); in fb_fillrect()
H A Dfb_imageblit.h37 static bool fb_bitmap_image(void *iterator, unsigned long *pixels, int *bits) in fb_bitmap_image() argument
45 *pixels = iter->colors[(iter->data[byte] >> bit) & 1]; in fb_bitmap_image()
62 static bool fb_color_image(void *iterator, unsigned long *pixels, int *bits) in fb_color_image() argument
71 *pixels = color << iter->shift; in fb_color_image()
73 *pixels = fb_reverse_bits_long(*pixels); in fb_color_image()
91 static bool fb_bitmap4x_image(void *iterator, unsigned long *pixels, int *bits) in fb_bitmap4x_image() argument
119 *pixels = (iter->fgxcolor & iter->expand[data]) ^ iter->bgcolor; in fb_bitmap4x_image()
121 *pixels <<= BITS_PER_LONG - *bits; in fb_bitmap4x_image()
127 static __always_inline void fb_bitblit(bool (*get)(void *iter, unsigned long *pixels, in fb_bitblit() argument
132 unsigned long pixels, val, mask, old; in fb_bitblit() local
[all …]
/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.rst41 This includes only active pixels and excludes other non-active
42 pixels such as black pixels.
75 - The active area and all padding pixels that are inserted or
H A Dpixfmt-y12i.rst17 pixels from 2 sources interleaved and bit-packed. Each pixel is stored
19 these pixels can be deinterlaced using
28 pixels cross the byte boundary and have a ratio of 3 bytes for each
H A Dpixfmt-srggb8-pisp-comp.rst29 of band. Each scanline is padded to a multiple of 8 pixels wide, and each block
30 of 8 horizontally-contiguous pixels is coded using 8 bytes.
39 Each block of 8 pixels is separated into even and odd phases of 4 pixels,
46 FSD/1024 and FSD/512 respectively. Each of the four pixels is quantized
69 Each pair of quantized pixels (q0,q1) or (q2,q3) is jointly coded
H A Dselection-api-configuration.rst35 in pixels.
52 coordinates are expressed in pixels. The rectangle's top/left corner
71 ``V4L2_SEL_TGT_COMPOSE_PADDED``. It contains all pixels defined using
73 during insertion process. All pixels outside this rectangle *must not*
74 be changed by the hardware. The content of pixels that lie inside the
76 use the padded and active rectangles to detect where the rubbish pixels
92 All coordinates are expressed in pixels. The top/left corner is always
110 target. The rectangle's coordinates are expressed in pixels. The
127 ``V4L2_SEL_TGT_COMPOSE_PADDED`` identifier. It must contain all pixels
H A Dpixfmt-yuv-planar.rst41 For memory contiguous formats, the number of padding pixels at the end of the
226 .. [3] Macroblock size in pixels
244 direction. Chroma lines contain half the number of pixels and the same number
385 pixels and the same number of bytes as luma lines, and the chroma plane
390 pixels in 2D 16x16 tiles, and stores tiles linearly in memory.
395 pixels in 2D 64x32 tiles, and stores 2x2 groups of tiles in
397 The line stride must be a multiple of 128 pixels to ensure an
398 integer number of Z shapes. The image height must be a multiple of 32 pixels.
419 ``V4L2_PIX_FMT_NV12_4L4`` stores pixels in 4x4 tiles, and stores
424 ``V4L2_PIX_FMT_NV12_16L16`` stores pixels in 16x16 tiles, and stores
[all …]
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,
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.
/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)
/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
29 #define RIGHT_DL_BUF_TARGET_DEPTH(pixels) ((pixels) << 0) argument
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mp-evk-lvds1-imx-dlvds-hdmi-channel0.dtso12 dual-lvds-even-pixels;
21 dual-lvds-odd-pixels;
H A Dimx8mp-evk-lvds0-imx-dlvds-hdmi-channel0.dtso12 dual-lvds-odd-pixels;
21 dual-lvds-even-pixels;
H A Dimx8mp-evk-mx8-dlvds-lcd1.dtso34 dual-lvds-odd-pixels;
43 dual-lvds-even-pixels;
H A Dimx8mp-tqma8mpql-mba8mpxl-lvds-g133han01.dtso31 dual-lvds-odd-pixels;
40 dual-lvds-even-pixels;
/linux/Documentation/fb/
H A 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/drivers/gpu/drm/vboxvideo/
H A Dhgsmi_base.c119 u8 *pixels, u32 len) in hgsmi_update_pointer_shape() argument
162 memcpy(p->data, pixels, pixel_len); in hgsmi_update_pointer_shape()
/linux/arch/arm64/boot/dts/renesas/
H A Dr8a774c0-ek874-idk-2121wr.dts49 dual-lvds-odd-pixels;
57 dual-lvds-even-pixels;
/linux/Documentation/userspace-api/media/drivers/
H A 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