| /linux/drivers/gpu/drm/vkms/ |
| H A D | vkms_composer.c | 123 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 D | fb_agm1264k-fl.c | 247 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 D | fb_ssd1325.c | 61 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 D | fourcc.rst | 4 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 D | vidioc-enum-framesizes.rst | 30 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 D | pixfmt-y16i.rst | 16 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 D | pixfmt-y12i.rst | 16 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 D | pixfmt-cnf4.rst | 10 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 D | ext-ctrls-image-process.rst | 29 .. _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 D | pixfmt-intro.rst | 30 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 D | pixfmt-y8i.rst | 17 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 D | pixfmt-z16.rst | 11 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 D | pixfmt-inzi.rst | 17 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 D | vidioc-g-fbuf.rst | 100 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 D | display-manager.rst | 99 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 D | legacy_dvb_osd.rst | 130 - | 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 D | marvell,dove-lcd.txt | 13 "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 D | dma-buf-alloc-exchange.rst | 5 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 D | udlfb.c | 438 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 D | internals.rst | 61 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 D | pxafb.rst | 63 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 D | lcd_mipid.c | 247 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 D | cfag12864b.rst | 88 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 D | cirrus,clps711x-fb.txt | 11 - bits-per-pixel: Bits per pixel. 30 bits-per-pixel = <4>;
|
| /linux/Documentation/userspace-api/media/drivers/ |
| H A D | ccs.rst | 12 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
|