Home
last modified time | relevance | path

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

12345678910

/linux-6.12.1/drivers/gpu/drm/udl/
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 …]
/linux-6.12.1/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-6.12.1/drivers/gpu/drm/bridge/imx/
DKconfig32 Freescale i.MX8qm processor. Official name of LDB is pixel mapper.
42 Freescale i.MX8qxp processor. Official name of LDB is pixel mapper.
45 tristate "Freescale i.MX8QM/QXP pixel combiner"
50 Choose this to enable pixel combiner found in
54 tristate "Freescale i.MX8QM/QXP display pixel link"
59 Choose this to enable display pixel link found in
63 tristate "Freescale i.MX8QXP pixel link to display pixel interface"
67 Choose this to enable pixel link to display pixel interface(PXL2DPI)
/linux-6.12.1/drivers/staging/fbtft/
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 …]
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()
/linux-6.12.1/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--
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 …]
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-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.
Dext-ctrls-image-process.rst28 .. _v4l2-cid-pixel-rate:
31 Pixel sampling rate in the device's pixel array. This control is
35 rate. The frame rate can be calculated from the pixel rate, analogue crop
36 rectangle as well as horizontal and vertical blanking. The pixel rate
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
/linux-6.12.1/Documentation/gpu/amdgpu/display/
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
142 :c:type:`mpcc_alpha_blend_mode` defines the alpha blend mode regarding pixel
[all …]
/linux-6.12.1/Documentation/userspace-api/media/dvb/
Dlegacy_dvb_osd.rst130 - | Sets all pixel to color 0.
139 - | Sets all pixel to color <color>.
153 | opacity=0: pixel opacity 0% (only video pixel shows)
154 | opacity=1..254: pixel opacity as specified in header
155 | opacity=255: pixel opacity 100% (only OSD pixel shows)
170 255->pixel
178 - | Sets transparency of mixed pixel (0..15).
187 - | Sets pixel <x>,<y> to color number <color>.
196 - | Returns color number of pixel <x>,<y>, or -1.
206 | Returns 0 on success, -1 on clipping all pixel (no pixel
[all …]
/linux-6.12.1/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-6.12.1/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
/linux-6.12.1/drivers/video/fbdev/
Dudlfb.c438 const uint16_t *pixel = *pixel_start_ptr; in dlfb_compress_hline() local
442 while ((pixel_end > pixel) && in dlfb_compress_hline()
450 *pixel == *(u16 *)((u8 *)pixel + back_buffer_offset)) { in dlfb_compress_hline()
451 pixel++; in dlfb_compress_hline()
464 cmd_pixel_start = pixel; in dlfb_compress_hline()
467 raw_pixel_start = pixel; in dlfb_compress_hline()
469 cmd_pixel_end = pixel + min3(MAX_CMD_PIXELS + 1UL, in dlfb_compress_hline()
470 (unsigned long)(pixel_end - pixel), in dlfb_compress_hline()
475 while (cmd_pixel_end - 1 > pixel && in dlfb_compress_hline()
480 while (pixel < cmd_pixel_end) { in dlfb_compress_hline()
[all …]
/linux-6.12.1/Documentation/userspace-api/
Ddma-buf-alloc-exchange.rst5 Exchanging pixel buffers
9 support for sharing pixel-buffer allocations between processes, devices, and
26 in one or more memory buffers. Has width and height in pixels, pixel
41 A piece of memory for storing (parts of) pixel data. Has stride and size
49 pixel:
54 pixel data:
56 of a pixel or an image. The data for one pixel may be spread over several
68 pixel format:
69 A description of how pixel data represents the pixel's color and alpha
73 A description of how pixel data is laid out in memory buffers.
[all …]
/linux-6.12.1/Documentation/driver-api/media/
Dtx-rx.rst8 V4L2 supports various devices that transmit and receive pixel data. Examples of
41 Media bus pixel code
65 The pixel rate on the bus is calculated as follows::
71 .. list-table:: variables in pixel rate calculation
90 The pixel rate calculated this way is **not** the same thing as the
91 pixel rate on the camera sensor's pixel array which is indicated by the
92 :ref:`V4L2_CID_PIXEL_RATE <v4l2-cid-pixel-rate>` control.
/linux-6.12.1/Documentation/userspace-api/media/drivers/
Dcamera-sensor.rst25 of cropping and scaling operations from the device's pixel array's size.
58 (analogue crop height + vertical blanking) / pixel rate
62 crop, use the full source image size, i.e. pixel array size.
66 is pixels and the unit of the ``V4L2_CID_VBLANK`` is lines. The pixel rate in
67 the sensor's **pixel array** is specified by ``V4L2_CID_PIXEL_RATE`` in the same
74 The first entity in the linear pipeline is the pixel array. The pixel array may
/linux-6.12.1/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 …]
/linux-6.12.1/drivers/video/fbdev/omap/
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()
/linux-6.12.1/drivers/gpu/drm/vkms/
Dvkms_composer.c158 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()
/linux-6.12.1/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.
/linux-6.12.1/Documentation/devicetree/bindings/display/
Dcirrus,clps711x-fb.txt11 - bits-per-pixel: Bits per pixel.
30 bits-per-pixel = <4>;

12345678910