Home
last modified time | relevance | path

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

123456789

/Linux-v4.19/drivers/gpu/drm/udl/
Dudl_transfer.c75 static inline u16 pixel32_to_be16(const uint32_t pixel) in pixel32_to_be16() argument
77 return (((pixel >> 3) & 0x001f) | in pixel32_to_be16()
78 ((pixel >> 5) & 0x07e0) | in pixel32_to_be16()
79 ((pixel >> 8) & 0xf800)); in pixel32_to_be16()
82 static inline u16 get_pixel_val16(const uint8_t *pixel, int log_bpp) in get_pixel_val16() argument
86 pixel_val16 = *(const uint16_t *)pixel; in get_pixel_val16()
88 pixel_val16 = pixel32_to_be16(*(const uint32_t *)pixel); in get_pixel_val16()
127 const u8 *pixel = *pixel_start_ptr; in udl_compress_hline16() local
131 while ((pixel_end > pixel) && in udl_compress_hline16()
146 cmd_pixel_start = pixel; in udl_compress_hline16()
[all …]
/Linux-v4.19/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 …]
/Linux-v4.19/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.c63 static uint8_t rgb565_to_g16(u16 pixel) in rgb565_to_g16() argument
65 u16 b = pixel & 0x1f; in rgb565_to_g16()
66 u16 g = (pixel & (0x3f << 5)) >> 5; in rgb565_to_g16()
67 u16 r = (pixel & (0x1f << (5 + 6))) >> (5 + 6); in rgb565_to_g16()
69 pixel = (299 * r + 587 * g + 114 * b) / 195; in rgb565_to_g16()
70 if (pixel > 255) in rgb565_to_g16()
71 pixel = 255; in rgb565_to_g16()
72 return (uint8_t)pixel / 16; in rgb565_to_g16()
/Linux-v4.19/Documentation/media/v4l-drivers/
Dfourcc.rst1 Guidelines for Video4Linux pixel format 4CCs
6 the pixel format, compression and colour space. The interpretation of the
21 2nd character: pixel order
28 3rd character: uncompressed bits-per-pixel 0--9, A--
30 4th character: compressed bits-per-pixel 0--9, A--
/Linux-v4.19/Documentation/media/uapi/v4l/
Dvidioc-enum-framesizes.rst30 that contains an index and pixel format and receives a frame width
38 and height in pixels) that the device supports for the given pixel
41 The supported pixel formats can be obtained by using the
104 - Width of the frame [pixel].
107 - Height of the frame [pixel].
122 - Minimum frame width [pixel].
125 - Maximum frame width [pixel].
128 - Frame width step size [pixel].
131 - Minimum frame height [pixel].
134 - Maximum frame height [pixel].
[all …]
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-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
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-inzi.rst16 Infrared image followed by Depth data. The pixel definition is 32-bpp,
24 Each pixel is 16-bit cell, with actual data stored in the 10 LSBs
29 The second plane provides 16-bit per-pixel Depth data arranged in
/Linux-v4.19/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
/Linux-v4.19/Documentation/devicetree/bindings/display/
Dbrcm,bcm-vc4.txt31 b) pixel: The pixel clock.
45 b) pixel: The pixel clock that feeds the pixelvalve
72 c) pixel: The DSI pixel clock from CPRMAN
107 clock-names = "pixel", "hdmi";
115 clock-names = "core", "pixel";
137 clock-names = "phy", "escape", "pixel";
Dcirrus,clps711x-fb.txt11 - bits-per-pixel: Bits per pixel.
31 bits-per-pixel = <4>;
Dwm,wm8505-fb.txt7 - bits-per-pixel : bit depth of framebuffer (16 or 32)
17 bits-per-pixel = <16>;
/Linux-v4.19/Documentation/fb/
Dinternals.txt56 Each pixel is either black or white.
61 The whole pixel value is fed through a programmable lookup table that has one
62 color (including red, green, and blue intensities) for each possible pixel
68 The pixel value is broken up into red, green, and blue fields.
73 The pixel value is broken up into red, green, and blue fields, each of which
Dpxafb.txt43 4 or 8 pixel monochrome single panel data
51 Double pixel clock. 1=>true, 0=>false
57 pixel clock polarity
86 = 16 -- for YUV422 planar (1 pixel = 1 Y + 1/2 Cb + 1/2 Cr)
87 = 12 -- for YUV420 planar (1 pixel = 1 Y + 1/4 Cb + 1/4 Cr)
96 with minimum bits per pixel, e.g. for YUV420, Cr component
97 for one pixel is actually 2-bits, it means the line length
/Linux-v4.19/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>;
/Linux-v4.19/drivers/video/fbdev/
Dudlfb.c434 const uint16_t *pixel = *pixel_start_ptr; in dlfb_compress_hline() local
438 while ((pixel_end > pixel) && in dlfb_compress_hline()
446 *pixel == *(u16 *)((u8 *)pixel + back_buffer_offset)) { in dlfb_compress_hline()
447 pixel++; in dlfb_compress_hline()
460 cmd_pixel_start = pixel; in dlfb_compress_hline()
463 raw_pixel_start = pixel; in dlfb_compress_hline()
465 cmd_pixel_end = pixel + min3(MAX_CMD_PIXELS + 1UL, in dlfb_compress_hline()
466 (unsigned long)(pixel_end - pixel), in dlfb_compress_hline()
471 while (cmd_pixel_end - 1 > pixel && in dlfb_compress_hline()
476 while (pixel < cmd_pixel_end) { in dlfb_compress_hline()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,dpi.txt5 provides 8-bit RGB/YUV444 or 8/10/10-bit YUV422 pixel data on a parallel
14 - clock-names: must contain "pixel", "engine", and "pll"
28 clock-names = "pixel", "engine", "pll";
/Linux-v4.19/drivers/video/fbdev/matrox/
Dmatroxfb_misc.c542 minfo->limits.pixel.vcomax = maxdac; in parse_pins1()
554 minfo->limits.pixel.vcomax = 220000; in default_pins1()
563 minfo->limits.pixel.vcomax = in parse_pins2()
577 minfo->limits.pixel.vcomax = in default_pins2()
587 minfo->limits.pixel.vcomax = in parse_pins3()
605 minfo->limits.pixel.vcomax = in default_pins3()
617 minfo->limits.pixel.vcomax = (bd->pins[ 39] == 0xFF) ? 230000 : bd->pins[ 39] * 4000; in parse_pins4()
618 …minfo->limits.system.vcomax = (bd->pins[ 38] == 0xFF) ? minfo->limits.pixel.vcomax : bd->pins[ 38]… in parse_pins4()
636 minfo->limits.pixel.vcomax = in default_pins4()
653 minfo->limits.pixel.vcomax = (bd->pins[ 38] == 0xFF) ? 600000 : bd->pins[ 38] * mult; in parse_pins5()
[all …]
/Linux-v4.19/drivers/video/fbdev/omap/
Dlcd_mipid.c258 u16 pixel; in read_first_pixel() local
269 pixel = ((red >> 1) << 11) | (green << 5) | (blue >> 1); in read_first_pixel()
273 pixel = ((red >> 3) << 11) | ((green >> 2) << 5) | in read_first_pixel()
277 pixel = 0; in read_first_pixel()
281 return pixel; in read_first_pixel()
303 u16 pixel; in mipid_run_test() local
306 pixel = read_first_pixel(md); in mipid_run_test()
307 if (pixel == test_values[i]) in mipid_run_test()
313 test_values[i], pixel); in mipid_run_test()
/Linux-v4.19/Documentation/auxdisplay/
Dcfag12864b95 Each bit represents one pixel. If the bit is high, the pixel will
96 turn on. If the pixel is low, the pixel will turn off.
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c926 uint32_t pixel; in nv04_cursor_upload() local
931 pixel = nouveau_bo_rd32(src, i*64 + j); in nv04_cursor_upload()
933 nouveau_bo_wr16(dst, i*width + j, (pixel & 0x80000000) >> 16 in nv04_cursor_upload()
934 | (pixel & 0xf80000) >> 9 in nv04_cursor_upload()
935 | (pixel & 0xf800) >> 6 in nv04_cursor_upload()
936 | (pixel & 0xf8) >> 3); in nv04_cursor_upload()
944 uint32_t pixel; in nv11_cursor_upload() local
954 pixel = nouveau_bo_rd32(src, i); in nv11_cursor_upload()
961 alpha = pixel >> 24; in nv11_cursor_upload()
963 pixel = (pixel & 0x00ffffff) | ((alpha + 1) << 24); in nv11_cursor_upload()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/display/imx/
Dfsl,imx-fb.txt14 - bits-per-pixel: Bits per pixel
42 bits-per-pixel = <16>;

123456789