Home
last modified time | relevance | path

Searched full:pixel (Results 1 – 25 of 1207) sorted by relevance

12345678910>>...49

/Linux-v5.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()
104 * Rather than 256 pixel commands which are either rl or raw encoded,
109 * compression than 256 pixel raw or rle commands, with similar CPU consumpion.
120 const u8 *pixel = *pixel_start_ptr; in udl_compress_hline16() local
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/css_2401_system/host/
Dpixelgen_private.h137 ia_css_print("Pixel Generator ID %d Enable 0x%x\n", ID, state->com_enable); in pixelgen_ctrl_dump_state()
138 ia_css_print("Pixel Generator ID %d PRBS reset value 0 0x%x\n", ID, in pixelgen_ctrl_dump_state()
140 ia_css_print("Pixel Generator ID %d PRBS reset value 1 0x%x\n", ID, in pixelgen_ctrl_dump_state()
142 ia_css_print("Pixel Generator ID %d SYNC SID 0x%x\n", ID, state->syng_sid); in pixelgen_ctrl_dump_state()
143 ia_css_print("Pixel Generator ID %d syng free run 0x%x\n", ID, in pixelgen_ctrl_dump_state()
145 ia_css_print("Pixel Generator ID %d syng pause 0x%x\n", ID, state->syng_pause); in pixelgen_ctrl_dump_state()
146 ia_css_print("Pixel Generator ID %d syng no of frames 0x%x\n", ID, in pixelgen_ctrl_dump_state()
148 ia_css_print("Pixel Generator ID %d syng no of pixels 0x%x\n", ID, in pixelgen_ctrl_dump_state()
150 ia_css_print("Pixel Generator ID %d syng no of line 0x%x\n", ID, in pixelgen_ctrl_dump_state()
152 ia_css_print("Pixel Generator ID %d syng hblank cyc 0x%x\n", ID, in pixelgen_ctrl_dump_state()
[all …]
/Linux-v5.10/drivers/video/fbdev/core/
Dfb_draw.h21 * Create a pattern with the given pixel's color
26 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()
[all …]
/Linux-v5.10/include/uapi/linux/dvb/
Dosd.h56 * Sets all pixel to color 0
61 * Sets all pixel to color <col>
69 * opacity=0: pixel opacity 0% (only video pixel shows)
70 * opacity=1..254: pixel opacity as specified in header
71 * opacity=255: pixel opacity 100% (only OSD pixel shows)
79 * R,G,B, and a opacity value: 0->transparent, 1..254->mix, 255->pixel
83 * Sets transparency of mixed pixel (0..15)
88 * sets pixel <x>,<y> to color number <col>
92 /* returns color number of pixel <x>,<y>, or -1 */
96 * returns 0 on success, -1 on clipping all pixel (no pixel drawn)
[all …]
/Linux-v5.10/Documentation/userspace-api/media/v4l/
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
39 Pixel rate in the source pads of the subdev. This control is
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 …]
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--
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
Dvidioc-g-fbuf.rst103 the pixel in the top left corner of the framebuffer. [#f1]_
129 - The pixel format of the framebuffer.
151 undefined. See :ref:`pixfmt` for information on pixel formats.
171 ``width`` times bytes-per-pixel or a larger value required by the
304 output = framebuffer pixel * alpha + video pixel * (1 - alpha).
305 The actual alpha depth depends on the framebuffer pixel format.
309 images. The blend function is: output = (framebuffer pixel * alpha
310 + video pixel * (255 - alpha)) / 255. The alpha value is
320 framebuffer pixel * (1 - alpha) + video pixel * alpha. The actual
321 alpha depth depends on the framebuffer pixel format.
/Linux-v5.10/drivers/media/platform/exynos-gsc/
Dgsc-core.h105 * @mbus_code: Media Bus pixel code, -1 if not applicable
111 * @depth: per plane driver's private 'number of bits per pixel'
220 * struct gsc_pix_max - image pixel size limits in various IP configurations
222 * @org_scaler_bypass_w: max pixel width when the scaler is disabled
223 * @org_scaler_bypass_h: max pixel height when the scaler is disabled
224 * @org_scaler_input_w: max pixel width when the scaler is enabled
225 * @org_scaler_input_h: max pixel height when the scaler is enabled
226 * @real_rot_dis_w: max pixel src cropped height with the rotator is off
227 * @real_rot_dis_h: max pixel src croppped width with the rotator is off
228 * @real_rot_en_w: max pixel src cropped width with the rotator is on
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/
Dcss_receiver_2400_defs.h231 #define _HRT_CSS_RECEIVER_2400_BE_CUST_PIX_EXT_S0P0_REG_IDX 15 /* Pixel Extractor config f…
232 #define _HRT_CSS_RECEIVER_2400_BE_CUST_PIX_EXT_S0P1_REG_IDX 16 /* Pixel Extractor config f…
233 #define _HRT_CSS_RECEIVER_2400_BE_CUST_PIX_EXT_S0P2_REG_IDX 17 /* Pixel Extractor config f…
234 #define _HRT_CSS_RECEIVER_2400_BE_CUST_PIX_EXT_S0P3_REG_IDX 18 /* Pixel Extractor config f…
235 #define _HRT_CSS_RECEIVER_2400_BE_CUST_PIX_EXT_S1P0_REG_IDX 19 /* Pixel Extractor config f…
236 #define _HRT_CSS_RECEIVER_2400_BE_CUST_PIX_EXT_S1P1_REG_IDX 20 /* Pixel Extractor config f…
237 #define _HRT_CSS_RECEIVER_2400_BE_CUST_PIX_EXT_S1P2_REG_IDX 21 /* Pixel Extractor config f…
238 #define _HRT_CSS_RECEIVER_2400_BE_CUST_PIX_EXT_S1P3_REG_IDX 22 /* Pixel Extractor config f…
239 #define _HRT_CSS_RECEIVER_2400_BE_CUST_PIX_EXT_S2P0_REG_IDX 23 /* Pixel Extractor config f…
240 #define _HRT_CSS_RECEIVER_2400_BE_CUST_PIX_EXT_S2P1_REG_IDX 24 /* Pixel Extractor config f…
[all …]
/Linux-v5.10/drivers/video/fbdev/
Dvalkyriefb.h102 { 11, 28, 3 }, /* pixel clock = 79.55MHz for V=74.50Hz */
108 /* This used to be 12, 30, 3 for pixel clock = 78.12MHz for V=72.12Hz, but
118 { 12, 29, 3 }, /* pixel clock = 75.52MHz for V=69.71Hz? */
129 { 15, 31, 3 }, /* pixel clock = 64.58MHz for V=59.62Hz */
138 { 23, 42, 3 }, /* pixel clock = 57.07MHz for V=74.27Hz */
146 { 17, 27, 3 }, /* pixel clock = 49.63MHz for V=71.66Hz */
154 { 25, 32, 3 }, /* pixel clock = 40.0015MHz,
155 used to be 20,53,2, pixel clock 41.41MHz for V=59.78Hz */
163 { 14, 27, 2 }, /* pixel clock = 30.13MHz for V=66.43Hz */
171 { 23, 37, 2 }, /* pixel clock = 25.14MHz for V=59.85Hz */
/Linux-v5.10/include/media/davinci/
Dvpbe_osd.h52 * @PIXFMT_1BPP: 1-bit-per-pixel bitmap
53 * @PIXFMT_2BPP: 2-bits-per-pixel bitmap
54 * @PIXFMT_4BPP: 4-bits-per-pixel bitmap
55 * @PIXFMT_8BPP: 8-bits-per-pixel bitmap
56 * @PIXFMT_RGB565: 16-bits-per-pixel RGB565
58 * @PIXFMT_RGB888: 24-bits-per-pixel RGB888
61 * @PIXFMT_OSD_ATTR: OSD Attribute Window pixel format (4bpp)
64 * An enumeration of the DaVinci pixel formats.
160 * An enumeration of the DaVinci pixel blending factor options.
181 * An enumeration of the DaVinci pixel blinking interval options.
[all …]
/Linux-v5.10/drivers/staging/media/atomisp/pci/isp/kernels/dp/dp_1.0/
Dia_css_dp_types.h20 * CSS-API header file for Defect Pixel Correction (DPC) parameters.
23 /* Defect Pixel Correction configuration.
31 ia_css_u0_16 threshold; /** The threshold of defect pixel correction,
33 intensity between one pixel and its
35 in more frequent pixel corrections.
/Linux-v5.10/drivers/media/platform/s3c-camif/
Dcamif-core.h83 * struct camif_fmt - pixel format description
88 * @depth: bits per pixel (total)
89 * @ybpp: number of luminance bytes per pixel
101 * struct camif_dma_offset - pixel offset information for DMA
102 * @initial: offset (in pixels) to first pixel
112 * @f_width: full pixel width
113 * @f_height: full pixel height
146 * @vp_pix_limits: pixel limits for the codec and preview paths
147 * @camif_pix_limits: pixel limits for the camera input interface
196 * @out_fmt: pixel format at this video path output
[all …]
/Linux-v5.10/arch/arm/mach-pxa/include/mach/
Dregs-lcd.h74 #define LCCR0_DPD (1 << 9) /* Double Pixel Data (monochrome) */
75 #define LCCR0_4PixMono (LCCR0_DPD*0) /* 4-Pixel/clock Monochrome display */
76 #define LCCR0_8PixMono (LCCR0_DPD*1) /* 8-Pixel/clock Monochrome display */
90 #define LCCR1_DisWdth(Pixel) (((Pixel) - 1) << FShft (LCCR1_PPL)) argument
95 #define LCCR1_ELW Fld (8, 16) /* End-of-Line pixel clock Wait - 1 */
98 #define LCCR1_BLW Fld (8, 24) /* Beginning-of-Line pixel clock */
117 #define LCCR3_PCP (1 << 22) /* Pixel Clock Polarity (L_PCLK) */
118 #define LCCR3_PixRsEdg (LCCR3_PCP*0) /* Pixel clock Rising-Edge */
119 #define LCCR3_PixFlEdg (LCCR3_PCP*1) /* Pixel clock Falling-Edge */
125 #define LCCR3_DPC (1 << 27) /* double pixel clock mode */
[all …]
/Linux-v5.10/drivers/staging/fbtft/
Dfb_agm1264k-fl.c260 signed short pixel, signed short error) in iterate_diffusion_matrix() argument
277 /* pixel itself */ in iterate_diffusion_matrix()
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()
[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-v5.10/Documentation/fb/
Dpxafb.rst33 Pixel clock in picoseconds
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-v5.10/drivers/gpu/drm/amd/display/dc/inc/
Dclock_source.h52 * Pixel Clock Parameters structure
54 * when calculating Pixel Clock Dividers for requested Pixel Clock
82 /*> Requested Pixel Clock
96 /*> de-spread info, relevant only for on-the-fly tune-up pixel rate*/
102 * Pixel Clock Dividers structure with desired Pixel Clock
/Linux-v5.10/drivers/gpu/drm/
Ddrm_blend.c43 * sub-pixel accuracy, which is scaled up to a pixel-aligned destination
86 * only to the next full pixel. No pixel outside of the source rectangle may
97 * combined with pixel alpha.
98 * The pixel values in the framebuffers are expected to not be
142 * pixel blend mode:
143 * Pixel blend mode is set up with drm_plane_create_blend_mode_property().
151 * Blend formula that ignores the pixel alpha::
157 * Blend formula that assumes the pixel color values
165 * Blend formula that assumes the pixel color values have not
175 * Each of the RGB component values from the plane's pixel
[all …]
/Linux-v5.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
/Linux-v5.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>;
/Linux-v5.10/drivers/staging/media/atomisp/include/linux/
Datomisp_platform.h63 ATOMISP_INPUT_FORMAT_RAW_6, /* RAW data, 6 bits per pixel */
64 ATOMISP_INPUT_FORMAT_RAW_7, /* RAW data, 7 bits per pixel */
65 ATOMISP_INPUT_FORMAT_RAW_8, /* RAW data, 8 bits per pixel */
66 ATOMISP_INPUT_FORMAT_RAW_10, /* RAW data, 10 bits per pixel */
67 ATOMISP_INPUT_FORMAT_RAW_12, /* RAW data, 12 bits per pixel */
68 ATOMISP_INPUT_FORMAT_RAW_14, /* RAW data, 14 bits per pixel */
69 ATOMISP_INPUT_FORMAT_RAW_16, /* RAW data, 16 bits per pixel */
88 Pixel Sampling) */
90 Pixel Sampling) */
/Linux-v5.10/drivers/media/test-drivers/vimc/
Dvimc-scaler.c346 /* Save the bytes per pixel of the sink */ in vimc_sca_s_stream()
386 const u8 *const pixel, in vimc_sca_fill_pix() argument
391 /* copy the pixel to the pointer */ in vimc_sca_fill_pix()
393 ptr[i] = pixel[i]; in vimc_sca_fill_pix()
402 const u8 *pixel; in vimc_sca_scale_pix() local
404 /* Point to the pixel value in position (lin, col) in the sink frame */ in vimc_sca_scale_pix()
408 pixel = &sink_frame[index]; in vimc_sca_scale_pix()
414 /* point to the place we are going to put the first pixel in vimc_sca_scale_pix()
425 /* Repeat this pixel mult times */ in vimc_sca_scale_pix()
428 * pixel repetition in a line in vimc_sca_scale_pix()
[all …]

12345678910>>...49