HomeSort by: relevance | last modified time | path
    Searched refs:rgb (Results 1 - 25 of 80) sorted by relevancy

1 2 3 4

  /src/tests/usr.bin/xlint/lint1/
msg_057.c 9 /* expect+3: warning: parameter 'red' unused in function 'rgb' [231] */
10 /* expect+2: warning: parameter 'green' unused in function 'rgb' [231] */
11 /* expect+1: warning: parameter 'blue' unused in function 'rgb' [231] */
12 rgb(int red, int green, int blue) function
  /src/sys/arch/hpcmips/tx/
tx3912videovar.h 37 #define TX3912VIDEO_RGB24TOINDEX(rgb) \
38 ((((((rgb) >> 16) & 0xff) >> 5) << 5) | \
39 (((((rgb) >> 8) & 0xff) >> 5) << 2) | \
40 ((((rgb) & 0xff) >> 6)))
  /src/external/gpl3/gdb.old/dist/gdb/unittests/
style-selftests.c 27 SELF_CHECK (rgb[0] == (R) && rgb[1] == (G) && rgb[2] == (B))
34 uint8_t rgb[3]; local
77 style.get_foreground ().get_rgb (rgb);
80 style.get_background ().get_rgb (rgb);
90 style.get_foreground ().get_rgb (rgb);
93 style.get_background ().get_rgb (rgb);
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/
amdgpu_dcn10_cm_common.c 141 struct pwl_result_data *rgb = rgb_resulted; local
267 if (!convert_to_custom_float_format(rgb->red, &fmt,
268 &rgb->red_reg)) {
273 if (!convert_to_custom_float_format(rgb->green, &fmt,
274 &rgb->green_reg)) {
279 if (!convert_to_custom_float_format(rgb->blue, &fmt,
280 &rgb->blue_reg)) {
285 if (!convert_to_custom_float_format(rgb->delta_red, &fmt,
286 &rgb->delta_red_reg)) {
291 if (!convert_to_custom_float_format(rgb->delta_green, &fmt
322 struct pwl_result_data *rgb; local
509 struct pwl_result_data *rgb; local
    [all...]
  /src/external/gpl3/gdb/dist/gdb/
ui-style.c 53 /* This maps 8-color palette to RGB triples. The values come from
67 /* This maps 16-color palette to RGB triples. The values come from xterm. */
170 ui_file_style::color::get_rgb (uint8_t *rgb) const
174 rgb[0] = m_red;
175 rgb[1] = m_green;
176 rgb[2] = m_blue;
180 memcpy (rgb, palette_8colors[m_value], 3 * sizeof (uint8_t));
183 memcpy (rgb, palette_16colors[m_value], 3 * sizeof (uint8_t));
187 memcpy (rgb, palette_16colors[m_value], 3 * sizeof (uint8_t));
195 rgb[0] = component == 0 ? 0 : (55 + component * 40)
230 uint8_t rgb[3]; variable
231 get_rgb (rgb); variable
254 uint8_t rgb[3]; variable
255 get_rgb (rgb); variable
    [all...]
  /src/external/gpl3/gdb/dist/gdb/unittests/
style-selftests.c 27 SELF_CHECK (rgb[0] == (R) && rgb[1] == (G) && rgb[2] == (B))
34 uint8_t rgb[3]; local
97 style.get_foreground ().get_rgb (rgb);
100 style.get_background ().get_rgb (rgb);
112 style.get_foreground ().get_rgb (rgb);
115 style.get_background ().get_rgb (rgb);
  /src/external/gpl3/gdb.old/dist/gdb/
ui-style.c 49 /* This maps bright colors to RGB triples. The index is the bright
96 ui_file_style::color::get_rgb (uint8_t *rgb) const
103 memcpy (rgb, bright_colors[m_value - 8], 3 * sizeof (uint8_t));
111 rgb[0] = component == 0 ? 0 : (55 + component * 40);
114 rgb[1] = component == 0 ? 0 : (55 + component * 40);
116 rgb[2] = value == 0 ? 0 : (55 + value * 40);
121 rgb[0] = v;
122 rgb[1] = v;
123 rgb[2] = v;
130 rgb[0] = m_red
    [all...]
  /src/sys/arch/evbarm/netwalker/
netwalker_lcd.c 221 #define rgb(r,g,b) (((r)<<11) | ((g)<<5) | (b)) macro
229 case 0: color = rgb(0x00, 0x00, 0x00); break;
230 case 1: color = rgb(0x00, 0x00, 0x1f); break;
231 case 2: color = rgb(0x00, 0x3f, 0x00); break;
232 case 3: color = rgb(0x00, 0x3f, 0x1f); break;
233 case 4: color = rgb(0x1f, 0x00, 0x00); break;
234 case 5: color = rgb(0x1f, 0x00, 0x1f); break;
235 case 6: color = rgb(0x1f, 0x3f, 0x00); break;
236 case 7: color = rgb(0x1f, 0x3f, 0x1f); break;
246 line[x] = rgb(0x1f, 0x3f, 0x1f)
    [all...]
  /src/sys/arch/evbarm/smdk2xx0/
smdk2410_lcd.c 314 #define rgb(r,g,b) (((r)<<11) | ((g)<<5) | (b)) macro
322 case 0: color = rgb(0x00, 0x00, 0x00); break;
323 case 1: color = rgb(0x00, 0x00, 0x1f); break;
324 case 2: color = rgb(0x00, 0x3f, 0x00); break;
325 case 3: color = rgb(0x00, 0x3f, 0x1f); break;
326 case 4: color = rgb(0x1f, 0x00, 0x00); break;
327 case 5: color = rgb(0x1f, 0x00, 0x1f); break;
328 case 6: color = rgb(0x1f, 0x3f, 0x00); break;
329 case 7: color = rgb(0x1f, 0x3f, 0x1f); break;
340 line[x] = rgb(0x1f, 0x3f, 0x1f)
    [all...]
  /src/sys/dev/hpc/
video_subr.c 151 cmap_work_alloc(u_int8_t **r, u_int8_t **g, u_int8_t **b, u_int32_t **rgb,
166 ALLOC_BUF(rgb, 32);
171 cmap_work_free(*r, *g, *b, *rgb);
177 cmap_work_free(u_int8_t *r, u_int8_t *g, u_int8_t *b, u_int32_t *rgb)
185 if (rgb)
186 free(rgb, M_DEVBUF);
208 u_int32_t rgb = *rgb24++; local
209 *r++ = (rgb >> 16) & 0xff;
210 *g++ = (rgb >> 8) & 0xff;
211 *b++ = rgb & 0xff
    [all...]
hpccmap_gen.c 54 char *rgb = "rgb"; local
62 printf("unsigned char bivideo_cmap_%c[256] = {\n", rgb[i]);
72 int rgb = (int)ctxx; local
76 switch(rgb) {
128 * 32 - 247, RGB color
  /src/sys/arch/hp300/stand/common/
ite_dv.c 104 regbase->rgb[0].red = 0x00;
105 regbase->rgb[0].green = 0x00;
106 regbase->rgb[0].blue = 0x00;
107 regbase->rgb[1].red = 0xFF;
108 regbase->rgb[1].green = 0xFF;
109 regbase->rgb[1].blue = 0xFF;
grf_dvreg.h 51 struct rgb { struct
170 struct rgb rgb[8]; /* overlay color map */ member in struct:dvboxfb
171 u_char f37[0x6403-0x6100-sizeof(struct rgb)*8];
  /src/sys/external/bsd/drm2/dist/drm/amd/display/modules/color/
amdgpu_color_gamma.c 675 struct pwl_float_data *rgb,
707 rgb[point->right_index].r,
708 rgb[point->left_index].r)),
709 rgb[point->left_index].r);
715 rgb[point->right_index].g,
716 rgb[point->left_index].g)),
717 rgb[point->left_index].g);
723 rgb[point->right_index].b,
724 rgb[point->left_index].b)),
725 rgb[point->left_index].b)
744 struct pwl_float_data_ex *rgb = rgb_regamma; local
825 struct pwl_float_data_ex *rgb = rgb_regamma; local
943 struct pwl_float_data_ex *rgb = rgb_regamma; local
1077 struct pwl_float_data_ex *rgb = degamma; local
1100 struct pwl_float_data_ex *rgb = regamma; local
1124 struct pwl_float_data *rgb = pwl_rgb; local
1255 struct pwl_float_data *rgb = pwl_rgb; local
1619 struct pwl_float_data_ex *rgb = rgb_regamma; local
    [all...]
  /src/external/gpl3/gdb/dist/gdb/python/
