Home
last modified time | relevance | path

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

123456789

/linux/drivers/gpu/drm/vkms/
H A Dvkms_composer.c123 struct pixel_argb_u16 *pixel = &output_buffer->pixels[x]; in apply_lut() local
125 pixel->r = apply_lut_to_channel_value(&crtc_state->gamma_lut, pixel->r, LUT_RED); in apply_lut()
126 pixel->g = apply_lut_to_channel_value(&crtc_state->gamma_lut, pixel->g, LUT_GREEN); in apply_lut()
127 pixel->b = apply_lut_to_channel_value(&crtc_state->gamma_lut, pixel->b, LUT_BLUE); in apply_lut()
131 VISIBLE_IF_KUNIT void apply_3x4_matrix(struct pixel_argb_s32 *pixel, in apply_3x4_matrix() argument
137 r = drm_int2fixp(pixel->r); in apply_3x4_matrix()
138 g = drm_int2fixp(pixel->g); in apply_3x4_matrix()
139 b = drm_int2fixp(pixel->b); in apply_3x4_matrix()
156 pixel->r = drm_fixp2int_round(rf); in apply_3x4_matrix()
157 pixel->g = drm_fixp2int_round(gf); in apply_3x4_matrix()
[all …]
/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()
/linux/Documentation/userspace-api/media/v4l/
H A Dfourcc.rst4 Guidelines for Video4Linux pixel format 4CCs
9 the pixel format, compression and colour space. The interpretation of the
24 2nd character: pixel order
31 3rd character: uncompressed bits-per-pixel 0--9, A--
33 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-y16i.rst16 This is a grey-scale image with a depth of 16 bits per pixel, but with pixels
17 from 2 sources interleaved and unpacked. Each pixel is stored in a 16-bit word
18 in the little-endian order. The first pixel is from the left source.
21 Left/Right pixels 16-bit unpacked - 16-bit for each interleaved pixel.
H A Dpixfmt-y12i.rst16 This is a grey-scale image with a depth of 12 bits per pixel, but with
17 pixels from 2 sources interleaved and bit-packed. Each pixel is stored
29 interleaved pixel.
H A Dpixfmt-cnf4.rst10 Depth sensor confidence information as a 4 bits per pixel packed array
21 Bits 0-3 of byte n refer to confidence value of depth pixel 2*n,
22 bits 4-7 to confidence value of depth pixel 2*n+1.
H A Dext-ctrls-image-process.rst29 .. _v4l2-cid-pixel-rate:
32 Pixel sampling rate in the device's pixel array. This control is
36 rate. The frame rate can be calculated from the pixel rate, analogue crop
37 rectangle as well as horizontal and vertical blanking. The pixel rate
H A Dpixfmt-intro.rst30 leftmost pixel of the topmost row. Following that is the pixel
32 pixels. Following the rightmost pixel of the row there may be zero or
33 more bytes of padding to guarantee that each row of pixel data has a
35 leftmost pixel of the second row from the top, and so on. The last row
H A Dpixfmt-y8i.rst17 This is a grey-scale image with a depth of 8 bits per pixel, but with
18 pixels from 2 sources interleaved. Each pixel is stored in a 16-bit
19 word. E.g. the R200 RealSense camera stores pixel from the left sensor
H A Dpixfmt-z16.rst11 16-bit depth data with distance values at each pixel
17 This is a 16-bit format, representing depth data. Each pixel is a
19 can vary and has to be negotiated with the device separately. Each pixel
H A Dpixfmt-inzi.rst17 Infrared image followed by Depth data. The pixel definition is 32-bpp,
25 Each pixel is 16-bit cell, with actual data stored in the 10 LSBs
30 The second plane provides 16-bit per-pixel Depth data arranged in
H A Dvidioc-g-fbuf.rst100 the pixel in the top left corner of the framebuffer.
123 - The pixel format of the framebuffer.
144 undefined. See :ref:`pixfmt` for information on pixel formats.
291 output = framebuffer pixel * alpha + video pixel * (1 - alpha).
292 The actual alpha depth depends on the framebuffer pixel format.
296 images. The blend function is: output = (framebuffer pixel * alpha
297 + video pixel * (255 - alpha)) / 255. The alpha value is
307 framebuffer pixel * (1 - alpha) + video pixel * alpha. The actual
308 alpha depth depends on the framebuffer pixel format.
/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
142 :c:type:`mpcc_alpha_blend_mode` defines the alpha blend mode regarding pixel
[all …]
/linux/Documentation/userspace-api/media/dvb/
H A 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/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
/linux/Documentation/userspace-api/
H A 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/drivers/video/fbdev/
H A 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/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
/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()
/linux/Documentation/admin-guide/auxdisplay/
H A 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/Documentation/devicetree/bindings/display/
H A Dcirrus,clps711x-fb.txt11 - bits-per-pixel: Bits per pixel.
30 bits-per-pixel = <4>;
/linux/Documentation/userspace-api/media/drivers/
H A Dccs.rst12 camera sensors. It exposes three sub-devices representing the pixel array,
23 The pixel array sub-device represents the camera sensor's pixel matrix, as well
26 entity. The size of the pixel matrix can be obtained by getting the
59 analogue data is never read from the pixel matrix that are outside the

123456789