Home
last modified time | relevance | path

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

12345678910>>...51

/Linux-v5.15/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.15/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.15/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.15/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.15/drivers/media/i2c/ccs/
Dccs-data.h112 * struct ccs_pdaf_pix_loc_block_desc - PDAF pixel location block descriptor
122 * struct ccs_pdaf_pix_loc_block_desc_group - PDAF pixel location block
135 * struct ccs_pdaf_pix_loc_pixel_desc - PDAF pixel location block descriptor
136 * @pixel_type: Type of the pixel; CCS_DATA_PDAF_PIXEL_TYPE_*
147 * struct ccs_pdaf_pix_loc_pixel_desc_group - PDAF pixel location pixel
150 * @descs: PDAF pixel location pixel descriptors
158 * struct ccs_pdaf_pix_loc - PDAF pixel locations
159 * @main_offset_x: Start X coordinate of PDAF pixel blocks
160 * @main_offset_y: Start Y coordinate of PDAF pixel blocks
166 * @num_pixel_desc_grups: Number of pixel descriptor groups
[all …]
/Linux-v5.15/Documentation/userspace-api/media/v4l/
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 …]
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--
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
/Linux-v5.15/drivers/media/platform/exynos-gsc/
Dgsc-core.h102 * @mbus_code: Media Bus pixel code, -1 if not applicable
109 * @depth: per plane driver's private 'number of bits per pixel'
218 * struct gsc_pix_max - image pixel size limits in various IP configurations
220 * @org_scaler_bypass_w: max pixel width when the scaler is disabled
221 * @org_scaler_bypass_h: max pixel height when the scaler is disabled
222 * @org_scaler_input_w: max pixel width when the scaler is enabled
223 * @org_scaler_input_h: max pixel height when the scaler is enabled
224 * @real_rot_dis_w: max pixel src cropped height with the rotator is off
225 * @real_rot_dis_h: max pixel src croppped width with the rotator is off
226 * @real_rot_en_w: max pixel src cropped width with the rotator is on
[all …]
/Linux-v5.15/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.15/Documentation/driver-api/media/
Dtx-rx.rst5 Pixel data transmitter and receiver drivers
8 V4L2 supports various devices that transmit and receive pixel data. Examples of
40 Media bus pixel code
61 Pixel rate
64 The pixel rate on the bus is calculated as follows::
70 .. list-table:: variables in pixel rate calculation
89 The pixel rate calculated this way is **not** the same thing as the
90 pixel rate on the camera sensor's pixel array which is indicated by the
91 :ref:`V4L2_CID_PIXEL_RATE <v4l2-cid-pixel-rate>` control.
/Linux-v5.15/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.15/drivers/media/i2c/
Dccs-pll.h59 * @pix_clk_div: Pixel clock divider
61 * @pix_clk_freq_hz: Pixel clock frequency
84 * @bits_per_pixel: Bits per pixel on the output data bus (input)
94 * @pixel_rate_csi: Pixel rate on the output data bus (output)
95 * @pixel_rate_pixel_array: Nominal pixel rate in the sensor's pixel array
156 * @min_pix_clk_div: Minimum pixel clock divider
157 * @max_pix_clk_div: Maximum pixel clock divider
158 * @min_pix_clk_freq_hz: Minimum pixel clock frequency
159 * @max_pix_clk_freq_hz: Maximum pixel clock frequency
/Linux-v5.15/drivers/gpu/drm/vkms/
Dvkms_composer.c16 u32 pixel; in get_pixel_from_buffer() local
20 pixel = *(u32 *)&buffer[src_offset]; in get_pixel_from_buffer()
22 return pixel; in get_pixel_from_buffer()
38 u32 crc = 0, pixel = 0; in compute_crc() local
46 pixel = get_pixel_from_buffer(x, y, vaddr, composer); in compute_crc()
47 crc = crc32_le(crc, (void *)&pixel, sizeof(u32)); in compute_crc()
69 * @argb_src: src pixel on premultiplied alpha mode
70 * @argb_dst: dst pixel completely opaque
73 * is that pixel color values have been already pre-multiplied with the alpha
88 * x_blend - blending equation that ignores the pixel alpha
[all …]
/Linux-v5.15/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.15/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 * @pix_limits: pixel limits for the camera input interface
199 * @out_fmt: pixel format at this video path output
[all …]
/Linux-v5.15/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.15/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.15/drivers/staging/fbtft/
Dfb_agm1264k-fl.c247 signed short pixel, signed short error) in iterate_diffusion_matrix() argument
264 /* pixel itself */ in iterate_diffusion_matrix()
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()
[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-v5.15/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.15/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.15/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.15/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.15/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>;

12345678910>>...51