py-color.c 113 uint8_t rgb[3]; local
114 color.get_rgb (rgb);
119 rgb_objects[i] = gdb_py_object_from_ulongest (rgb[i]);
170 VALUE is a string, integer, RGB-tuple or None.
231 error (_("Tuple value with RGB must be of size 3."));
232 uint8_t rgb[3]; local
237 error (_("Item %d of an RGB tuple must be integer."), i);
242 error (_("RGB item %ld is out of byte range."), item_value);
243 rgb[i] = static_cast<uint8_t> (item_value);
246 obj->color = ui_file_style::color (rgb[0], rgb[1], rgb[2])
    [all...]
  /src/sys/arch/evbarm/mini2440/
mini2440_lcd.c 351 #define rgb(r,g,b) (((r)<<11) | ((g)<<5) | (b)) macro
359 case 0: color = rgb(0x00, 0x00, 0x00); break;
360 case 1: color = rgb(0x00, 0x00, 0x1f); break;
361 case 2: color = rgb(0x00, 0x3f, 0x00); break;
362 case 3: color = rgb(0x00, 0x3f, 0x1f); break;
363 case 4: color = rgb(0x1f, 0x00, 0x00); break;
364 case 5: color = rgb(0x1f, 0x00, 0x1f); break;
365 case 6: color = rgb(0x1f, 0x3f, 0x00); break;
366 case 7: color = rgb(0x1f, 0x3f, 0x1f); break;
377 line[x] = rgb(0x1f, 0x3f, 0x1f)
    [all...]
  /src/external/gpl3/gdb/dist/gdb/guile/
