Home
last modified time | relevance | path

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

12345678910>>...28

/openbmc/linux/drivers/gpu/drm/vkms/
H A 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 …]
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/display/panel/
H A 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 …]
/openbmc/linux/drivers/video/fbdev/
H A 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 …]
H A 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 …]
/openbmc/qemu/ui/
H A Ddbus-display1.xml87 @xoff: horizontal offset, in pixels.
88 @yoff: vertical offset, in pixels.
89 @width: console width, in pixels.
90 @height: console height, in pixels.
127 Console width, in pixels.
134 Console height, in pixels.
242 @x: X position, in pixels.
243 @y: Y position, in pixels.
256 @dx: X-delta, in pixels.
257 @dy: Y-delta, in pixels.
[all …]
/openbmc/linux/drivers/gpu/drm/tiny/
H A 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 …]
/openbmc/u-boot/include/
H A Dvideo.h46 * brackets to allow multiplication by fractional pixels.
56 * @ysize: Number of pixels rows (e.g.. 768)
61 * @font_size: Font size in pixels (0 to use a default value)
154 * @x: X position in pixels from the left
155 * @y: Y position in pixels from the top
162 * left/top of the centre by that many pixels
170 * video_get_xsize() - Get the width of the display in pixels
173 * @return device frame buffer width in pixels
178 * video_get_ysize() - Get the height of the display in pixels
181 * @return device frame buffer height in pixels
[all …]
H A Dvideo_console.h48 * @ycur: Current Y position in pixels (0=top)
51 * @x_charsize: Character width in pixels
52 * @y_charsize: Character height in pixels
60 * @row_saved: Saved Y position in pixels (0=top)
91 * in pixels) or a text row number (measured in rows, where each row consists
92 * of an entire line of text - typically 16 pixels).
103 * @return number of fractional pixels that the cursor should move,
171 * @return number of fractional pixels that the cursor should move,
/openbmc/linux/Documentation/devicetree/bindings/display/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A 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 */
/openbmc/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 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
H A 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
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
H A 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)
/openbmc/linux/drivers/gpu/drm/kmb/
H A 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 */
/openbmc/linux/Documentation/fb/
H A 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 …]
/openbmc/linux/include/video/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/
H A 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 …]
H A 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 …]
/openbmc/u-boot/drivers/video/
H A Dconsole_truetype.c80 * @xpos_frac: Fractional X position in pixels (multiplied by VID_FRAC_DIV)
81 * @ypos: Y position (pixels from the top)
97 * @font_size: Vertical font size in pixels
129 int pixels = priv->font_size * vid_priv->line_length; in console_truetype_set_row() local
138 for (i = 0; i < pixels; i++) in console_truetype_set_row()
147 for (i = 0; i < pixels; i++) in console_truetype_set_row()
156 for (i = 0; i < pixels; i++) in console_truetype_set_row()
211 * First out our current X position in fractional pixels. If we wrote in console_truetype_putc_xy()
309 * @xstart: X start position in pixels from the left
310 * @ystart: Y start position in pixels from the top
[all …]
H A Dlogicore_dp_tx.h18 * @h_active: Horizontal active resolution (pixels)
19 * @h_start: Horizontal blank start (in pixels)
22 * @h_sync_width: Horizontal sync width (pixels)
23 * @h_total: Horizontal total (pixels)
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/ob/ob2/
H A 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.
/openbmc/linux/Documentation/devicetree/bindings/display/bridge/
H A 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
/openbmc/linux/include/uapi/linux/
H A 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 …]

12345678910>>...28