Home
last modified time | relevance | path

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

12345678910

/kernel/linux/linux-5.10/drivers/gpu/drm/udl/
Dudl_transfer.c68 static inline u16 pixel32_to_be16(const uint32_t pixel) in pixel32_to_be16() argument
70 return (((pixel >> 3) & 0x001f) | in pixel32_to_be16()
71 ((pixel >> 5) & 0x07e0) | in pixel32_to_be16()
72 ((pixel >> 8) & 0xf800)); in pixel32_to_be16()
75 static inline u16 get_pixel_val16(const uint8_t *pixel, int log_bpp) in get_pixel_val16() argument
79 pixel_val16 = *(const uint16_t *)pixel; in get_pixel_val16()
81 pixel_val16 = pixel32_to_be16(*(const uint32_t *)pixel); in get_pixel_val16()
120 const u8 *pixel = *pixel_start_ptr; in udl_compress_hline16() local
124 while ((pixel_end > pixel) && in udl_compress_hline16()
139 cmd_pixel_start = pixel; in udl_compress_hline16()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
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 …]
/kernel/linux/linux-5.10/drivers/staging/fbtft/
Dfb_agm1264k-fl.c260 signed short pixel, signed short error) in iterate_diffusion_matrix() argument
278 *write_pos = pixel; in iterate_diffusion_matrix()
308 u16 pixel = vmem16[y * par->info->var.xres + x]; in write_vmem() local
309 u16 b = pixel & 0x1f; in write_vmem()
310 u16 g = (pixel & (0x3f << 5)) >> 5; in write_vmem()
311 u16 r = (pixel & (0x1f << (5 + 6))) >> (5 + 6); in write_vmem()
313 pixel = (299 * r + 587 * g + 114 * b) / 200; in write_vmem()
314 if (pixel > 255) in write_vmem()
315 pixel = 255; in write_vmem()
319 (signed short)gamma_correction_table[pixel]; in write_vmem()
[all …]
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()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
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--
Dext-ctrls-image-process.rst24 Data bus frequency. Together with the media bus pixel code, bus type
25 (clock cycles per sample), the data bus frequency defines the pixel
26 rate (``V4L2_CID_PIXEL_RATE``) in the pixel array (or possibly
28 be calculated from the pixel clock, image width and height and
29 horizontal and vertical blanking. While the pixel rate control may
30 be defined elsewhere than in the subdev containing the pixel array,
32 because only on the pixel array it can be assumed that the vertical
34 allowed in the pixel array. The selection of frame rate is performed
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
101 - Width of the frame [pixel].
104 - Height of the frame [pixel].
118 - Minimum frame width [pixel].
121 - Maximum frame width [pixel].
124 - Frame width step size [pixel].
127 - Minimum frame height [pixel].
130 - Maximum frame height [pixel].
[all …]
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.
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.
Dpixfmt-intro.rst29 leftmost pixel of the topmost row. Following that is the pixel
31 pixels. Following the rightmost pixel of the row there may be zero or
32 more bytes of padding to guarantee that each row of pixel data has a
34 leftmost pixel of the second row from the top, and so on. The last row
Dpixfmt-y8i.rst16 This is a grey-scale image with a depth of 8 bits per pixel, but with
17 pixels from 2 sources interleaved. Each pixel is stored in a 16-bit
18 word. E.g. the R200 RealSense camera stores pixel from the left sensor
Dpixfmt-z16.rst10 16-bit depth data with distance values at each pixel
16 This is a 16-bit format, representing depth data. Each pixel is a
18 can vary and has to be negotiated with the device separately. Each pixel
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/armada/
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
/kernel/linux/linux-5.10/Documentation/fb/
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
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
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/i2c/
Dmt9p031.txt3 The Aptina MT9P031 is a 1/2.5-inch CMOS active pixel digital image sensor with
14 - pixel-clock-frequency: Pixel clock frequency.
35 pixel-clock-frequency = <96000000>;
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/
Dvkms_composer.c15 u32 pixel; in get_pixel_from_buffer() local
19 pixel = *(u32 *)&buffer[src_offset]; in get_pixel_from_buffer()
21 return pixel; in get_pixel_from_buffer()
37 u32 crc = 0, pixel = 0; in compute_crc() local
45 pixel = get_pixel_from_buffer(x, y, vaddr, composer); in compute_crc()
46 crc = crc32_le(crc, (void *)&pixel, sizeof(u32)); in compute_crc()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dudlfb.c431 const uint16_t *pixel = *pixel_start_ptr; in dlfb_compress_hline() local
435 while ((pixel_end > pixel) && in dlfb_compress_hline()
443 *pixel == *(u16 *)((u8 *)pixel + back_buffer_offset)) { in dlfb_compress_hline()
444 pixel++; in dlfb_compress_hline()
457 cmd_pixel_start = pixel; in dlfb_compress_hline()
460 raw_pixel_start = pixel; in dlfb_compress_hline()
462 cmd_pixel_end = pixel + min3(MAX_CMD_PIXELS + 1UL, in dlfb_compress_hline()
463 (unsigned long)(pixel_end - pixel), in dlfb_compress_hline()
468 while (cmd_pixel_end - 1 > pixel && in dlfb_compress_hline()
473 while (pixel < cmd_pixel_end) { in dlfb_compress_hline()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/matrox/
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 …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/
Dlcd_mipid.c245 u16 pixel; in read_first_pixel() local
256 pixel = ((red >> 1) << 11) | (green << 5) | (blue >> 1); in read_first_pixel()
260 pixel = ((red >> 3) << 11) | ((green >> 2) << 5) | in read_first_pixel()
264 pixel = 0; in read_first_pixel()
268 return pixel; in read_first_pixel()
290 u16 pixel; in mipid_run_test() local
293 pixel = read_first_pixel(md); in mipid_run_test()
294 if (pixel == test_values[i]) in mipid_run_test()
300 test_values[i], pixel); in mipid_run_test()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,dpi.txt5 provides 8-bit RGB/YUV444 or 8/10/10-bit YUV422 pixel data on a parallel
15 - clock-names: must contain "pixel", "engine", and "pll"
32 clock-names = "pixel", "engine", "pll";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
Dcirrus,clps711x-fb.txt11 - bits-per-pixel: Bits per pixel.
30 bits-per-pixel = <4>;
/kernel/linux/linux-5.10/Documentation/admin-guide/auxdisplay/
Dcfag12864b.rst88 Each bit represents one pixel. If the bit is high, the pixel will
89 turn on. If the pixel is low, the pixel will turn off.
/kernel/linux/linux-5.10/Documentation/driver-api/media/
Dcsi2.rst32 V4L2_CID_PIXEL_RATE is may be used by the receiver to obtain the pixel
43 .. list-table:: variables in pixel rate calculation
91 The media bus pixel codes document parallel formats. Should the pixel data be
92 transported over a serial bus, the media bus pixel code that describes a
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/imx/
Dfsl,imx-fb.txt14 - bits-per-pixel: Bits per pixel
41 bits-per-pixel = <16>;

12345678910