Home
last modified time | relevance | path

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

12345678910>>...45

/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
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 …]
/kernel/linux/linux-4.19/drivers/gpu/drm/sun4i/
Dsun4i_rgb.c48 struct sun4i_rgb *rgb = in sun4i_rgb_get_modes() local
50 struct sun4i_tcon *tcon = rgb->tcon; in sun4i_rgb_get_modes()
58 struct sun4i_rgb *rgb = drm_encoder_to_sun4i_rgb(crtc); in sun4i_rgb_mode_valid() local
59 struct sun4i_tcon *tcon = rgb->tcon; in sun4i_rgb_mode_valid()
116 struct sun4i_rgb *rgb = drm_connector_to_sun4i_rgb(connector); in sun4i_rgb_connector_destroy() local
117 struct sun4i_tcon *tcon = rgb->tcon; in sun4i_rgb_connector_destroy()
133 struct sun4i_rgb *rgb = drm_encoder_to_sun4i_rgb(encoder); in sun4i_rgb_encoder_enable() local
134 struct sun4i_tcon *tcon = rgb->tcon; in sun4i_rgb_encoder_enable()
136 DRM_DEBUG_DRIVER("Enabling RGB output\n"); in sun4i_rgb_encoder_enable()
146 struct sun4i_rgb *rgb = drm_encoder_to_sun4i_rgb(encoder); in sun4i_rgb_encoder_disable() local
[all …]
Dsun8i_mixer.c38 .rgb = true,
44 .rgb = true,
50 .rgb = true,
56 .rgb = true,
62 .rgb = true,
68 .rgb = true,
74 .rgb = true,
80 .rgb = true,
86 .rgb = true,
92 .rgb = true,
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Drgb.c91 struct tegra_rgb *rgb = to_rgb(output); in tegra_rgb_encoder_disable() local
93 tegra_dc_write_regs(rgb->dc, rgb_disable, ARRAY_SIZE(rgb_disable)); in tegra_rgb_encoder_disable()
94 tegra_dc_commit(rgb->dc); in tegra_rgb_encoder_disable()
100 struct tegra_rgb *rgb = to_rgb(output); in tegra_rgb_encoder_enable() local
103 tegra_dc_write_regs(rgb->dc, rgb_enable, ARRAY_SIZE(rgb_enable)); in tegra_rgb_encoder_enable()
106 tegra_dc_writel(rgb->dc, value, DC_DISP_DATA_ENABLE_OPTIONS); in tegra_rgb_encoder_enable()
109 value = tegra_dc_readl(rgb->dc, DC_COM_PIN_OUTPUT_POLARITY(1)); in tegra_rgb_encoder_enable()
112 tegra_dc_writel(rgb->dc, value, DC_COM_PIN_OUTPUT_POLARITY(1)); in tegra_rgb_encoder_enable()
117 tegra_dc_writel(rgb->dc, value, DC_DISP_DISP_INTERFACE_CONTROL); in tegra_rgb_encoder_enable()
121 tegra_dc_writel(rgb->dc, value, DC_DISP_SHIFT_CLOCK_OPTIONS); in tegra_rgb_encoder_enable()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/tegra/
Drgb.c123 struct tegra_rgb *rgb = to_rgb(output); in tegra_rgb_encoder_disable() local
128 tegra_dc_write_regs(rgb->dc, rgb_disable, ARRAY_SIZE(rgb_disable)); in tegra_rgb_encoder_disable()
129 tegra_dc_commit(rgb->dc); in tegra_rgb_encoder_disable()
138 struct tegra_rgb *rgb = to_rgb(output); in tegra_rgb_encoder_enable() local
144 tegra_dc_write_regs(rgb->dc, rgb_enable, ARRAY_SIZE(rgb_enable)); in tegra_rgb_encoder_enable()
147 tegra_dc_writel(rgb->dc, value, DC_DISP_DATA_ENABLE_OPTIONS); in tegra_rgb_encoder_enable()
150 value = tegra_dc_readl(rgb->dc, DC_COM_PIN_OUTPUT_POLARITY(1)); in tegra_rgb_encoder_enable()
153 tegra_dc_writel(rgb->dc, value, DC_COM_PIN_OUTPUT_POLARITY(1)); in tegra_rgb_encoder_enable()
158 tegra_dc_writel(rgb->dc, value, DC_DISP_DISP_INTERFACE_CONTROL); in tegra_rgb_encoder_enable()
162 tegra_dc_writel(rgb->dc, value, DC_DISP_SHIFT_CLOCK_OPTIONS); in tegra_rgb_encoder_enable()
[all …]
/kernel/linux/linux-5.10/drivers/hid/
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 …]
/kernel/linux/linux-4.19/drivers/hid/
Dhid-led.c2 * Simple USB RGB LED driver
87 struct hidled_rgb *rgb; member
102 struct hidled_rgb *rgb; member
114 "switch green and blue RGB component for Riso Kagaku devices");
178 static u8 riso_kagaku_index(struct hidled_rgb *rgb) in riso_kagaku_index() argument
182 r = rgb->red.cdev.brightness; in riso_kagaku_index()
183 g = rgb->green.cdev.brightness; in riso_kagaku_index()
184 b = rgb->blue.cdev.brightness; in riso_kagaku_index()
195 struct hidled_rgb *rgb = led->rgb; in riso_kagaku_write() local
198 buf[1] = riso_kagaku_index(rgb); in riso_kagaku_write()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c136 struct pwl_result_data *rgb = rgb_resulted; in cm_helper_convert_to_custom_float() local
192 if (!convert_to_custom_float_format(rgb->red, &fmt, in cm_helper_convert_to_custom_float()
193 &rgb->red_reg)) { in cm_helper_convert_to_custom_float()
198 if (!convert_to_custom_float_format(rgb->green, &fmt, in cm_helper_convert_to_custom_float()
199 &rgb->green_reg)) { in cm_helper_convert_to_custom_float()
204 if (!convert_to_custom_float_format(rgb->blue, &fmt, in cm_helper_convert_to_custom_float()
205 &rgb->blue_reg)) { in cm_helper_convert_to_custom_float()
210 if (!convert_to_custom_float_format(rgb->delta_red, &fmt, in cm_helper_convert_to_custom_float()
211 &rgb->delta_red_reg)) { in cm_helper_convert_to_custom_float()
216 if (!convert_to_custom_float_format(rgb->delta_green, &fmt, in cm_helper_convert_to_custom_float()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_cm_common.c114 struct pwl_result_data *rgb; in cm3_helper_translate_curve_to_hw_format() local
266 rgb = rgb_resulted; in cm3_helper_translate_curve_to_hw_format()
268 rgb_minus_1 = rgb; in cm3_helper_translate_curve_to_hw_format()
273 if (dc_fixpt_lt(rgb_plus_1->red, rgb->red)) in cm3_helper_translate_curve_to_hw_format()
274 rgb_plus_1->red = dc_fixpt_add(rgb->red, rgb_minus_1->delta_red); in cm3_helper_translate_curve_to_hw_format()
275 if (dc_fixpt_lt(rgb_plus_1->green, rgb->green)) in cm3_helper_translate_curve_to_hw_format()
276 rgb_plus_1->green = dc_fixpt_add(rgb->green, rgb_minus_1->delta_green); in cm3_helper_translate_curve_to_hw_format()
277 if (dc_fixpt_lt(rgb_plus_1->blue, rgb->blue)) in cm3_helper_translate_curve_to_hw_format()
278 rgb_plus_1->blue = dc_fixpt_add(rgb->blue, rgb_minus_1->delta_blue); in cm3_helper_translate_curve_to_hw_format()
281 rgb->delta_red = dc_fixpt_sub(rgb_plus_1->red, rgb->red); in cm3_helper_translate_curve_to_hw_format()
[all …]
Ddcn30_hubbub.c343 output->grph.rgb.max_uncompressed_blk_size = 256; in hubbub3_get_dcc_compression_cap()
344 output->grph.rgb.max_compressed_blk_size = 256; in hubbub3_get_dcc_compression_cap()
345 output->grph.rgb.independent_64b_blks = false; in hubbub3_get_dcc_compression_cap()
346 output->grph.rgb.dcc_controls.dcc_256_256_unconstrained = 1; in hubbub3_get_dcc_compression_cap()
347 output->grph.rgb.dcc_controls.dcc_256_128_128 = 1; in hubbub3_get_dcc_compression_cap()
350 output->grph.rgb.max_uncompressed_blk_size = 128; in hubbub3_get_dcc_compression_cap()
351 output->grph.rgb.max_compressed_blk_size = 128; in hubbub3_get_dcc_compression_cap()
352 output->grph.rgb.independent_64b_blks = false; in hubbub3_get_dcc_compression_cap()
353 output->grph.rgb.dcc_controls.dcc_128_128_uncontrained = 1; in hubbub3_get_dcc_compression_cap()
354 output->grph.rgb.dcc_controls.dcc_256_128_128 = 1; in hubbub3_get_dcc_compression_cap()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c136 struct pwl_result_data *rgb = rgb_resulted; in cm_helper_convert_to_custom_float() local
262 if (!convert_to_custom_float_format(rgb->red, &fmt, in cm_helper_convert_to_custom_float()
263 &rgb->red_reg)) { in cm_helper_convert_to_custom_float()
268 if (!convert_to_custom_float_format(rgb->green, &fmt, in cm_helper_convert_to_custom_float()
269 &rgb->green_reg)) { in cm_helper_convert_to_custom_float()
274 if (!convert_to_custom_float_format(rgb->blue, &fmt, in cm_helper_convert_to_custom_float()
275 &rgb->blue_reg)) { in cm_helper_convert_to_custom_float()
280 if (!convert_to_custom_float_format(rgb->delta_red, &fmt, in cm_helper_convert_to_custom_float()
281 &rgb->delta_red_reg)) { in cm_helper_convert_to_custom_float()
286 if (!convert_to_custom_float_format(rgb->delta_green, &fmt, in cm_helper_convert_to_custom_float()
[all …]
/kernel/linux/linux-5.10/scripts/
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 …]
/kernel/linux/linux-4.19/scripts/
Dbootgraph.pl164 $styles[0] = "fill:rgb(0,0,255);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
165 $styles[1] = "fill:rgb(0,255,0);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
166 $styles[2] = "fill:rgb(255,0,20);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
167 $styles[3] = "fill:rgb(255,255,20);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
168 $styles[4] = "fill:rgb(255,0,255);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
169 $styles[5] = "fill:rgb(0,255,255);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
170 $styles[6] = "fill:rgb(0,128,255);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
171 $styles[7] = "fill:rgb(0,255,128);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
172 $styles[8] = "fill:rgb(255,0,128);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
173 $styles[9] = "fill:rgb(255,255,128);fill-opacity:0.5;stroke-width:1;stroke:rgb(0,0,0)";
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_rgb.c75 struct rockchip_rgb *rgb; in rockchip_rgb_init() local
83 rgb = devm_kzalloc(dev, sizeof(*rgb), GFP_KERNEL); in rockchip_rgb_init()
84 if (!rgb) in rockchip_rgb_init()
87 rgb->dev = dev; in rockchip_rgb_init()
88 rgb->drm_dev = drm_dev; in rockchip_rgb_init()
113 /* if the rgb output is not connected to anything, just return */ in rockchip_rgb_init()
123 encoder = &rgb->encoder; in rockchip_rgb_init()
142 rgb->bridge = bridge; in rockchip_rgb_init()
144 ret = drm_bridge_attach(encoder, rgb->bridge, NULL, 0); in rockchip_rgb_init()
151 return rgb; in rockchip_rgb_init()
[all …]
/kernel/linux/linux-5.10/drivers/leds/
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
/kernel/linux/linux-4.19/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c544 struct pwl_float_data *rgb, in calculate_mapped_value() argument
576 rgb[point->right_index].r, in calculate_mapped_value()
577 rgb[point->left_index].r)), in calculate_mapped_value()
578 rgb[point->left_index].r); in calculate_mapped_value()
584 rgb[point->right_index].g, in calculate_mapped_value()
585 rgb[point->left_index].g)), in calculate_mapped_value()
586 rgb[point->left_index].g); in calculate_mapped_value()
592 rgb[point->right_index].b, in calculate_mapped_value()
593 rgb[point->left_index].b)), in calculate_mapped_value()
594 rgb[point->left_index].b); in calculate_mapped_value()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
DKconfig39 24 bit RGB per pixel. It provides a MIPI DSI interface to
106 QVGA (320x240) RGB, YUV and ITU-T BT.656 panels.
125 24 bit RGB per pixel. It provides a MIPI DSI interface to
136 The panel has a 1200(RGB)×1920 (WUXGA) resolution and uses
147 24 bit RGB per pixel. It provides a MIPI DSI interface to
158 24 bit RGB per pixel. It provides a MIPI DSI interface to
169 24 bit RGB per pixel. It provides a MIPI DSI interface to
173 tristate "Samsung LD9040 RGB/SPI panel"
178 tristate "LG LB035Q024573 RGB panel"
181 Say Y here if you want to enable support for the LB035Q02 RGB panel
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c665 struct pwl_float_data *rgb, in calculate_mapped_value() argument
697 rgb[point->right_index].r, in calculate_mapped_value()
698 rgb[point->left_index].r)), in calculate_mapped_value()
699 rgb[point->left_index].r); in calculate_mapped_value()
705 rgb[point->right_index].g, in calculate_mapped_value()
706 rgb[point->left_index].g)), in calculate_mapped_value()
707 rgb[point->left_index].g); in calculate_mapped_value()
713 rgb[point->right_index].b, in calculate_mapped_value()
714 rgb[point->left_index].b)), in calculate_mapped_value()
715 rgb[point->left_index].b); in calculate_mapped_value()
[all …]
/kernel/linux/linux-4.19/tools/perf/util/
Dsvghelper.c117 …printf(svgfile, " rect.process { fill:rgb(180,180,180); fill-opacity:0.9; stroke-width:1; … in open_svg()
118 …printf(svgfile, " rect.process2 { fill:rgb(180,180,180); fill-opacity:0.9; stroke-width:0; … in open_svg()
119 …printf(svgfile, " rect.process3 { fill:rgb(180,180,180); fill-opacity:0.5; stroke-width:0; … in open_svg()
120 …printf(svgfile, " rect.sample { fill:rgb( 0, 0,255); fill-opacity:0.8; stroke-width:0; … in open_svg()
121 …printf(svgfile, " rect.sample_hi{ fill:rgb(255,128, 0); fill-opacity:0.8; stroke-width:0; … in open_svg()
122 …printf(svgfile, " rect.error { fill:rgb(255, 0, 0); fill-opacity:0.5; stroke-width:0; … in open_svg()
123 …printf(svgfile, " rect.net { fill:rgb( 0,128, 0); fill-opacity:0.5; stroke-width:0; … in open_svg()
124 …printf(svgfile, " rect.disk { fill:rgb( 0, 0,255); fill-opacity:0.5; stroke-width:0; … in open_svg()
125 …printf(svgfile, " rect.sync { fill:rgb(128,128, 0); fill-opacity:0.5; stroke-width:0; … in open_svg()
126 …printf(svgfile, " rect.poll { fill:rgb( 0,128,128); fill-opacity:0.2; stroke-width:0; … in open_svg()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dsvghelper.c115 …printf(svgfile, " rect.process { fill:rgb(180,180,180); fill-opacity:0.9; stroke-width:1; … in open_svg()
116 …printf(svgfile, " rect.process2 { fill:rgb(180,180,180); fill-opacity:0.9; stroke-width:0; … in open_svg()
117 …printf(svgfile, " rect.process3 { fill:rgb(180,180,180); fill-opacity:0.5; stroke-width:0; … in open_svg()
118 …printf(svgfile, " rect.sample { fill:rgb( 0, 0,255); fill-opacity:0.8; stroke-width:0; … in open_svg()
119 …printf(svgfile, " rect.sample_hi{ fill:rgb(255,128, 0); fill-opacity:0.8; stroke-width:0; … in open_svg()
120 …printf(svgfile, " rect.error { fill:rgb(255, 0, 0); fill-opacity:0.5; stroke-width:0; … in open_svg()
121 …printf(svgfile, " rect.net { fill:rgb( 0,128, 0); fill-opacity:0.5; stroke-width:0; … in open_svg()
122 …printf(svgfile, " rect.disk { fill:rgb( 0, 0,255); fill-opacity:0.5; stroke-width:0; … in open_svg()
123 …printf(svgfile, " rect.sync { fill:rgb(128,128, 0); fill-opacity:0.5; stroke-width:0; … in open_svg()
124 …printf(svgfile, " rect.poll { fill:rgb( 0,128,128); fill-opacity:0.2; stroke-width:0; … in open_svg()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/
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 …]
/kernel/linux/linux-4.19/drivers/staging/media/davinci_vpfe/
Ddm365_ipipe_hw.c74 struct resizer_rgb *rgb; in rsz_set_rsz_regs() local
79 rgb = &params->rsz2rgb[rsz_id]; in rsz_set_rsz_regs()
148 /* setting rgb conversion parameters */ in rsz_set_rsz_regs()
149 regw_rsz(rsz_base, rgb->rgb_en, reg_base + RSZ_RGB_EN); in rsz_set_rsz_regs()
151 val = (rgb->rgb_typ << RSZ_RGB_TYP_SHIFT) | in rsz_set_rsz_regs()
152 (rgb->rgb_msk0 << RSZ_RGB_MSK0_SHIFT) | in rsz_set_rsz_regs()
153 (rgb->rgb_msk1 << RSZ_RGB_MSK1_SHIFT); in rsz_set_rsz_regs()
156 regw_rsz(rsz_base, rgb->rgb_alpha_val & RSZ_RGB_ALPHA_MASK, in rsz_set_rsz_regs()
672 struct vpfe_ipipe_rgb2rgb *rgb) in ipipe_set_rgb2rgb_regs() argument
683 * For second RGB module, gain integer is 3 bits instead in ipipe_set_rgb2rgb_regs()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/panel/
DKconfig47 QVGA (320x240) RGB, YUV and ITU-T BT.656 panels.
66 24 bit RGB per pixel. It provides a MIPI DSI interface to
77 The panel has a 1200(RGB)×1920 (WUXGA) resolution and uses
81 tristate "Samsung LD9040 RGB/SPI panel"
86 tristate "LG4573 RGB/SPI panel"
90 Say Y here if you want to enable support for LG4573 RGB panel.
166 24 bit RGB per pixel. It provides a dual MIPI DSI interface to
/kernel/linux/linux-4.19/drivers/media/platform/vimc/
Dvimc-debayer.c59 unsigned int col, unsigned int rgb[3]);
312 unsigned int rgb[3]) in vimc_deb_set_rgb_mbus_fmt_rgb888_1x24()
318 vdeb->src_frame[index + i] = rgb[i]; in vimc_deb_set_rgb_mbus_fmt_rgb888_1x24()
389 unsigned int rgb[3]) in vimc_deb_calc_rgb_sink()
395 rgb[i] = 0; in vimc_deb_calc_rgb_sink()
440 "deb: %s: RGB CALC: frame index %d, win pos %dx%d, color %d\n", in vimc_deb_calc_rgb_sink()
444 rgb[color] = rgb[color] + in vimc_deb_calc_rgb_sink()
450 dev_dbg(vdeb->dev, "deb: %s: RGB CALC: val %d, n %d\n", in vimc_deb_calc_rgb_sink()
451 vdeb->sd.name, rgb[color], n_rgb[color]); in vimc_deb_calc_rgb_sink()
459 vdeb->sd.name, lin, col, i, rgb[i], n_rgb[i]); in vimc_deb_calc_rgb_sink()
[all …]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/
Dvimc-debayer.c36 unsigned int col, unsigned int rgb[3]);
319 unsigned int rgb[3]) in vimc_deb_process_rgb_frame()
329 vdeb->src_frame[index + i] = rgb[i]; in vimc_deb_process_rgb_frame()
332 vdeb->src_frame[index + i] = rgb[2 - i]; in vimc_deb_process_rgb_frame()
413 unsigned int rgb[3]) in vimc_deb_calc_rgb_sink()
419 rgb[i] = 0; in vimc_deb_calc_rgb_sink()
464 "deb: %s: RGB CALC: frame index %d, win pos %dx%d, color %d\n", in vimc_deb_calc_rgb_sink()
468 rgb[color] = rgb[color] + in vimc_deb_calc_rgb_sink()
474 dev_dbg(vdeb->ved.dev, "deb: %s: RGB CALC: val %d, n %d\n", in vimc_deb_calc_rgb_sink()
475 vdeb->sd.name, rgb[color], n_rgb[color]); in vimc_deb_calc_rgb_sink()
[all …]

12345678910>>...45