| /xsrc/external/mit/mesa-demos/dist/src/data/ |
| H A D | Makefile.am | 27 arch.rgb \ 28 bw.rgb \ 29 girl2.rgb \ 30 girl.rgb \ 31 reflect.rgb \ 32 s128.rgb \ 33 tile.rgb \ 35 tree3.rgb \ 36 wrs_logo.rgb \
|
| /xsrc/external/mit/rgb/dist/ |
| H A D | Makefile.am | 29 bin_PROGRAMS += rgb program in directory:bin 31 rgb_SOURCES = rgb.c 33 $(RGB_DB_FILES): rgb rgb.txt 35 ./rgb rgb < $(srcdir)/rgb.txt 45 rgb.txt \ 47 others/old-rgb.txt \ 38 rgbdir = $(db_dir) directory
|
| H A D | showrgb.c | 47 #include "rgb.h" /* off in server/include/ */ 80 fprintf (stderr, "%s: unable to open rgb database \"%s\"\n", 95 RGB rgb; local in function:dumprgb 97 memcpy(&rgb, value.dptr, sizeof rgb); 99 r = N(rgb.red); 100 g = N(rgb.green); 101 b = N(rgb.blue); 120 FILE *rgb; local in function:dumprgb 138 if (!(rgb [all...] |
| H A D | configure.ac | 26 AC_INIT([rgb], [1.1.0], package 27 [https://gitlab.freedesktop.org/xorg/app/rgb/-/issues], [rgb]) 45 AC_MSG_CHECKING([for rgb database location]) 46 AC_ARG_WITH([rgb-db-dir], 47 AS_HELP_STRING([--with-rgb-db-dir=<path>], 48 [rgb database location (default is ${datadir}/X11/rgb)]), 49 [db_path=$withval], [db_path=${datadir}/X11/rgb]) 51 dnl XXX not working - AC_DEFINE([RGB_DB], $db_path, [set to location of rgb databas [all...] |
| H A D | rgb.c | 50 #include "rgb.h" 63 RGB rgb; local in function:main 119 content.dptr = (char *) &rgb; 120 content.dsize = sizeof (rgb); 145 rgb.red = (red * 65535) / 255; 146 rgb.green = (green * 65535) / 255; 147 rgb.blue = (blue * 65535) / 255;
|
| H A D | README.md | 5 (rgb.txt) and programs to read and write the color database. 9 The configure script accepts --with-rgb-db-type=(text|dbm|ndbm) to specify 12 The configure script accepts --with-rgb-db-library=<library-name> to specify 24 rgb command to build the database in that format from rgb.txt. 28 was chosen by the --with-rgb-db-type option when building. 37 https://gitlab.freedesktop.org/xorg/app/rgb
|
| /xsrc/external/mit/rgb/dist/man/ |
| H A D | Makefile.am | 25 appman_PRE = rgb.man showrgb.man 28 appman_DATA += rgb.$(APP_MAN_SUFFIX)
|
| /xsrc/external/mit/libXpm/dist/src/ |
| H A D | rgb.c | 27 * rgb.c: * 54 * Read a rgb text file. It stores the rgb values (0->65535) 55 * and the rgb mnemonics (malloc'ed) into the "rgbn" array. Returns the 66 xpmRgbName *rgb; local in function:xpmReadRgbNames 68 /* Open the rgb text file. Abort if error. */ 74 rgb = rgbn; 75 /* Quit if rgb text file has too many entries. */ 84 * Make sure rgb values are within 0->255 range. Skip silently if 101 /* Save the rgb value 128 xpmRgbName *rgb; local in function:xpmGetRgbName 152 xpmRgbName *rgb; local in function:xpmFreeRgbNames [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| H A D | format_rgb9e5.h | 60 static inline uint32_t float3_to_rgb9e5(const float rgb[3]) argument 66 rc.u = rgb9e5_ClampRange(rgb[0]); 67 gc.u = rgb9e5_ClampRange(rgb[1]); 68 bc.u = rgb9e5_ClampRange(rgb[2]); 107 static inline void rgb9e5_to_float3(uint32_t rgb, float retval[3]) argument 112 exponent = (rgb >> 27) - RGB9E5_EXP_BIAS - RGB9E5_MANTISSA_BITS; 115 retval[0] = ( rgb & 0x1ff) * scale.f; 116 retval[1] = ((rgb >> 9) & 0x1ff) * scale.f; 117 retval[2] = ((rgb >> 18) & 0x1ff) * scale.f;
|
| H A D | format_r11g11b10f.h | 218 static inline uint32_t float3_to_r11g11b10f(const float rgb[3]) argument 220 return ( f32_to_uf11(rgb[0]) & 0x7ff) | 221 ((f32_to_uf11(rgb[1]) & 0x7ff) << 11) | 222 ((f32_to_uf10(rgb[2]) & 0x3ff) << 22); 225 static inline void r11g11b10f_to_float3(uint32_t rgb, float retval[3]) argument 227 retval[0] = uf11_to_f32( rgb & 0x7ff); 228 retval[1] = uf11_to_f32((rgb >> 11) & 0x7ff); 229 retval[2] = uf10_to_f32((rgb >> 22) & 0x3ff);
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | format_rgb9e5.h | 60 static inline uint32_t float3_to_rgb9e5(const float rgb[3]) argument 66 rc.u = rgb9e5_ClampRange(rgb[0]); 67 gc.u = rgb9e5_ClampRange(rgb[1]); 68 bc.u = rgb9e5_ClampRange(rgb[2]); 107 static inline void rgb9e5_to_float3(uint32_t rgb, float retval[3]) argument 112 exponent = (rgb >> 27) - RGB9E5_EXP_BIAS - RGB9E5_MANTISSA_BITS; 115 retval[0] = ( rgb & 0x1ff) * scale.f; 116 retval[1] = ((rgb >> 9) & 0x1ff) * scale.f; 117 retval[2] = ((rgb >> 18) & 0x1ff) * scale.f;
|
| H A D | format_r11g11b10f.h | 218 static inline uint32_t float3_to_r11g11b10f(const float rgb[3]) argument 220 return ( f32_to_uf11(rgb[0]) & 0x7ff) | 221 ((f32_to_uf11(rgb[1]) & 0x7ff) << 11) | 222 ((f32_to_uf10(rgb[2]) & 0x3ff) << 22); 225 static inline void r11g11b10f_to_float3(uint32_t rgb, float retval[3]) argument 227 retval[0] = uf11_to_f32( rgb & 0x7ff); 228 retval[1] = uf11_to_f32((rgb >> 11) & 0x7ff); 229 retval[2] = uf10_to_f32((rgb >> 22) & 0x3ff);
|
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| H A D | tkmap.c | 37 if (rgb)
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_lower_blend.h | 46 nir_lower_blend_channel rgb; member in struct:__anonbef927490208
|
| /xsrc/external/mit/mesa-demos/dist/src/samples/ |
| H A D | line.c | 34 GLenum rgb, doubleBuffer, windType; variable in typeref:typename:GLenum 63 if (!rgb) { 144 (rgb) ? glColor3f(1.0, 1.0, 0.0) : glIndexi(ci); 172 rgb = GL_TRUE; 177 rgb = GL_FALSE; 178 } else if (strcmp(argv[i], "-rgb") == 0) { 179 rgb = GL_TRUE; 202 windType = (rgb) ? GLUT_RGB : GLUT_INDEX;
|
| H A D | cursor.c | 31 GLenum rgb, doubleBuffer, windType; variable in typeref:typename:GLenum 101 rgb = GL_TRUE; 106 rgb = GL_FALSE; 107 } else if (strcmp(argv[i], "-rgb") == 0) { 108 rgb = GL_TRUE; 133 windType = (rgb) ? GLUT_RGB : GLUT_INDEX;
|
| H A D | tri.c | 36 GLenum rgb, doubleBuffer, windType; variable in typeref:typename:GLenum 79 if (!rgb) { 192 if (!rgb) { 200 if (!rgb) { 281 (rgb) ? glColor3fv(RGBMap[COLOR_RED]) : glIndexf(color1); 283 (rgb) ? glColor3fv(RGBMap[COLOR_GREEN]) : glIndexf(color2); 285 (rgb) ? glColor3fv(RGBMap[COLOR_BLUE]) : glIndexf(color3); 317 (rgb) ? glColor3fv(RGBMap[COLOR_RED]) : glIndexf(color1); 319 (rgb) ? glColor3fv(RGBMap[COLOR_GREEN]) : glIndexf(color2); 321 (rgb) [all...] |
| H A D | fog.c | 30 GLenum rgb, doubleBuffer; variable in typeref:typename:GLenum 162 if (rgb) { 215 if (rgb) { 221 if (rgb) { 260 rgb = GL_TRUE; 265 rgb = GL_FALSE; 266 } else if (strcmp(argv[i], "-rgb") == 0) { 267 rgb = GL_TRUE; 293 type |= (rgb) ? GLUT_RGB : GLUT_INDEX;
|
| H A D | point.c | 37 GLenum rgb, doubleBuffer, windType; variable in typeref:typename:GLenum 57 if (!rgb) { 156 (rgb) ? glColor3f(1.0, 0.0, 0.0) : glIndexf(CI_ANTI_ALIAS_RED); 158 (rgb) ? glColor3f(1.0, 0.0, 0.0) : glIndexf(CI_RED); 184 rgb = GL_TRUE; 189 rgb = GL_FALSE; 190 } else if (strcmp(argv[i], "-rgb") == 0) { 191 rgb = GL_TRUE; 216 windType = (rgb) ? GLUT_RGB : GLUT_INDEX;
|
| H A D | depth.c | 35 GLenum rgb, doubleBuffer; variable in typeref:typename:GLenum 67 if (!rgb) { 138 (rgb) ? glColor3fv(RGBMap[COLOR_BLUE]) : glIndexi(ci1); 142 (rgb) ? glColor3fv(RGBMap[COLOR_GREEN]) : glIndexi(ci2); 159 rgb = GL_TRUE; 164 rgb = GL_FALSE; 165 } else if (strcmp(argv[i], "-rgb") == 0) { 166 rgb = GL_TRUE; 192 type |= (rgb) ? GLUT_RGB : GLUT_INDEX;
|
| /xsrc/external/mit/xterm/dist/vttests/ |
| H A D | closest-rgb.pl | 2 # $XTermId: closest-rgb.pl,v 1.12 2020/12/13 15:07:02 tom Exp $ 35 # models or alternatively against rgb.txt 42 our $namedRGB = "/etc/X11/rgb.txt"; 52 -f FILE pathname for rgb.txt (default $namedRGB) 53 -i reverse comparison, look for rgb matches in xterm's palette 83 my $rgb = $value; 84 $rgb =~ s/^((\w+\s+){2,2}(\w+)).*/$1/; 85 my @rgb = split /\s+/, $rgb; 91 $result{R} = &value_of( $rgb[ [all...] |
| /xsrc/external/mit/libdrm/dist/tests/util/ |
| H A D | pattern.c | 129 #define MAKE_RGBA10(rgb, r, g, b, a) \ 130 (shiftcolor10(&(rgb)->red, (r)) | \ 131 shiftcolor10(&(rgb)->green, (g)) | \ 132 shiftcolor10(&(rgb)->blue, (b)) | \ 133 shiftcolor10(&(rgb)->alpha, (a))) 135 #define MAKE_RGBA(rgb, r, g, b, a) \ 136 (shiftcolor8(&(rgb)->red, (r)) | \ 137 shiftcolor8(&(rgb)->green, (g)) | \ 138 shiftcolor8(&(rgb)->blue, (b)) | \ 139 shiftcolor8(&(rgb) 532 fill_smpte_rgb16(const struct util_rgb_info * rgb,void * mem,unsigned int width,unsigned int height,unsigned int stride,bool fb_be) argument 593 fill_smpte_rgb24(const struct util_rgb_info * rgb,void * mem,unsigned int width,unsigned int height,unsigned int stride) argument 656 fill_smpte_rgb32(const struct util_rgb_info * rgb,void * mem,unsigned int width,unsigned int height,unsigned int stride) argument 717 fill_smpte_rgb16fp(const struct util_rgb_info * rgb,void * mem,unsigned int width,unsigned int height,unsigned int stride) argument 1525 const struct util_rgb_info *rgb = &info->rgb; local in function:fill_tiles_rgb16 1551 const struct util_rgb_info *rgb = &info->rgb; local in function:fill_tiles_rgb24 1573 const struct util_rgb_info *rgb = &info->rgb; local in function:fill_tiles_rgb32 1600 const struct util_rgb_info *rgb = &info->rgb; local in function:fill_tiles_rgb16fp 1738 fill_gradient_rgb32(const struct util_rgb_info * rgb,void * mem,unsigned int width,unsigned int height,unsigned int stride) argument 1766 fill_gradient_rgb16fp(const struct util_rgb_info * rgb,void * mem,unsigned int width,unsigned int height,unsigned int stride) argument [all...] |
| H A D | format.h | 59 const struct util_rgb_info rgb; member in struct:util_format_info
|
| /xsrc/external/mit/libX11/dist/src/ |
| H A D | QuColors.c | 62 register xrgb *rgb = &color[i]; local in function:_XQueryColors 63 def->red = rgb->red; 64 def->green = rgb->green; 65 def->blue = rgb->blue;
|
| /xsrc/external/mit/MesaLib/src/panfrost/lib/genxml/ |
| H A D | common_pack.h | 304 struct MALI_BLEND_FUNCTION rgb; member in struct:MALI_BLEND_EQUATION 310 .rgb = { MALI_BLEND_FUNCTION_header }, \ 317 cl[ 0] = __gen_uint(values->rgb.a, 0, 1) | 318 __gen_uint(values->rgb.negate_a, 3, 3) | 319 __gen_uint(values->rgb.b, 4, 5) | 320 __gen_uint(values->rgb.negate_b, 7, 7) | 321 __gen_uint(values->rgb.c, 8, 10) | 322 __gen_uint(values->rgb.invert_c, 11, 11) | 340 values->rgb.a = (enum mali_blend_operand_a)__gen_unpack_uint(cl, 0, 1); 341 values->rgb [all...] |