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

1 2

  /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/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/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/sys/dev/hpc/
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
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...]
  /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/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/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/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/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/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/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...]
mingw-hdep.c 187 /* Map COLOR's RGB triplet, with 8 bits per component, into 16 Windows
193 uint8_t rgb[3]; local
194 color.get_rgb (rgb);
199 /* Subdivide 256 possible values of each RGB component into 3
205 int bits = rgb[i] / 93;
  /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/newsmips/apbus/
xafb.c 62 volatile uint32_t rgb; member in struct:xafb_reg
200 reg->rgb = r;
201 reg->rgb = g;
202 reg->rgb = b;
  /src/external/gpl3/gdb.old/dist/gdb/
mingw-hdep.c 183 /* Map COLOR's RGB triplet, with 8 bits per component, into 16 Windows
189 uint8_t rgb[3]; local
190 color.get_rgb (rgb);
195 /* Subdivide 256 possible values of each RGB component into 3
201 int bits = rgb[i] / 93;
  /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/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/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/arch/hpcmips/tx/
tx3912video.c 450 /* (LCD horizontal pixels / 8bit) * RGB - 1 */
507 u_int32_t *rgb; local
523 error = cmap_work_alloc(&r, &g, &b, &rgb, cnt);
526 tx3912video_clut_get(sc, rgb, idx, cnt);
527 rgb24_decompose(rgb, r, g, b, cnt);
538 cmap_work_free(r, g, b, rgb);
675 tx3912video_clut_get(struct tx3912video_softc *sc, u_int32_t *rgb, int beg,
680 KASSERT(rgb);
685 *rgb++ = RGB24(__get_color8((i >> 5) & 0x7),
  /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/dev/tc/
xcfb.c 680 uint32_t rgb; local
683 rgb = cm->b[i] << 16 | cm->g[i] << 8 | cm->r[i];
684 ims332_write_reg(IMS332_REG_LUT_BASE + i, rgb);
705 uint32_t rgb; local
708 rgb = cp[5] << 16 | cp[3] << 8 | cp[1];
709 ims332_write_reg(IMS332_REG_CURSOR_LUT_1, rgb);
712 rgb = cp[4] << 16 | cp[2] << 8 | cp[0];
713 ims332_write_reg(IMS332_REG_CURSOR_LUT_2, rgb);
  /src/sys/arch/hp300/stand/common/
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/dev/pci/
wcfb.c 572 uint32_t rgb; local
575 rgb = (b << 22) | (g << 12) | (r << 2);
576 bus_space_write_4(sc->sc_regt, sc->sc_regh, WC_CMAP_DATA, rgb);
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/
amdgpu_dce_transform.c 93 /* 01 - hard coded coefficient TV RGB */
556 * @param [in] rgb_random_enable : enable rgb random
844 * @note calculate and apply color temperature adjustment to in Rgb color space
1025 /* TV RGB */
1054 /* TV RGB */
1149 const struct pwl_result_data *rgb = params->rgb_resulted; local
1194 REG_WRITE(REGAMMA_LUT_DATA, rgb->red_reg);
1195 REG_WRITE(REGAMMA_LUT_DATA, rgb->green_reg);
1196 REG_WRITE(REGAMMA_LUT_DATA, rgb->blue_reg);
1197 REG_WRITE(REGAMMA_LUT_DATA, rgb->delta_red_reg)
    [all...]

Completed in 112 milliseconds

1 2