Home
last modified time | relevance | path

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

12345678910>>...44

/kernel/linux/linux-6.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.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()
158 struct pixel_argb_u16 *pixel = &output_buffer->pixels[x]; in apply_lut()
167 * blend - blend the pixels from all planes and compute crc
172 * @stage_buffer: The line with the pixels from plane being blend to the output
175 * This function blends the pixels (Using the `pre_mul_alpha_blend`)
209 *crc32 = crc32_le(*crc32, (void *)output_buffer->pixels, row_size); in blend()
[all …]
/kernel/linux/linux-5.10/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).
44 description: The sink for odd pixels.
49 dual-lvds-odd-pixels: true
53 - dual-lvds-odd-pixels
57 description: The sink for even pixels.
62 dual-lvds-even-pixels: true
66 - dual-lvds-even-pixels
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/include/media/davinci/
Dvpbe_osd.h150 * @OSD_0_VID_8: OSD pixels are fully transparent
151 * @OSD_1_VID_7: OSD pixels contribute 1/8, video pixels contribute 7/8
152 * @OSD_2_VID_6: OSD pixels contribute 2/8, video pixels contribute 6/8
153 * @OSD_3_VID_5: OSD pixels contribute 3/8, video pixels contribute 5/8
154 * @OSD_4_VID_4: OSD pixels contribute 4/8, video pixels contribute 4/8
155 * @OSD_5_VID_3: OSD pixels contribute 5/8, video pixels contribute 3/8
156 * @OSD_6_VID_2: OSD pixels contribute 6/8, video pixels contribute 2/8
157 * @OSD_8_VID_0: OSD pixels are fully opaque
193 * @H_WIDTH_4: horizontal line width is 4 pixels
194 * @H_WIDTH_8: horizontal line width is 8 pixels
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/
Drepaper.c198 /* pixels on display are numbered from 1 so even is actually bits 1,3,5,... */
207 u8 pixels = data[b] & 0xaa; in repaper_even_pixels() local
212 pixel_mask = (mask[b] ^ pixels) & 0xaa; in repaper_even_pixels()
218 pixels = 0xaa | ((pixels ^ 0xaa) >> 1); in repaper_even_pixels()
221 pixels = 0x55 + ((pixels ^ 0xaa) >> 1); in repaper_even_pixels()
224 pixels = 0x55 | (pixels ^ 0xaa); in repaper_even_pixels()
227 pixels = 0xaa | (pixels >> 1); in repaper_even_pixels()
231 pixels = (pixels & pixel_mask) | (~pixel_mask & 0x55); in repaper_even_pixels()
232 p1 = (pixels >> 6) & 0x03; in repaper_even_pixels()
233 p2 = (pixels >> 4) & 0x03; in repaper_even_pixels()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_of.c295 of_property_read_bool(port_node, "dual-lvds-even-pixels"); in drm_of_lvds_get_port_pixels_type()
297 of_property_read_bool(port_node, "dual-lvds-odd-pixels"); in drm_of_lvds_get_port_pixels_type()
348 * An LVDS dual-link connection is made of two links, with even pixels
349 * transitting on one link, and odd pixels on the other link. This function
351 * the even and odd pixels, based on the requirements of the connected sink.
353 * The pixel order is determined from the dual-lvds-even-pixels and
354 * dual-lvds-odd-pixels properties in the sink's DT port nodes. If those
362 * pixels.
365 * * DRM_LVDS_DUAL_LINK_EVEN_ODD_PIXELS - @port1 carries even pixels and @port2
366 * carries odd pixels
[all …]
/kernel/linux/linux-6.6/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 */
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dfb_decoder.h112 u32 x_offset; /* in pixels */
114 u32 width; /* in pixels */
127 u32 x_pos; /* in pixels */
129 u32 x_offset; /* in pixels */
131 u32 width; /* in pixels */
143 u32 x_pos; /* in pixels */
147 u32 width; /* in pixels */
149 u32 x_hot; /* in pixels */
150 u32 y_hot; /* in pixels */
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.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.
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
/kernel/linux/linux-6.6/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)
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-6.6/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 */
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]

12345678910>>...44