scm-color.c 222 error (_("List value with RGB must be of size 3."));
224 uint8_t rgb[3] = {}; local
235 _("invalid rgb component"));
236 rgb[i] = static_cast<uint8_t> (component);
243 color = ui_file_style::color (rgb[0], rgb[1], rgb[2]);
342 uint8_t rgb[3] = {}; local
343 color.get_rgb (rgb);
344 SCM red = scm_from_uint8 (rgb[0])
    [all...]
  /src/sys/arch/hp300/dev/
dvboxreg.h 52 struct rgb { struct
146 struct rgb rgb[8]; /* overlay color map */ member in struct:dvboxfb
147 uint8_t f37[0x6403-0x6100-sizeof(struct rgb)*8];
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce110/
amdgpu_dce110_opp_regamma_v.c 479 const struct pwl_result_data *rgb = local
483 dm_write_reg(xfm_dce->base.ctx, addr, rgb->red_reg);
484 dm_write_reg(xfm_dce->base.ctx, addr, rgb->green_reg);
485 dm_write_reg(xfm_dce->base.ctx, addr, rgb->blue_reg);
488 rgb->delta_red_reg);
490 rgb->delta_green_reg);
492 rgb->delta_blue_reg);
494 ++rgb;
  /src/sys/arch/hpcmips/dev/
plumvideo.c 430 u_int32_t *rgb; local
447 error = cmap_work_alloc(&r, &g, &b, &rgb, cnt);
450 plumvideo_clut_get(sc, rgb, idx, cnt);
451 rgb24_decompose(rgb, r, g, b, cnt);
462 cmap_work_free(r, g, b, rgb);
477 error = cmap_work_alloc(&r, &g, &b, &rgb, cnt);
489 rgb24_compose(rgb, r, g, b, cnt);
490 plumvideo_clut_set(sc, rgb, idx, cnt);
616 u_int32_t *rgb, int beg, int cnt)
621 *rgb++ = bus_space_read_4(iot, ioh, beg)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/
amdgpu_dcn20_hubbub.c 287 output->grph.rgb.max_uncompressed_blk_size = 256;
288 output->grph.rgb.max_compressed_blk_size = 256;
289 output->grph.rgb.independent_64b_blks = false;
292 output->grph.rgb.max_uncompressed_blk_size = 128;
293 output->grph.rgb.max_compressed_blk_size = 128;
294 output->grph.rgb.independent_64b_blks = false;
297 output->grph.rgb.max_uncompressed_blk_size = 256;
298 output->grph.rgb.max_compressed_blk_size = 64;
299 output->grph.rgb.independent_64b_blks = true;
amdgpu_dcn20_dpp_cm.c 92 const struct pwl_result_data *rgb,
106 REG_SET(CM_DGAM_LUT_DATA, 0, CM_DGAM_LUT_DATA, rgb[i].red_reg);
107 REG_SET(CM_DGAM_LUT_DATA, 0, CM_DGAM_LUT_DATA, rgb[i].green_reg);
108 REG_SET(CM_DGAM_LUT_DATA, 0, CM_DGAM_LUT_DATA, rgb[i].blue_reg);
111 CM_DGAM_LUT_DATA, rgb[i].delta_red_reg);
113 CM_DGAM_LUT_DATA, rgb[i].delta_green_reg);
115 CM_DGAM_LUT_DATA, rgb[i].delta_blue_reg);
341 const struct pwl_result_data *rgb,
348 REG_SET(CM_BLNDGAM_LUT_DATA, 0, CM_BLNDGAM_LUT_DATA, rgb[i].red_reg);
349 REG_SET(CM_BLNDGAM_LUT_DATA, 0, CM_BLNDGAM_LUT_DATA, rgb[i].green_reg)
    [all...]
  /src/sys/arch/arm/s3c2xx0/
s3c24x0_lcd.c 402 #define rgb(r,g,b) _rgb((r)>>1,g,(b)>>1) macro
408 rgb( 0, 0, 0), /* black */
409 rgb( L, 0, 0), /* red */
410 rgb( 0, L, 0), /* green */
411 rgb( L, L, 0), /* brown */
412 rgb( 0, 0, L), /* blue */
413 rgb( L, 0, L), /* magenta */
414 rgb( 0, L, L), /* cyan */
417 rgb( L, L, L), /* black */
418 rgb( H, 0, 0), /* red *
    [all...]
  /src/sys/arch/arm/xscale/
pxa2x0_lcd.c 413 #define rgb(r,g,b) _rgb((r)>>1,g,(b)>>1) macro
419 rgb( 0, 0, 0), /* black */
420 rgb( L, 0, 0), /* red */
421 rgb( 0, L, 0), /* green */
422 rgb( L, L, 0), /* brown */
423 rgb( 0, 0, L), /* blue */
424 rgb( L, 0, L), /* magenta */
425 rgb( 0, L, L), /* cyan */
428 rgb( L, L, L), /* black */
429 rgb( H, 0, 0), /* red *
    [all...]
  /src/external/mit/xorg/bin/
Makefile 11 rgb setxkbmap showfont smproxy sxpm \

Completed in 44 milliseconds

1 2 3 4