/linux/drivers/gpu/drm/vkms/ |
H A D | vkms_formats.c | 78 __le16 *pixels = (__force __le16 *)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 __le16 *pixels = (__force __le16 *)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 __le16 *pixels = (__force __le16 *)src_pixels; in RGB565_to_argb_u16() local [all …]
|
H A D | vkms_composer.c | 28 * @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 …]
|
/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | advantech,idk-2121wr.yaml | 15 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 …]
|
H A D | panel-simple-lvds-dual-ports.yaml | 17 The first port receives odd pixels, and the second port receives even pixels. 63 dual-lvds-odd-pixels: 65 description: The first sink port for odd pixels. 68 - dual-lvds-odd-pixels 76 dual-lvds-even-pixels: 78 description: The second sink port for even pixels. 81 - dual-lvds-even-pixels 105 dual-lvds-odd-pixels; 114 dual-lvds-even-pixels;
|
H A D | panel-edp-legacy.yaml | 57 # LG LP079QX1-SP0V 7.9" (1536x2048 pixels) TFT LCD panel 59 # LG 9.7" (2048x1536 pixels) TFT LCD panel 61 # LG 12.0" (1920x1280 pixels) TFT LCD panel 63 # LG 12.9" (2560x1700 pixels) TFT LCD panel 67 # Samsung 12.2" (2560x1600 pixels) TFT LCD panel 73 # Sharp 12.3" (2400x1600 pixels) TFT LCD panel
|
H A D | panel-timing.yaml | 66 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/drivers/video/fbdev/ |
H A D | c2p_iplan2.c | 21 * 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 D | c2p_planar.c | 21 * 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/drivers/gpu/drm/tiny/ |
H A D | repaper.c | 199 /* 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/Documentation/devicetree/bindings/display/ |
H A D | simple-framebuffer.yaml | 84 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/drivers/gpu/drm/imagination/ |
H A D | pvr_rogue_cr_defs_client.h | 64 * 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/drivers/gpu/drm/i915/gvt/ |
H A D | fb_decoder.h | 114 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/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-cropcap.rst | 43 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 D | selection-api-configuration.rst | 34 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 D | v4l2-selection-targets.rst | 40 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/include/uapi/linux/media/raspberrypi/ |
H A D | pisp_be_config.h | 125 * @coeff_range: Coefficient for the range of pixels for this Bayer channel 171 * @black_level: Black level value subtracted from pixels 242 * @exposure_ratio: Multiplier to convert long exposure pixels into 243 * short exposure pixels 245 * pixels are used 442 * @distance: Distance of neighbouring pixels, either 1 or 2 552 * @y_factor: Control amount of desaturation of pixels being darkened 581 * @offset_x: Number of pixels cropped from the left of the tile 582 * @offset_y: Number of pixels cropped from the top of the tile 612 * @scaled_width: Width in pixels of the scaled output [all …]
|
/linux/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
H A D | ia_css_s3a_types.h | 93 (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/drivers/gpu/drm/kmb/ |
H A D | kmb_drv.h | 14 #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/Documentation/fb/ |
H A D | api.rst | 46 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/include/video/ |
H A D | sticore.h | 86 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/drivers/gpu/drm/ |
H A D | drm_of.c | 296 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 …]
|
H A D | drm_format_helper.c | 301 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/drivers/staging/media/atomisp/pci/isp/kernels/ob/ob2/ |
H A D | ia_css_ob2_types.h | 31 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/Documentation/devicetree/bindings/display/bridge/ |
H A D | thine,thc63lvd1024.yaml | 32 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/include/xen/interface/io/ |
H A D | fbif.h | 43 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) */
|