Home
last modified time | relevance | path

Searched +full:color +full:- +full:conversion (Results 1 – 25 of 175) sorted by relevance

1234567

/linux/drivers/staging/media/atomisp/pci/isp/kernels/csc/csc_1.0/
H A Dia_css_csc_types.h1 /* SPDX-License-Identifier: GPL-2.0 */
20 * CSS-API header file for Color Space Conversion parameters.
23 /* Color Correction configuration.
28 * 1. Color Space Conversion (YCgCo to YUV) for ISP1.
29 * ISP block: CSC1 (Color Space Conversion)
32 * 2. Color Correction Matrix (YCgCo to RGB) for ISP2.
33 * ISP block: CCM2 (Color Correction Matrix)
36 * 3. Color Space Conversion (RGB to YUV) for ISP2.
37 * ISP block: CSC2 (Color Space Conversion)
41 * 1. YCgCo -> YUV
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_format_helper.c1 // SPDX-License-Identifier: GPL-2.0 or MIT
12 #include <linux/iosys-map.h>
24 * drm_format_conv_state_init - Initialize format-conversion state
32 state->tmp.mem = NULL; in drm_format_conv_state_init()
33 state->tmp.size = 0; in drm_format_conv_state_init()
34 state->tmp.preallocated = false; in drm_format_conv_state_init()
39 * drm_format_conv_state_copy - Copy format-conversion state
43 * Copies format-conversion state from @old_state to @state; except for
53 state->tmp.mem = NULL; in drm_format_conv_state_copy()
54 state->tmp.size = 0; in drm_format_conv_state_copy()
[all …]
/linux/drivers/staging/media/deprecated/atmel/
H A Datmel-isc-regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
152 /* ISC Color Filter Array Control Register */
155 /* ISC Color Filter Array Configuration Register */
164 /* ISC Color Correction Control Register */
167 /* ISC Color Correction RR RG Register */
170 /* ISC Color Correction RB OR Register */
173 /* ISC Color Correction GR GG Register */
176 /* ISC Color Correction GB OG Register */
179 /* ISC Color Correction BR BG Register */
182 /* ISC Color Correction BB OB Register */
[all …]
/linux/drivers/media/platform/microchip/
H A Dmicrochip-isc-regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
152 /* ISC Color Filter Array Control Register */
155 /* ISC Color Filter Array Configuration Register */
164 /* ISC Color Correction Control Register */
167 /* ISC Color Correction RR RG Register */
170 /* ISC Color Correction RB OR Register */
173 /* ISC Color Correction GR GG Register */
176 /* ISC Color Correction GB OG Register */
179 /* ISC Color Correction BR BG Register */
182 /* ISC Color Correction BB OB Register */
[all …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/sc/sc_1.0/
H A Dia_css_sc_types.h1 /* SPDX-License-Identifier: GPL-2.0 */
20 * CSS-API header file for Lens Shading Correction (SC) parameters.
23 /* Number of color planes in the shading table. */
27 * For each color we store a grid of values.
30 IA_CSS_SC_COLOR_GR, /** Green on a green-red line */
33 IA_CSS_SC_COLOR_GB /** Green on a green-blue line */
38 * This describes the color shading artefacts
42 *------------ deprecated(bz675) : from ---------------------------
55 * The shading table conversion will be removed from the css in the near future,
58 * At the moment, to support the old driver which assumes the conversion is done in the css,
[all …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/macc/macc1_5/
H A Dia_css_macc1_5_types.h1 /* SPDX-License-Identifier: GPL-2.0 */
20 * CSS-API header file for Multi-Axis Color Conversion algorithm parameters.
23 /* Multi-Axis Color Conversion configuration
33 /* Multi-Axes Color Correction (MACC) table.
49 * OutU = (data00 * InU + data01 * InV) >> (13 - exp)
50 * OutV = (data10 * InU + data11 * InV) >> (13 - exp)
53 * OutU = (4096 * InU + 0 * InV) >> (13 - 1)
54 * OutV = ( 0 * InU + 4096 * InV) >> (13 - 1)
59 MACC1_5: s[macc_config.exp].[13-macc_config.exp], [-8192,8191]
64 /* Multi-Axes Color Correction (MACC) configuration.
/linux/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright 2019-2020 NXP
207 /* Channel Color Space Conversion Coefficient Register 0 */
214 /* Channel Color Space Conversion Coefficient Register 1 */
221 /* Channel Color Space Conversion Coefficient Register 2 */
228 /* Channel Color Space Conversion Coefficient Register 3 */
235 /* Channel Color Space Conversion Coefficient Register 4 */
242 /* Channel Color Space Conversion Coefficient Register 5 */
397 /* Channel Output Y-Buffer 1 Extended Address Bits */
400 /* Channel Output U-Buffer 1 Extended Address Bits */
[all …]
/linux/Documentation/devicetree/bindings/media/
H A Dti,vpe.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Benoit Parrot <bparrot@ti.com>
12 description: |-
16 scaling and color space conversion.
20 const: ti,dra7-vpe
24 - description: The VPE main register region
25 - description: Scaler (SC) register region
26 - description: Color Space Conversion (CSC) register region
[all …]
H A Dmediatek,mdp3-tcc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/mediatek,mdp3-tcc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek Media Data Path 3 Tone Curve Conversion
10 - Matthias Brugger <matthias.bgg@gmail.com>
13 Tone Curve Conversion (TCC) is one of Media Profile Path 3 (MDP3) components.
15 achieve HDR10 effects. This helps adapt the content to the color and
21 - mediatek,mt8195-mdp3-tcc
26 mediatek,gce-client-reg:
[all …]
H A Dst,stm32-dma2d.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/st,stm32-dma2d.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 Chrom-Art Accelerator DMA2D
10 Chrom-ART Accelerator(DMA2D), graphical hardware accelerator
15 - Filling a part or the whole of a destination image with a specific color.
16 - Copying a part or the whole of a source image into a part or the whole of
18 - Copying a part or the whole of a source image into a part or the whole of
19 a destination image with a pixel format conversion.
[all …]
/linux/drivers/gpu/drm/stm/
H A Dltdc.c1 // SPDX-License-Identifier: GPL-2.0
15 #include <linux/media-bus-format.h>
46 #define CRTC_MASK GENMASK(NB_CRTC - 1, 0)
61 #define LAY_OFS (ldev->caps.layer_ofs)
75 #define LTDC_BCCR 0x002C /* Background Color Configuration */
87 #define LTDC_L1C0R (ldev->caps.layer_regs[0]) /* L1 configuration 0 */
88 #define LTDC_L1C1R (ldev->caps.layer_regs[1]) /* L1 configuration 1 */
89 #define LTDC_L1RCR (ldev->caps.layer_regs[2]) /* L1 reload control */
90 #define LTDC_L1CR (ldev->caps.layer_regs[3]) /* L1 control register */
91 #define LTDC_L1WHPCR (ldev->caps.layer_regs[4]) /* L1 window horizontal position configuration */
[all …]
/linux/drivers/staging/media/ipu3/include/uapi/
H A Dintel-ipu3.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* Copyright (C) 2017 - 2018 Intel Corporation */
11 /* Vendor specific - used for IPU3 camera sub-system */
17 /* from include/uapi/linux/v4l2-controls.h */
26 #define IPU3_UAPI_GRID_START_MASK ((1 << 12) - 1)
34 * struct ipu3_uapi_grid_config - Grid plane config
56 * create a grid-based output, and the data is then divided into "slices".
71 * struct ipu3_uapi_awb_set_item - Memory layout for each cell in AWB
108 * struct ipu3_uapi_awb_raw_buffer - AWB raw buffer
111 * the average values for each color channel.
[all …]
/linux/Documentation/devicetree/bindings/display/
H A Drenesas,cmm.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas R-Car Color Management Module (CMM)
10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
11 - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
12 - Jacopo Mondi <jacopo+renesas@jmondi.org>
15 Renesas R-Car color management module connected to R-Car DU video channels.
16 It provides image enhancement functions such as 1-D look-up tables (LUT),
17 3-D look-up tables (CLU), 1D-histogram generation (HGO), and color
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn401/
H A Ddcn401_dpp_cm.c32 #include "basics/conversion.h"
43 dpp->tf_regs->reg
46 dpp->base.ctx
50 dpp->tf_shift->field_name, dpp->tf_mask->field_name
106 if (dpp->tf_mask->CM_BYPASS_EN) in dpp401_full_bypass()
120 enum dc_cursor_color_format color_format = cursor_attributes->color_format; in dpp401_set_cursor_attributes()
123 // DCN4 should always do Cursor degamma for Cursor Color modes in dpp401_set_cursor_attributes()
142 dpp_base->att.cur0_ctl.bits.expansion_mode = 0; in dpp401_set_cursor_attributes()
143 dpp_base->att.cur0_ctl.bits.cur0_rom_en = cur_rom_en; in dpp401_set_cursor_attributes()
144 dpp_base->att.cur0_ctl.bits.mode = color_format; in dpp401_set_cursor_attributes()
[all …]
/linux/Documentation/driver-api/iio/
H A Dintro.rst9 analog-to-digital conversion (ADC) or digital-to-analog conversion (DAC)
25 * color and light sensors
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_color.c29 #include "modules/color/color_gamma.h"
30 #include "basics/conversion.h"
35 * The DC interface to HW gives us the following color management blocks
38 * - Input gamma LUT (de-normalized)
39 * - Input CSC (normalized)
40 * - Surface degamma LUT (normalized)
41 * - Surface CSC (normalized)
42 * - Surface regamma LUT (normalized)
43 * - Output CSC (normalized)
45 * But these aren't a direct mapping to DRM color properties. The current DRM
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dyuv-formats.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _yuv-formats:
10 separates the brightness information (Y) from the color information (U
11 and V or Cb and Cr). The color information consists of red and blue
12 *color difference* signals, this way the green component can be
14 :ref:`colorspaces` for conversion examples. YUV was chosen because
16 color in a way compatible with existing receivers a new signal carrier
17 was added to transmit the color difference signals.
25 advantage of the human eye being more sensitive to luminance than color
33 - `4:4:4`: No subsampling
[all …]
/linux/drivers/media/platform/nxp/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
21 tristate "NXP i.MX8MQ MIPI CSI-2 receiver"
28 Video4Linux2 driver for the MIPI CSI-2 receiver found on the i.MX8MQ
32 tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models"
39 Video4Linux2 sub-device driver for the MIPI CSI-2 CSIS receiver
42 source "drivers/media/platform/nxp/imx8-isi/Kconfig"
53 The i.MX Pixel Pipeline is a memory-to-memory engine for scaling,
54 color space conversion, and rotation.
57 tristate "NXP MX2 eMMa-PrP support"
66 conversion.
[all …]
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Ddpp.h2 * Copyright 2012-15 Advanced Micro Devices, Inc.
40 * - graphic color keyer
41 * - graphic cursor compositing
42 * - graphic or video image source to destination scaling
43 * - image sharping
44 * - video format conversion from 4:2:0 or 4:2:2 to 4:4:4
45 * - Color Space Conversion
46 * - Host LUT gamma adjustment
47 * - Color Gamut Remap
48 * - brightness and contrast adjustment.
[all …]
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-core.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2010 - 2012 Samsung Electronics Co., Ltd.
21 #include <media/media-entity.h>
22 #include <media/videobuf2-v4l2.h>
23 #include <media/v4l2-ctrls.h>
24 #include <media/v4l2-device.h>
25 #include <media/v4l2-mem2mem.h>
26 #include <media/v4l2-mediabus.h>
27 #include <media/drv-intf/exynos-fimc.h>
35 #define FIMC_DRIVER_NAME "exynos4-fimc"
[all …]
/linux/Documentation/devicetree/bindings/display/mediatek/
H A Dmediatek,ethdr.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chun-Kuang Hu <chunkuang.hu@kernel.org>
11 - Philipp Zabel <p.zabel@pengutronix.de>
15 designed for HDR video and graphics conversion in the external display path.
16 It handles multiple HDR input types and performs tone mapping, color
17 space/color format conversion, and then combine different layers,
21 These two function blocks read the pre-programmed registers from DRAM and
22 set them to HW in the v-blanking period.
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_timing_generator.h2 * Copyright 2012-15 Advanced Micro Devices, Inc.
45 /* Trigger Source Select - ASIC-defendant, actual values for the
74 /* Trigger Source Select - ASIC-dependant, actual values for the
188 /* disabling trigger-reset */
206 /* Combine with below and move YUV/RGB color conversion to SW layer */
210 /* Combine with above and move YUV/RGB color conversion to SW layer */
213 const struct tg_color *color);
217 /*************** End-of-move ********************/
223 * because this is not DP-specific (which is probably somewhere in DP
/linux/drivers/staging/sm750fb/
H A Dsm750_accel.c1 // SPDX-License-Identifier: GPL-2.0
22 writel(regValue, accel->dprBase + offset); in write_dpr()
27 return readl(accel->dprBase + offset); in read_dpr()
32 writel(data, accel->dpPortBase); in write_dpPort()
90 u32 color, u32 rop) in sm750_hw_fillrect() argument
94 if (accel->de_wait() != 0) { in sm750_hw_fillrect()
100 return -1; in sm750_hw_fillrect()
114 write_dpr(accel, DE_FOREGROUND, color); /* DPR14 */ in sm750_hw_fillrect()
141 * @Bpp: Color depth of destination surface
159 /* Direction of ROP2 operation: 1 = Left to Right, (-1) = Right to Left */ in sm750_hw_copyarea()
[all …]
/linux/drivers/media/platform/mediatek/mdp3/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
16 The driver supports scaling and color space conversion.
19 module will be called mtk-mdp3.
/linux/drivers/media/platform/mediatek/mdp/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
14 The driver supports for scaling and color space conversion.
17 module will be called mtk-mdp.

1234567