Home
last modified time | relevance | path

Searched refs:pixel (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/openbmc/linux/drivers/gpu/drm/udl/
H A Dudl_transfer.c29 static inline u16 pixel32_to_be16(const uint32_t pixel) in pixel32_to_be16() argument
31 return (((pixel >> 3) & 0x001f) | in pixel32_to_be16()
32 ((pixel >> 5) & 0x07e0) | in pixel32_to_be16()
33 ((pixel >> 8) & 0xf800)); in pixel32_to_be16()
36 static inline u16 get_pixel_val16(const uint8_t *pixel, int log_bpp) in get_pixel_val16() argument
40 pixel_val16 = *(const uint16_t *)pixel; in get_pixel_val16()
42 pixel_val16 = pixel32_to_be16(*(const uint32_t *)pixel); in get_pixel_val16()
81 const u8 *pixel = *pixel_start_ptr; in udl_compress_hline16() local
85 while ((pixel_end > pixel) && in udl_compress_hline16()
100 cmd_pixel_start = pixel; in udl_compress_hline16()
[all …]
/openbmc/linux/drivers/video/fbdev/core/
H A Dfb_draw.h26 pixel_to_pat( u32 bpp, u32 pixel) in pixel_to_pat() argument
30 return 0xfffffffffffffffful*pixel; in pixel_to_pat()
32 return 0x5555555555555555ul*pixel; in pixel_to_pat()
34 return 0x1111111111111111ul*pixel; in pixel_to_pat()
36 return 0x0101010101010101ul*pixel; in pixel_to_pat()
38 return 0x1001001001001001ul*pixel; in pixel_to_pat()
40 return 0x0001000100010001ul*pixel; in pixel_to_pat()
42 return 0x0001000001000001ul*pixel; in pixel_to_pat()
44 return 0x0000000100000001ul*pixel; in pixel_to_pat()
52 pixel_to_pat( u32 bpp, u32 pixel) in pixel_to_pat() argument
[all …]
/openbmc/linux/drivers/gpu/drm/bridge/imx/
H A DKconfig14 Freescale i.MX8qm processor. Official name of LDB is pixel mapper.
24 Freescale i.MX8qxp processor. Official name of LDB is pixel mapper.
27 tristate "Freescale i.MX8QM/QXP pixel combiner"
32 Choose this to enable pixel combiner found in
36 tristate "Freescale i.MX8QM/QXP display pixel link"
41 Choose this to enable display pixel link found in
45 tristate "Freescale i.MX8QXP pixel link to display pixel interface"
49 Choose this to enable pixel link to display pixel interface(PXL2DPI)
/openbmc/qemu/hw/display/
H A Dexynos4210_fimd.c266 typedef void pixel_to_rgb_func(uint32_t pixel, rgba *p);
378 static void N(uint32_t pixel, rgba *p) \
380 p->b = ((pixel & ((1 << (B)) - 1)) << (8 - (B))) | \
381 ((pixel >> (2 * (B) - 8)) & ((1 << (8 - (B))) - 1)); \
382 pixel >>= (B); \
383 p->g = (pixel & ((1 << (G)) - 1)) << (8 - (G)) | \
384 ((pixel >> (2 * (G) - 8)) & ((1 << (8 - (G))) - 1)); \
385 pixel >>= (G); \
386 p->r = (pixel & ((1 << (R)) - 1)) << (8 - (R)) | \
387 ((pixel >> (2 * (R) - 8)) & ((1 << (8 - (R))) - 1)); \
[all …]
H A Dcirrus_vga_rop.h37 uint8_t pixel = ROP_FN(*dst, src); in glue() local
38 if (pixel != transp) { in glue()
39 *dst = pixel; in glue()
57 uint16_t pixel = ROP_FN(*dst, src); in glue() local
58 if (pixel != transp) { in glue()
59 *dst = pixel; in glue()
/openbmc/linux/drivers/staging/fbtft/
H A Dfb_agm1264k-fl.c247 signed short pixel, signed short error) in iterate_diffusion_matrix() argument
265 *write_pos = pixel; in iterate_diffusion_matrix()
295 u16 pixel = vmem16[y * par->info->var.xres + x]; in write_vmem() local
296 u16 b = pixel & 0x1f; in write_vmem()
297 u16 g = (pixel & (0x3f << 5)) >> 5; in write_vmem()
298 u16 r = (pixel & (0x1f << (5 + 6))) >> (5 + 6); in write_vmem()
300 pixel = (299 * r + 587 * g + 114 * b) / 200; in write_vmem()
301 if (pixel > 255) in write_vmem()
302 pixel = 255; in write_vmem()
306 (signed short)gamma_correction_table[pixel]; in write_vmem()
[all …]
H A Dfb_ssd1325.c61 static uint8_t rgb565_to_g16(u16 pixel) in rgb565_to_g16() argument
63 u16 b = pixel & 0x1f; in rgb565_to_g16()
64 u16 g = (pixel & (0x3f << 5)) >> 5; in rgb565_to_g16()
65 u16 r = (pixel & (0x1f << (5 + 6))) >> (5 + 6); in rgb565_to_g16()
67 pixel = (299 * r + 587 * g + 114 * b) / 195; in rgb565_to_g16()
68 if (pixel > 255) in rgb565_to_g16()
69 pixel = 255; in rgb565_to_g16()
70 return (uint8_t)pixel / 16; in rgb565_to_g16()
/openbmc/linux/drivers/gpu/drm/ci/xfails/
H A Dmsm-sdm845-fails.txt41 kms_plane@pixel-format,Fail
42 kms_plane@pixel-format-source-clamping,Fail
57 kms_plane_scaling@downscale-with-pixel-format-factor-0-25,Timeout
58 kms_plane_scaling@downscale-with-pixel-format-factor-0-5,Timeout
59 kms_plane_scaling@downscale-with-pixel-format-factor-0-75,Timeout
60 kms_plane_scaling@plane-downscale-with-pixel-format-factor-0-25,Timeout
61 kms_plane_scaling@plane-downscale-with-pixel-format-factor-0-5,Timeout
62 kms_plane_scaling@plane-downscale-with-pixel-format-factor-0-75,Timeout
63 kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats,Timeout
64 kms_plane_scaling@plane-scaler-with-pixel-format-unity-scaling,Timeout
[all …]
H A Drockchip-rk3288-fails.txt10 kms_plane@pixel-format,Crash
11 kms_plane@pixel-format-source-clamping,Crash
40 kms_plane_scaling@upscale-with-pixel-format-20x20,Fail
41 kms_plane_scaling@upscale-with-pixel-format-factor-0-25,Fail
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/
H A DCVE-2019-7635.patch8 CVE-2019-7635: Reject BMP images with pixel colors out the palette
9 If a 1-, 4-, or 8-bit per pixel BMP image declares less used colors
11 number of used colors is created. If some of the image's pixel
18 This patch fixes it by validing each pixel's color to be less than the
36 *(bits+i) = (pixel>>shift);
37 pixel <<= ExpandBMP;
40 + "A BMP image contains a pixel with a color out of the palette");
55 + "A BMP image contains a pixel with a color out of the palette");
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dfourcc.rst3 Guidelines for Video4Linux pixel format 4CCs
8 the pixel format, compression and colour space. The interpretation of the
23 2nd character: pixel order
30 3rd character: uncompressed bits-per-pixel 0--9, A--
32 4th character: compressed bits-per-pixel 0--9, A--
H A Dvidioc-enum-framesizes.rst30 that contains an index and pixel format and receives a frame width
37 and height in pixels) that the device supports for the given pixel
40 The supported pixel formats can be obtained by using the
99 - Width of the frame [pixel].
102 - Height of the frame [pixel].
114 - Minimum frame width [pixel].
117 - Maximum frame width [pixel].
120 - Frame width step size [pixel].
123 - Minimum frame height [pixel].
126 - Maximum frame height [pixel].
[all …]
H A Dpixfmt-cnf4.rst9 Depth sensor confidence information as a 4 bits per pixel packed array
20 Bits 0-3 of byte n refer to confidence value of depth pixel 2*n,
21 bits 4-7 to confidence value of depth pixel 2*n+1.
H A Dpixfmt-y12i.rst15 This is a grey-scale image with a depth of 12 bits per pixel, but with
16 pixels from 2 sources interleaved and bit-packed. Each pixel is stored
28 interleaved pixel.
/openbmc/linux/Documentation/gpu/amdgpu/display/
H A Ddisplay-manager.rst99 pixel color values and, therefore, the resulted pixel color. For
102 - *fg.rgb*: Each of the RGB component values from the foreground's pixel.
103 - *fg.alpha*: Alpha component value from the foreground's pixel.
112 the alpha channel value of each pixel in a plane is ignored and only the plane
113 alpha affects the resulted pixel color values.
117 * **None**: Blend formula that ignores the pixel alpha.
119 * **Pre-multiplied**: Blend formula that assumes the pixel color values in a
122 * **Coverage**: Blend formula that assumes the pixel color values were not
125 and pre-multiplied is the default pixel blend mode, that means, when no blend
145 :c:type:`mpcc_alpha_blend_mode` defines the alpha blend mode regarding pixel
[all …]
/openbmc/u-boot/arch/x86/lib/fsp/
H A Dfsp_graphics.c14 struct pixel { struct
20 struct pixel red; argument
21 struct pixel green;
22 struct pixel blue;
23 struct pixel rsvd;
/openbmc/linux/Documentation/devicetree/bindings/display/armada/
H A Dmarvell,dove-lcd.txt13 "axiclk" - axi bus clock for pixel clock
14 "plldivider" - pll divider clock for pixel clock
15 "ext_ref_clk0" - external clock 0 for pixel clock
16 "ext_ref_clk1" - external clock 1 for pixel clock
/openbmc/u-boot/drivers/video/
H A Defi.c14 struct pixel { struct
20 struct pixel red; argument
21 struct pixel green;
22 struct pixel blue;
23 struct pixel rsvd;
/openbmc/linux/Documentation/driver-api/media/
H A Dtx-rx.rst8 V4L2 supports various devices that transmit and receive pixel data. Examples of
40 Media bus pixel code
64 The pixel rate on the bus is calculated as follows::
70 .. list-table:: variables in pixel rate calculation
89 The pixel rate calculated this way is **not** the same thing as the
90 pixel rate on the camera sensor's pixel array which is indicated by the
91 :ref:`V4L2_CID_PIXEL_RATE <v4l2-cid-pixel-rate>` control.
/openbmc/linux/drivers/video/fbdev/
H A Dudlfb.c436 const uint16_t *pixel = *pixel_start_ptr; in dlfb_compress_hline() local
440 while ((pixel_end > pixel) && in dlfb_compress_hline()
448 *pixel == *(u16 *)((u8 *)pixel + back_buffer_offset)) { in dlfb_compress_hline()
449 pixel++; in dlfb_compress_hline()
462 cmd_pixel_start = pixel; in dlfb_compress_hline()
465 raw_pixel_start = pixel; in dlfb_compress_hline()
467 cmd_pixel_end = pixel + min3(MAX_CMD_PIXELS + 1UL, in dlfb_compress_hline()
468 (unsigned long)(pixel_end - pixel), in dlfb_compress_hline()
473 while (cmd_pixel_end - 1 > pixel && in dlfb_compress_hline()
478 while (pixel < cmd_pixel_end) { in dlfb_compress_hline()
[all …]
/openbmc/linux/Documentation/fb/
H A Dinternals.rst61 Each pixel is either black or white.
66 The whole pixel value is fed through a programmable lookup table that has one
67 color (including red, green, and blue intensities) for each possible pixel
73 The pixel value is broken up into red, green, and blue fields.
78 The pixel value is broken up into red, green, and blue fields, each of which
H A Dpxafb.rst63 4 or 8 pixel monochrome single panel data
72 Double pixel clock. 1=>true, 0=>false
80 pixel clock polarity
112 bpp = 16 -- for YUV422 planar (1 pixel = 1 Y + 1/2 Cb + 1/2 Cr)
114 bpp = 12 -- for YUV420 planar (1 pixel = 1 Y + 1/4 Cb + 1/4 Cr)
123 with minimum bits per pixel, e.g. for YUV420, Cr component
124 for one pixel is actually 2-bits, it means the line length
/openbmc/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_misc.c543 minfo->limits.pixel.vcomax = maxdac; in parse_pins1()
555 minfo->limits.pixel.vcomax = 220000; in default_pins1()
564 minfo->limits.pixel.vcomax = in parse_pins2()
578 minfo->limits.pixel.vcomax = in default_pins2()
588 minfo->limits.pixel.vcomax = in parse_pins3()
606 minfo->limits.pixel.vcomax = in default_pins3()
618 minfo->limits.pixel.vcomax = (bd->pins[ 39] == 0xFF) ? 230000 : bd->pins[ 39] * 4000; in parse_pins4()
619 …minfo->limits.system.vcomax = (bd->pins[ 38] == 0xFF) ? minfo->limits.pixel.vcomax : bd->pins[ 38]… in parse_pins4()
637 minfo->limits.pixel.vcomax = in default_pins4()
654 minfo->limits.pixel.vcomax = (bd->pins[ 38] == 0xFF) ? 600000 : bd->pins[ 38] * mult; in parse_pins5()
[all …]
/openbmc/linux/drivers/video/fbdev/omap/
H A Dlcd_mipid.c247 u16 pixel; in read_first_pixel() local
258 pixel = ((red >> 1) << 11) | (green << 5) | (blue >> 1); in read_first_pixel()
262 pixel = ((red >> 3) << 11) | ((green >> 2) << 5) | in read_first_pixel()
266 pixel = 0; in read_first_pixel()
270 return pixel; in read_first_pixel()
292 u16 pixel; in mipid_run_test() local
295 pixel = read_first_pixel(md); in mipid_run_test()
296 if (pixel == test_values[i]) in mipid_run_test()
302 test_values[i], pixel); in mipid_run_test()
/openbmc/linux/drivers/gpu/drm/vkms/
H A Dvkms_composer.c35 * The current DRM assumption is that pixel color values have been already
158 struct pixel_argb_u16 *pixel = &output_buffer->pixels[x]; in apply_lut() local
160 pixel->r = apply_lut_to_channel_value(&crtc_state->gamma_lut, pixel->r, LUT_RED); in apply_lut()
161 pixel->g = apply_lut_to_channel_value(&crtc_state->gamma_lut, pixel->g, LUT_GREEN); in apply_lut()
162 pixel->b = apply_lut_to_channel_value(&crtc_state->gamma_lut, pixel->b, LUT_BLUE); in apply_lut()
254 * instead doing it for each channel of each pixel in case in compose_active_planes()

12345678910>>...13