HomeSort by: relevance | last modified time | path
    Searched defs:rgb (Results 1 - 25 of 28) 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/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;
amdgpu_dce110_hw_sequencer.c 335 struct pwl_result_data *rgb = rgb_resulted; local
386 if (!convert_to_custom_float_format(rgb->red, &fmt,
387 &rgb->red_reg)) {
392 if (!convert_to_custom_float_format(rgb->green, &fmt,
393 &rgb->green_reg)) {
398 if (!convert_to_custom_float_format(rgb->blue, &fmt,
399 &rgb->blue_reg)) {
404 if (!convert_to_custom_float_format(rgb->delta_red, &fmt,
405 &rgb->delta_red_reg)) {
410 if (!convert_to_custom_float_format(rgb->delta_green, &fmt
439 struct pwl_result_data *rgb; local
    [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/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/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/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/arch/hppa/dev/
summitfb.c 1124 /* alpha & RGB -> ARGB */
1275 uint32_t rgb; local
1282 rgb = r[0] << 16 | g[0] << 8 | b[0];
1283 summitfb_write4(sc, VISFX_CURSOR_BG, rgb);
1284 rgb = r[1] << 16 | g[1] << 8 | b[1];
1285 summitfb_write4(sc, VISFX_CURSOR_FG, rgb);
hyperfb.c 1235 * we need the RGB colours here, so get offsets into rasops_cmap
1435 uint32_t rgb; local
1452 rgb = (r[0] << 16) | (g[0] << 8) | b[0];
1453 hyperfb_write4(sc, NGLE_BINC_DATA_R, rgb); /* BG */
1454 rgb = (r[1] << 16) | (g[1] << 8) | b[1];
1455 hyperfb_write4(sc, NGLE_BINC_DATA_R, rgb); /* FG */
gftfb.c 1029 * we need the RGB colours here, so get offsets into rasops_cmap
1235 uint32_t rgb; local
1250 rgb = (r[0] << 16) | (g[0] << 8) | b[0];
1251 gftfb_write4(sc, NGLE_BINC_DATA_R, rgb); /* BG */
1252 rgb = (r[1] << 16) | (g[1] << 8) | b[1];
1253 gftfb_write4(sc, NGLE_BINC_DATA_R, rgb); /* FG */
  /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...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
nouveau_dispnv04_crtc.c 771 struct rgb { uint8_t r, g, b; } __attribute__((packed)) *rgbs; struct
775 rgbs = (struct rgb *)nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].DAC;
961 /* hw gets unhappy if alpha <= rgb values. for a PM image "less
  /src/sys/arch/vax/include/
qduser.h 71 * 17 oct 85 longo changed "struct rgb" chars to be unsigned
356 struct rgb { struct
368 struct rgb rgb[256]; member in struct:color_buf
  /src/sys/dev/qbus/
qduser.h 71 * 17 oct 85 longo changed "struct rgb" chars to be unsigned
349 struct rgb { struct
361 struct rgb rgb[256]; member in struct:color_buf

Completed in 746 milliseconds

1 2