Home
last modified time | relevance | path

Searched full:pixels (Results 1 – 25 of 585) sorted by relevance

12345678910>>...24

/linux-6.8/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.c28 * @stage_buffer: The line with the pixels from src_plane
32 * necessary pixels from the `stage_buffer` to the `output_buffer`
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()
152 struct pixel_argb_u16 *pixel = &output_buffer->pixels[x]; in apply_lut()
161 * blend - blend the pixels from all planes and compute crc
166 * @stage_buffer: The line with the pixels from plane being blend to the output
169 * This function blends the pixels (Using the `pre_mul_alpha_blend`)
203 *crc32 = crc32_le(*crc32, (void *)output_buffer->pixels, row_size); in blend()
[all …]
/linux-6.8/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-simple-lvds-dual-ports.yaml17 The first port receives odd pixels, and the second port receives even pixels.
57 dual-lvds-odd-pixels:
59 description: The first sink port for odd pixels.
62 - dual-lvds-odd-pixels
70 dual-lvds-even-pixels:
72 description: The second sink port for even pixels.
75 - dual-lvds-even-pixels
103 dual-lvds-odd-pixels;
112 dual-lvds-even-pixels;
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
/linux-6.8/drivers/video/fbdev/
Dc2p_iplan2.c21 * Perform a full C2P step on 16 8-bit pixels, stored in 4 32-bit words
23 * - 16 8-bit chunky pixels on input
76 * @dx: Horizontal destination offset (in pixels)
77 * @dy: Vertical destination offset (in pixels)
78 * @width: Image width (in pixels)
79 * @height: Image height (in pixels)
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()
[all …]
Dc2p_planar.c21 * Perform a full C2P step on 32 8-bit pixels, stored in 8 32-bit words
23 * - 32 8-bit chunky pixels on input
76 * @dx: Horizontal destination offset (in pixels)
77 * @dy: Vertical destination offset (in pixels)
78 * @width: Image width (in pixels)
79 * @height: Image height (in pixels)
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()
[all …]
/linux-6.8/drivers/gpu/drm/tiny/
Drepaper.c199 /* pixels on display are numbered from 1 so even is actually bits 1,3,5,... */
208 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()
[all …]
/linux-6.8/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.8/drivers/gpu/drm/i915/gvt/
Dfb_decoder.h114 u32 x_offset; /* in pixels */
116 u32 width; /* in pixels */
129 u32 x_pos; /* in pixels */
131 u32 x_offset; /* in pixels */
133 u32 width; /* in pixels */
145 u32 x_pos; /* in pixels */
149 u32 width; /* in pixels */
151 u32 x_hot; /* in pixels */
152 u32 y_hot; /* in pixels */
/linux-6.8/drivers/gpu/drm/imagination/
Dpvr_rogue_cr_defs_client.h64 * X1 MacroTile boundary, left tile X for second column of macrotiles (16MT mode) - 32 pixels across
70 * X2 MacroTile boundary, left tile X for third(16MT) column of macrotiles - 32 pixels across tile
75 * X3 MacroTile boundary, left tile X for fourth column of macrotiles (16MT) - 32 pixels across tile
85 * X1 MacroTile boundary, ltop tile Y for second column of macrotiles (16MT mode) - 32 pixels tile
91 * X2 MacroTile boundary, top tile Y for third(16MT) column of macrotiles - 32 pixels tile height
96 * X3 MacroTile boundary, top tile Y for fourth column of macrotiles (16MT) - 32 pixels tile height
122 * must be configured in terms of the number of pixels in X & Y axis since this may not be the same
129 * Screen height in pixels. (16K x 16K max screen size)
134 * Screen width in pixels.(16K x 16K max screen size)
/linux-6.8/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.
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 …]
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
/linux-6.8/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
Dia_css_s3a_types.h93 (1BQ means {Gr,R,B,Gb}(2x2 pixels).)
111 * awb_lg_*: Thresholds to check the saturated bayer pixels for AWB.
170 s32 awb_cnt; /** Number of effective pixels
172 Pixels passed by the AWB level gate check are
175 All Gr pixels (not only for effective pixels)
178 All R pixels (not only for effective pixels)
181 All B pixels (not only for effective pixels)
184 All Gb pixels (not only for effective pixels)
/linux-6.8/drivers/gpu/drm/kmb/
Dkmb_drv.h14 #define KMB_MAX_WIDTH 1920 /*Max width in pixels */
15 #define KMB_MAX_HEIGHT 1080 /*Max height in pixels */
16 #define KMB_MIN_WIDTH 1920 /*Max width in pixels */
17 #define KMB_MIN_HEIGHT 1080 /*Max height in pixels */
25 #define KMB_CRTC_MAX_WIDTH 1920 /* max width in pixels */
26 #define KMB_CRTC_MAX_HEIGHT 1080 /* max height in pixels */
/linux-6.8/Documentation/fb/
Dapi.rst46 Pixels are stored in memory in hardware-dependent formats. Applications need
93 Pixels are black or white and stored on a number of bits (typically one)
96 Black pixels are represented by all bits set to 1 and white pixels by all bits
97 set to 0. When the number of bits per pixel is smaller than 8, several pixels
104 Pixels are black or white and stored on a number of bits (typically one)
107 Black pixels are represented by all bits set to 0 and white pixels by all bits
108 set to 1. When the number of bits per pixel is smaller than 8, several pixels
115 Pixels are broken into red, green and blue components, and each component
133 Pixels are broken into red, green and blue components, and each component
141 Pixels are encoded and interpreted as described by the format FOURCC
[all …]
/linux-6.8/include/video/
Dsticore.h86 s16 onscreen_x; /* screen width in pixels */
87 s16 onscreen_y; /* screen height in pixels */
88 s16 offscreen_x; /* offset width in pixels */
89 s16 offscreen_y; /* offset height in pixels */
90 s16 total_x; /* frame buffer width in pixels */
91 s16 total_y; /* frame buffer height in pixels */
165 s16 onscreen_x; /* screen width in pixels */
166 s16 onscreen_y; /* screen height in pixels */
167 s16 offscreen_x; /* offscreen width in pixels */
168 s16 offscreen_y; /* offscreen height in pixels */
[all …]
/linux-6.8/drivers/gpu/drm/
Ddrm_of.c296 of_property_read_bool(port_node, "dual-lvds-even-pixels"); in drm_of_lvds_get_port_pixels_type()
298 of_property_read_bool(port_node, "dual-lvds-odd-pixels"); in drm_of_lvds_get_port_pixels_type()
349 * An LVDS dual-link connection is made of two links, with even pixels
350 * transitting on one link, and odd pixels on the other link. This function
352 * the even and odd pixels, based on the requirements of the connected sink.
354 * The pixel order is determined from the dual-lvds-even-pixels and
355 * dual-lvds-odd-pixels properties in the sink's DT port nodes. If those
363 * pixels.
366 * * DRM_LVDS_DUAL_LINK_EVEN_ODD_PIXELS - @port1 carries even pixels and @port2
367 * carries odd pixels
[all …]
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.8/drivers/staging/media/atomisp/pci/isp/kernels/ob/ob2/
Dia_css_ob2_types.h31 ia_css_u0_16 level_gr; /** Black level for GR pixels.
34 ia_css_u0_16 level_r; /** Black level for R pixels.
37 ia_css_u0_16 level_b; /** Black level for B pixels.
40 ia_css_u0_16 level_gb; /** Black level for GB pixels.
/linux-6.8/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
/linux-6.8/include/uapi/linux/
Drkisp1-config.h238 * @h_offs: the horizontal offset of the window from the left of the frame in pixels.
239 * @v_offs: the vertical offset of the window from the top of the frame in pixels.
240 * @h_size: the horizontal size of the window in pixels
241 * @v_size: the vertical size of the window in pixels.
277 * @bls_samples: Set amount of measured pixels for each Bayer position
462 * @awb_wnd: white balance measurement window (in pixels)
463 * @max_y: only pixels values < max_y contribute to awb measurement, set to 0
465 * @min_y: only pixels values > min_y contribute to awb measurement
466 * @max_csum: Chrominance sum maximum value, only consider pixels with Cb+Cr,
468 * @min_c: Chrominance minimum value, only consider pixels with Cb/Cr
[all …]
/linux-6.8/include/xen/interface/io/
Dfbif.h43 int32_t width; /* width in pixels */
44 int32_t height; /* height in pixels */
95 int32_t width; /* width of the framebuffer (in pixels) */
96 int32_t height; /* height of the framebuffer (in pixels) */
97 uint32_t line_length; /* length of a row of pixels (in bytes) */

12345678910>>...24