Home
last modified time | relevance | path

Searched full:rgb (Results 1 – 25 of 411) sorted by relevance

12345678910>>...17

/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_rgb.c48 struct sun4i_rgb *rgb = in sun4i_rgb_get_modes() local
51 return drm_panel_get_modes(rgb->panel, connector); in sun4i_rgb_get_modes()
65 struct sun4i_rgb *rgb = drm_encoder_to_sun4i_rgb(crtc); in sun4i_rgb_mode_valid() local
66 struct sun4i_tcon *tcon = rgb->tcon; in sun4i_rgb_mode_valid()
109 if (rgb->panel) { in sun4i_rgb_mode_valid()
110 DRM_DEBUG_DRIVER("RGB panel used, skipping clock rate checks"); in sun4i_rgb_mode_valid()
118 if (!rgb->bridge) in sun4i_rgb_mode_valid()
161 struct sun4i_rgb *rgb = drm_encoder_to_sun4i_rgb(encoder); in sun4i_rgb_encoder_enable() local
163 DRM_DEBUG_DRIVER("Enabling RGB output\n"); in sun4i_rgb_encoder_enable()
165 if (rgb->panel) { in sun4i_rgb_encoder_enable()
[all …]
/linux/drivers/hid/
H A Dhid-led.c3 * Simple USB RGB LED driver
84 struct hidled_rgb *rgb; member
99 struct hidled_rgb *rgb; member
111 "switch green and blue RGB component for Riso Kagaku devices");
175 static u8 riso_kagaku_index(struct hidled_rgb *rgb) in riso_kagaku_index() argument
179 r = rgb->red.cdev.brightness; in riso_kagaku_index()
180 g = rgb->green.cdev.brightness; in riso_kagaku_index()
181 b = rgb->blue.cdev.brightness; in riso_kagaku_index()
192 struct hidled_rgb *rgb = led->rgb; in riso_kagaku_write() local
195 buf[1] = riso_kagaku_index(rgb); in riso_kagaku_write()
[all …]
/linux/scripts/
H A Dbootgraph.pl150 $styles[0] = "fill:rgb(0,0,255);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
151 $styles[1] = "fill:rgb(0,255,0);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
152 $styles[2] = "fill:rgb(255,0,20);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
153 $styles[3] = "fill:rgb(255,255,20);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
154 $styles[4] = "fill:rgb(255,0,255);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
155 $styles[5] = "fill:rgb(0,255,255);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
156 $styles[6] = "fill:rgb(0,128,255);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
157 $styles[7] = "fill:rgb(0,255,128);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
158 $styles[8] = "fill:rgb(255,0,128);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
159 $styles[9] = "fill:rgb(255,255,128);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dmt2110t.svg89 <path fill="none" stroke="rgb(0,0,0)" d="M 2037,950 L 11463,950"/>
90 <path fill="rgb(0,0,0)" stroke="none" d="M 1750,950 L 2050,1050 2050,850 1750,950 Z"/>
91 <path fill="rgb(0,0,0)" stroke="none" d="M 11750,950 L 11450,850 11450,1050 11750,950 Z"/>
92 <path fill="none" stroke="rgb(0,0,0)" d="M 1750,15800 L 1750,750"/>
93 <path fill="none" stroke="rgb(0,0,0)" d="M 11750,1650 L 11750,750"/>
94 …ont-weight="400"><tspan class="TextPosition" x="5953" y="768"><tspan fill="rgb(0,0,0)" stroke="non…
100 <path fill="none" stroke="rgb(0,0,0)" d="M 13446,1937 L 13446,21273"/>
101 … <path fill="rgb(0,0,0)" stroke="none" d="M 13446,1650 L 13346,1950 13546,1950 13446,1650 Z"/>
102 … <path fill="rgb(0,0,0)" stroke="none" d="M 13446,21560 L 13546,21260 13346,21260 13446,21560 Z"/>
103 <path fill="none" stroke="rgb(0,0,0)" d="M 11796,1650 L 13646,1650"/>
[all …]
H A Dcolorspaces.rst14 actually *means* to have an RGB value of e.g. (255, 0, 0). That is,
24 different wavelengths, so instead of RGB we would be using the
92 Both the CIE XYZ and the RGB colorspace that are derived from the
100 values are denoted RGB, non-linear are denoted as R'G'B'. In general
102 linear RGB. Special care should be taken when dealing with openGL to
103 provide linear RGB colors or to use the built-in openGL support to apply
122 The final step is how the RGB, R'G'B' or Y'CbCr values are quantized.
131 definition. In practice RGB or R'G'B' values are full range, i.e. they
135 Unfortunately, in some cases limited range RGB is also used where the
H A Dpixfmt-rgb.rst4 .. _pixfmt-rgb:
7 RGB Formats
10 These formats encode each pixel as a triplet of RGB values. They are packed
11 formats, meaning that the RGB values for one pixel are stored consecutively in
16 The formats differ by the number of bits per RGB component (typically but not
54 These formats store an RGB triplet in one, two or four bytes. They are named
55 based on the order of the RGB components as seen in a 8-, 16- or 32-bit word,
76 .. flat-table:: RGB Formats With Less Than 8 Bits Per Component
646 These formats store an RGB triplet in three or four bytes. They are named based
647 on the order of the RGB components as stored in memory, and on the total number
[all …]
H A Dmetafmt-vsp1-hgo.rst19 The VSP1 HGO is a histogram computation engine that can operate on RGB, YCrCb
25 three channels (RGB data only) or on the Y channel only (YCbCr only). It can
30 to compute three 64-bins histograms. RGB, YCbCr and HSV image formats are
33 channels to compute a single 64-bins histogram. Only the RGB image format is
38 channels to compute a single 256-bins histogram. Only the RGB image format is
/linux/drivers/leds/
H A DTODO29 really different from driver for RGB color LED that can run its own
32 * Figure out what to do with RGB leds
36 RGB, and not even RGB-White or RGB-Yellow variants emerged.
38 Multicolor is not a good fit for RGB LED. It does not really know
44 Proposal: let's add "rgb" to led_colors in drivers/leds/led-core.c,
46 multicolor for RGB LEDs.
50 RGB LEDs are quite common, and it would be good to be able to turn LED
70 In future, it would be good to be able to set rgb led to particular
/linux/drivers/gpu/ipu-v3/
H A Dipu-ic-csc.c29 * RGB full-range to RGB limited-range
46 * RGB limited-range to RGB full-range
112 * BT.601 RGB full-range to YUV full-range
128 /* BT.601 RGB full-range to YUV limited-range */
140 /* BT.601 RGB limited-range to YUV full-range */
151 /* BT.601 RGB limited-range to YUV limited-range */
164 * BT.601 YUV full-range to RGB full-range
186 /* BT.601 YUV full-range to RGB limited-range */
197 /* BT.601 YUV limited-range to RGB full-range */
208 /* BT.601 YUV limited-range to RGB limited-range */
[all …]
/linux/arch/arm/boot/dts/nxp/ls/
H A DMakefile12 ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-dc44-dtbs += ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls…
13 ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-fc21-dtbs += ls1021a-tqmls1021a-mbls1021a.dtb ls1021a-tqmls…
16 dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-dc44.dtb
17 dtb-$(CONFIG_SOC_LS1021A) += ls1021a-tqmls1021a-mbls1021a-rgb-cdtech-fc21.dtb
/linux/Documentation/devicetree/bindings/display/
H A Dxylon,logicvc-display.yaml69 # Parallel RGB interface (C_DISPLAY_INTERFACE == 0)
70 - parallel-rgb
83 # RGB colorspace (C_DISPLAY_COLOR_SPACE == 0)
84 - rgb
139 # RGB colorspace (C_LAYER_X_TYPE == 0)
140 - rgb
234 xylon,display-colorspace = "rgb";
247 xylon,layer-colorspace = "rgb";
257 xylon,layer-colorspace = "rgb";
266 xylon,layer-colorspace = "rgb";
[all …]
/linux/drivers/media/test-drivers/vimc/
H A Dvimc-debayer.c42 unsigned int rgb[3]);
297 unsigned int rgb[3]) in vimc_debayer_process_rgb_frame()
307 vdebayer->src_frame[index + i] = rgb[i]; in vimc_debayer_process_rgb_frame()
310 vdebayer->src_frame[index + i] = rgb[2 - i]; in vimc_debayer_process_rgb_frame()
407 unsigned int rgb[3]) in vimc_debayer_calc_rgb_sink()
413 rgb[i] = 0; in vimc_debayer_calc_rgb_sink()
458 "deb: %s: RGB CALC: frame index %d, win pos %dx%d, color %d\n", in vimc_debayer_calc_rgb_sink()
462 rgb[color] = rgb[color] + in vimc_debayer_calc_rgb_sink()
469 dev_dbg(vdebayer->ved.dev, "deb: %s: RGB CALC: val %d, n %d\n", in vimc_debayer_calc_rgb_sink()
470 vdebayer->sd.name, rgb[color], n_rgb[color]); in vimc_debayer_calc_rgb_sink()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dwb/dcn30/
H A Ddcn30_dwb_cm.c187 const struct pwl_result_data *rgb, in dwb3_program_ogam_pwl() argument
192 uint32_t last_base_value_red = rgb[num-1].red_reg + rgb[num-1].delta_red_reg; in dwb3_program_ogam_pwl()
193 uint32_t last_base_value_green = rgb[num-1].green_reg + rgb[num-1].delta_green_reg; in dwb3_program_ogam_pwl()
194 uint32_t last_base_value_blue = rgb[num-1].blue_reg + rgb[num-1].delta_blue_reg; in dwb3_program_ogam_pwl()
196 if (is_rgb_equal(rgb, num)) { in dwb3_program_ogam_pwl()
198 REG_SET(DWB_OGAM_LUT_DATA, 0, DWB_OGAM_LUT_DATA, rgb[i].red_reg); in dwb3_program_ogam_pwl()
208 REG_SET(DWB_OGAM_LUT_DATA, 0, DWB_OGAM_LUT_DATA, rgb[i].red_reg); in dwb3_program_ogam_pwl()
218 REG_SET(DWB_OGAM_LUT_DATA, 0, DWB_OGAM_LUT_DATA, rgb[i].green_reg); in dwb3_program_ogam_pwl()
228 REG_SET(DWB_OGAM_LUT_DATA, 0, DWB_OGAM_LUT_DATA, rgb[i].blue_reg); in dwb3_program_ogam_pwl()
/linux/Documentation/leds/
H A Dleds-mt6370-rgb.rst4 The device for Mediatek MT6370 RGB LED
10 The MT6370 integrates a four-channel RGB LED driver, designed to provide a
11 variety of lighting effect for mobile device applications. The RGB LED devices
14 current up to 6mA. It provides three operation modes for RGB LEDs:
16 can increase or decrease the brightness of the RGB LED via an I2C interface.
24 Specify a hardware breath pattern for a MT6370 RGB LED.
H A Dleds-lp5562.rst26 Value: RGB or W
46 Engine mux has two different mode, RGB and W.
47 RGB is used for loading RGB program data, W is used for W program data.
52 echo "RGB" > /sys/bus/i2c/devices/xxxx/engine_mux # engine mux for RGB
H A Dleds-blinkm.rst7 They are RGB-LED modules driven by a (AT)tiny microcontroller and
12 The device accepts RGB and HSB color values through separate commands.
23 blinkm-<i2c-bus-nr>-<i2c-device-nr>:rgb:indicator
25 $ ls -h /sys/class/leds/blinkm-1-9:rgb:indicator
75 b) Sysfs group to control rgb, fade, hsb, scripts ...
/linux/Documentation/admin-guide/media/
H A Dipu3_rcb.svg185 <rect x="0" y="0" width="774" height="152" style="fill:rgb(100%,100%,100%);fill-opacity:1;stroke:no…
186 …"fill-rule:evenodd;fill:rgb(100%,100%,100%);fill-opacity:1;stroke-width:0.1;stroke-linecap:butt;st…
187 …"fill-rule:evenodd;fill:rgb(100%,100%,100%);fill-opacity:1;stroke-width:0.1;stroke-linecap:butt;st…
188 <g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
196 <g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
200 …"fill-rule:evenodd;fill:rgb(100%,100%,100%);fill-opacity:1;stroke-width:0.1;stroke-linecap:butt;st…
201 …"fill-rule:evenodd;fill:rgb(100%,100%,100%);fill-opacity:1;stroke-width:0.1;stroke-linecap:butt;st…
202 …"fill-rule:evenodd;fill:rgb(100%,100%,100%);fill-opacity:1;stroke-width:0.1;stroke-linecap:butt;st…
203 …"fill-rule:evenodd;fill:rgb(100%,100%,100%);fill-opacity:1;stroke-width:0.1;stroke-linecap:butt;st…
204 …"fill-rule:evenodd;fill:rgb(100%,100%,100%);fill-opacity:1;stroke-width:0.1;stroke-linecap:butt;st…
[all …]
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_format_caps.c58 * 1. RGB always has YTR
59 * 2. Tiled RGB always has SC
62 /* AFBC_16x16 + features: YUV+RGB both */
69 /* SPLIT + SPARSE + YTR RGB only */
80 /* AFBC_32x8 + features: which are RGB formats only */
/linux/Documentation/fb/
H A Darkfb.rst21 * 16 bpp truecolor modes (RGB 555 and RGB 565)
22 * 24 bpp truecolor mode (RGB 888)
23 * 32 bpp truecolor mode (RGB 888)
H A Ds3fb.rst28 * 16 bpp truecolor modes (RGB 555 and RGB 565)
29 * 24 bpp truecolor mode (RGB 888) on (only on Virge VX)
30 * 32 bpp truecolor mode (RGB 888) on (not on Virge VX)
/linux/Documentation/gpu/amdgpu/display/
H A Ddisplay-manager.rst102 - *fg.rgb*: Each of the RGB component values from the foreground's pixel.
104 - *bg.rgb*: Each of the RGB component values from the background.
110 out.rgb = alpha * fg.rgb + (1 - alpha) * bg.rgb
/linux/Documentation/gpu/
H A Dafbc.rst28 (AFBC_FORMAT_MOD_YTR, which should be enabled for RGB buffers for
126 - 10-bit per component RGB, with 2-bit alpha
134 - 8-bit per component RGB, with 8-bit alpha
142 - 8-bit per component RGB
149 - 5/6-bit per component RGB
156 - 5-bit per component RGB, with 1-bit alpha
/linux/arch/arm/boot/dts/microchip/
H A Dsama5d3_lcd.dtsi58 pinctrl_lcd_rgb444: lcd-rgb-0 {
74 pinctrl_lcd_rgb565: lcd-rgb-1 {
94 pinctrl_lcd_rgb666: lcd-rgb-2 {
116 pinctrl_lcd_rgb666_alt: lcd-rgb-2-alt {
138 pinctrl_lcd_rgb888: lcd-rgb-3 {
166 pinctrl_lcd_rgb888_alt: lcd-rgb-3-alt {
/linux/Documentation/devicetree/bindings/pwm/
H A Dpwm-lp3943.txt17 PWM 0 is for RGB LED brightness control
42 rgb {
43 label = "indi::rgb";
/linux/Documentation/devicetree/bindings/display/tegra/
H A Dnvidia,tegra20-dc.yaml79 rgb:
109 rgb:
110 description: Each display controller node has a child node, named "rgb", that represents
111 the RGB output associated with the controller.

12345678910>>...17