/external/libnl/lib/route/sch/ |
D | red.c | 57 struct rtnl_red *red; in red_msg_parser() local 71 red = red_alloc(qdisc); in red_msg_parser() 72 if (!red) in red_msg_parser() 77 red->qr_limit = opts->limit; in red_msg_parser() 78 red->qr_qth_min = opts->qth_min; in red_msg_parser() 79 red->qr_qth_max = opts->qth_max; in red_msg_parser() 80 red->qr_flags = opts->flags; in red_msg_parser() 81 red->qr_wlog = opts->Wlog; in red_msg_parser() 82 red->qr_plog = opts->Plog; in red_msg_parser() 83 red->qr_scell_log = opts->Scell_log; in red_msg_parser() [all …]
|
/external/ImageMagick/MagickCore/ |
D | gem.c | 89 const double luma,double *red,double *green,double *blue) in ConvertHCLToRGB() argument 103 assert(red != (double *) NULL); in ConvertHCLToRGB() 148 *red=QuantumRange*(r+m); in ConvertHCLToRGB() 182 const double luma,double *red,double *green,double *blue) in ConvertHCLpToRGB() argument 197 assert(red != (double *) NULL); in ConvertHCLpToRGB() 254 *red=QuantumRange*(z*r+m); in ConvertHCLpToRGB() 287 const double brightness,double *red,double *green,double *blue) in ConvertHSBToRGB() argument 299 assert(red != (double *) NULL); in ConvertHSBToRGB() 304 *red=QuantumRange*brightness; in ConvertHSBToRGB() 305 *green=(*red); in ConvertHSBToRGB() [all …]
|
D | colorspace.c | 119 static inline void ConvertRGBToCMY(const double red,const double green, in ConvertRGBToCMY() argument 122 *cyan=QuantumScale*(QuantumRange-red); in ConvertRGBToCMY() 135 static void ConvertRGBToLMS(const double red,const double green, in ConvertRGBToLMS() argument 143 ConvertRGBToXYZ(red,green,blue,&X,&Y,&Z); in ConvertRGBToLMS() 147 static void ConvertRGBToLab(const double red,const double green, in ConvertRGBToLab() argument 155 ConvertRGBToXYZ(red,green,blue,&X,&Y,&Z); in ConvertRGBToLab() 159 static void ConvertRGBToLuv(const double red,const double green, in ConvertRGBToLuv() argument 167 ConvertRGBToXYZ(red,green,blue,&X,&Y,&Z); in ConvertRGBToLuv() 171 static void ConvertRGBToxyY(const double red,const double green, in ConvertRGBToxyY() argument 179 ConvertRGBToXYZ(red,green,blue,&X,&Y,&Z); in ConvertRGBToxyY() [all …]
|
D | enhance.c | 390 pixel.red=clut_map[ScaleQuantumToMap(ClampToQuantum( in ClutImage() 391 pixel.red))].red; in ClutImage() 495 red, in ColorDecisionListImage() member 555 color_correction.red.slope=1.0; in ColorDecisionListImage() 556 color_correction.red.offset=0.0; in ColorDecisionListImage() 557 color_correction.red.power=1.0; in ColorDecisionListImage() 587 color_correction.red.slope=StringToDouble(token,(char **) NULL); in ColorDecisionListImage() 619 color_correction.red.offset=StringToDouble(token, in ColorDecisionListImage() 652 color_correction.red.power=StringToDouble(token,(char **) NULL); in ColorDecisionListImage() 692 " color_correction.red.slope: %g",color_correction.red.slope); in ColorDecisionListImage() [all …]
|
D | colorspace-private.h | 32 pixel->red=((QuantumRange-(QuantumScale*pixel->red*(QuantumRange- in ConvertCMYKToRGB() 48 red, in ConvertRGBToCMYK() local 53 red=QuantumScale*pixel->red; in ConvertRGBToCMYK() 59 red=QuantumScale*DecodePixelGamma(pixel->red); in ConvertRGBToCMYK() 63 if ((fabs((double) red) < MagickEpsilon) && in ConvertRGBToCMYK() 70 cyan=(MagickRealType) (1.0-red); in ConvertRGBToCMYK() 82 pixel->red=QuantumRange*cyan; in ConvertRGBToCMYK()
|
D | feature.c | 698 grays[i].red=(~0U); in GetImageFeatures() 728 grays[ScaleQuantumToMap(GetPixelRed(image,p))].red= in GetImageFeatures() 754 if (grays[i].red != ~0U) in GetImageFeatures() 755 grays[gray.red++].red=grays[i].red; in GetImageFeatures() 770 number_grays=gray.red; in GetImageFeatures() 946 while (grays[u].red != ScaleQuantumToMap(GetPixelRed(image,p))) in GetImageFeatures() 948 … while (grays[v].red != ScaleQuantumToMap(GetPixelRed(image,p+offset*GetPixelChannels(image)))) in GetImageFeatures() 950 cooccurrence[u][v].direction[i].red++; in GetImageFeatures() 951 cooccurrence[v][u].direction[i].red++; in GetImageFeatures() 1063 cooccurrence[x][y].direction[i].red*=normalize; in GetImageFeatures() [all …]
|
/external/llvm/test/Transforms/LoopVectorize/ |
D | minmax_reduction.ll | 28 %max.red.08 = phi i32 [ %max, %entry ], [ %max.red.0, %for.body ] 31 %cmp3 = icmp sgt i32 %0, %max.red.08 32 %max.red.0 = select i1 %cmp3, i32 %0, i32 %max.red.08 39 ret i32 %max.red.0 57 %max.red.08 = phi i32 [ %max, %entry ], [ %max.red.0, %for.body ] 60 %cmp3 = icmp slt i32 %max.red.08, %0 61 %max.red.0 = select i1 %cmp3, i32 %0, i32 %max.red.08 68 ret i32 %max.red.0 85 %max.red.08 = phi i32 [ %max, %entry ], [ %max.red.0, %for.body ] 88 %cmp3 = icmp slt i32 %0, %max.red.08 [all …]
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
D | TexturePixel.java | 19 public float intensity, red, green, blue, alpha; field in TexturePixel 29 this.red = pixel.red; in fromPixel() 42 this.red = colorRGBA.r; in fromColor() 62 this.red = r; in fromARGB8() 77 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromARGB8() 107 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromImage() 112 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromImage() 127 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromImage() 133 this.red = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f; in fromImage() 146 this.intensity = this.blue = this.red = this.green = this.alpha = 0.0f; in fromImage() [all …]
|
/external/ImageMagick/api_examples/ |
D | wand.c | 47 *red, /* red image wand */ in main() local 60 red = NewMagickWand(); in main() 61 MagickSetSize(red,100,100); in main() 62 status = MagickReadImage(red, "xc:red" ); in main() 64 ThrowWandException(red); in main() 88 MagickSetLastIterator(red); in main() 89 MagickAddImage(red,rose); in main() 101 MagickSetFirstIterator(red); in main() 102 output = MagickAppendImages(red,MagickFalse); in main() 103 red = DestroyMagickWand(red); /* finished with 'red' wand */ in main()
|
/external/skia/src/codec/ |
D | SkMaskSwizzler.cpp | 21 uint8_t red = masks->getRed(p); in swizzle_mask16_to_n32_opaque() local 24 dstPtr[i] = SkPackARGB32NoCheck(0xFF, red, green, blue); in swizzle_mask16_to_n32_opaque() 38 uint8_t red = masks->getRed(p); in swizzle_mask16_to_n32_unpremul() local 42 dstPtr[i] = SkPackARGB32NoCheck(alpha, red, green, blue); in swizzle_mask16_to_n32_unpremul() 56 uint8_t red = masks->getRed(p); in swizzle_mask16_to_n32_premul() local 60 dstPtr[i] = SkPreMultiplyARGB(alpha, red, green, blue); in swizzle_mask16_to_n32_premul() 76 uint8_t red = masks->getRed(p); in swizzle_mask16_to_565() local 79 dstPtr[i] = SkPack888ToRGB16(red, green, blue); in swizzle_mask16_to_565() 93 uint8_t red = masks->getRed(p); in swizzle_mask24_to_n32_opaque() local 96 dstPtr[i] = SkPackARGB32NoCheck(0xFF, red, green, blue); in swizzle_mask24_to_n32_opaque() [all …]
|
D | SkMasks.cpp | 132 masks.red &= (1 << bitsPerPixel) - 1; in CreateMasks() 139 if (((masks.red & masks.green) | (masks.red & masks.blue) | in CreateMasks() 140 (masks.red & masks.alpha) | (masks.green & masks.blue) | in CreateMasks() 146 const MaskInfo red = process_mask(masks.red, bitsPerPixel); in CreateMasks() local 151 return new SkMasks(red, green, blue, alpha); in CreateMasks() 155 SkMasks::SkMasks(const MaskInfo& red, const MaskInfo& green, in SkMasks() argument 157 : fRed(red) in SkMasks()
|
/external/skia/src/animator/ |
D | SkDrawColor.cpp | 25 SkScalar red = SkIntToScalar(SkColorGetR(color)); in RGB_to_HSV() local 28 SkScalar min = SkMinScalar(SkMinScalar(red, green), blue); in RGB_to_HSV() 29 SkScalar value = SkMaxScalar(SkMaxScalar(red, green), blue); in RGB_to_HSV() 41 if (red == value) { in RGB_to_HSV() 47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60); in RGB_to_HSV() 49 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60); in RGB_to_HSV() 65 SkScalar red SK_INIT_TO_AVOID_WARNING; in HSV_to_RGB() 69 red = green = blue = value; in HSV_to_RGB() 79 case 0: red = value; green = t; blue = p; break; in HSV_to_RGB() 80 case 1: red = q; green = value; blue = p; break; in HSV_to_RGB() [all …]
|
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/data/tree_construction/ |
D | tricky01.dat | 19 <font color=red><i>Italic and Red<p>Italic and Red </font> Just italic.</p> Italic only.</i> Plain 20 <p>I should not be red. <font color=red>Red. <i>Italic and red.</p> 21 <p>Italic and red. </i> Red.</font> I should not be red.</p> 29 | color="red" 35 | color="red" 42 | "I should not be red. " 44 | color="red" 47 | "Italic and red." 49 | color="red" 55 | color="red" [all …]
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_rgtc.c | 298 GLubyte red; in _mesa_fetch_texel_red_rgtc1() local 302 i, j, &red, 1); in _mesa_fetch_texel_red_rgtc1() 303 texel[RCOMP] = UBYTE_TO_FLOAT(red); in _mesa_fetch_texel_red_rgtc1() 313 GLbyte red; in _mesa_fetch_texel_signed_red_rgtc1() local 317 i, j, &red, 1); in _mesa_fetch_texel_signed_red_rgtc1() 318 texel[RCOMP] = BYTE_TO_FLOAT_TEX(red); in _mesa_fetch_texel_signed_red_rgtc1() 328 GLubyte red, green; in _mesa_fetch_texel_rg_rgtc2() local 332 i, j, &red, 2); in _mesa_fetch_texel_rg_rgtc2() 336 texel[RCOMP] = UBYTE_TO_FLOAT(red); in _mesa_fetch_texel_rg_rgtc2() 346 GLbyte red, green; in _mesa_fetch_texel_signed_rg_rgtc2() local [all …]
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
D | TGALoader.java | 183 entry.red = (byte)(int)(getBitsAsByte(cMapData, offset, bitsPerColor) * scalar); in load() 211 byte red = 0; in load() 267 red = dis.readByte(); in load() 269 rawData[rawDataIndex++] = red; in load() 280 byte red = 0; in load() 301 red = dis.readByte(); in load() 304 rawData[rawDataIndex++] = red; in load() 315 red = dis.readByte(); in load() 317 rawData[rawDataIndex++] = red; in load() 340 red = dis.readByte(); in load() [all …]
|
/external/ImageMagick/tests/ |
D | validate.c | 96 const double intensity,double *red,double *green,double *blue) in ConvertHSIToRGB() argument 106 *red=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB() 108 *green=3.0*intensity-*red-*blue; in ConvertHSIToRGB() 114 *red=intensity*(1.0-saturation); in ConvertHSIToRGB() 117 *blue=3.0*intensity-*red-*green; in ConvertHSIToRGB() 125 *red=3.0*intensity-*green-*blue; in ConvertHSIToRGB() 127 *red*=QuantumRange; in ConvertHSIToRGB() 132 static void ConvertRGBToHSI(const double red,const double green, in ConvertRGBToHSI() argument 139 *intensity=(QuantumScale*red+QuantumScale*green+QuantumScale*blue)/3.0; in ConvertRGBToHSI() 146 *saturation=1.0-MagickMin(QuantumScale*red,MagickMin(QuantumScale*green, in ConvertRGBToHSI() [all …]
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
D | BitmapFontFlipTest.java | 37 private Color red = new Color(1, 0, 0, 0); field in BitmapFontFlipTest 94 cache5.setColor(red); in createCaches() 100 red.a = (red.a + Gdx.graphics.getDeltaTime() * 0.1f) % 1; in render() 115 font.getData().setScale(red.a + 0.5f); in render() 128 font.setColor(red); in renderNormal() 134 if (red.a > 0.6f) return; in renderNormal() 150 cache5.setColors(red); in renderCached() 155 if (red.a > 0.6f) return; in renderCached() 163 cacheScaled5.setColors(red); in renderCachedScaled() 168 if (red.a > 0.6f) return; in renderCachedScaled()
|
/external/pdfium/third_party/lpng_v163/ |
D | pngrtran.c | 755 int r = (palette[i].red >> (8 - PNG_QUANTIZE_RED_BITS)); in png_set_quantize() 952 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() argument 995 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) in png_set_rgb_to_gray_fixed() 1004 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000); in png_set_rgb_to_gray_fixed() 1014 if (red >= 0 && green >= 0) in png_set_rgb_to_gray_fixed() 1041 png_set_rgb_to_gray(png_structrp png_ptr, int error_action, double red, in png_set_rgb_to_gray() argument 1045 png_fixed(png_ptr, red, "rgb to gray red coefficient"), in png_set_rgb_to_gray() 1153 png_ptr->background.red = in png_init_palette_transformations() 1154 png_ptr->palette[png_ptr->background.index].red; in png_init_palette_transformations() 1253 png_ptr->background.red = png_ptr->background.green = in png_init_rgb_transformations() [all …]
|
/external/ppp/pppd/plugins/ |
D | passwordfd.c | 35 int readgood, red; in pwfd_passwd() local 50 red = read (passwdfd, passwd + readgood, MAXSECRETLEN - 1 - readgood); in pwfd_passwd() 51 if (red == 0) in pwfd_passwd() 53 if (red < 0) { in pwfd_passwd() 58 readgood += red; in pwfd_passwd()
|
/external/iproute2/tc/ |
D | q_sfq.c | 40 int ok = 0, red = 0; in sfq_parse_opt() local 105 red++; in sfq_parse_opt() 112 red++; in sfq_parse_opt() 119 red++; in sfq_parse_opt() 126 red++; in sfq_parse_opt() 133 red++; in sfq_parse_opt() 140 red++; in sfq_parse_opt() 143 red++; in sfq_parse_opt() 146 red++; in sfq_parse_opt() 157 if (red) { in sfq_parse_opt() [all …]
|
/external/libpng/ |
D | pngrtran.c | 760 int r = (palette[i].red >> (8 - PNG_QUANTIZE_RED_BITS)); in png_set_quantize() 957 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() argument 999 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) in png_set_rgb_to_gray_fixed() 1008 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000); in png_set_rgb_to_gray_fixed() 1018 if (red >= 0 && green >= 0) in png_set_rgb_to_gray_fixed() 1045 png_set_rgb_to_gray(png_structrp png_ptr, int error_action, double red, in png_set_rgb_to_gray() argument 1049 png_fixed(png_ptr, red, "rgb to gray red coefficient"), in png_set_rgb_to_gray() 1163 png_ptr->background.red = in png_init_palette_transformations() 1164 png_ptr->palette[png_ptr->background.index].red; in png_init_palette_transformations() 1263 png_ptr->background.red = png_ptr->background.green = in png_init_rgb_transformations() [all …]
|
/external/libpng/contrib/gregbook/ |
D | rpng2-x.c | 1221 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_x_load_bg_image() local 1277 if (ii == 0) { red = v; green = t; blue = p; } in rpng2_x_load_bg_image() 1278 else if (ii == 1) { red = q; green = v; blue = p; } in rpng2_x_load_bg_image() 1279 else if (ii == 2) { red = p; green = v; blue = t; } in rpng2_x_load_bg_image() 1280 else if (ii == 3) { red = p; green = q; blue = v; } in rpng2_x_load_bg_image() 1281 else if (ii == 4) { red = t; green = p; blue = v; } in rpng2_x_load_bg_image() 1282 else if (ii == 5) { red = v; green = p; blue = q; } in rpng2_x_load_bg_image() 1283 *dest++ = (uch)(red * 255.0); in rpng2_x_load_bg_image() 1298 ulg red, green, blue; in rpng2_x_load_bg_image() local 1306 red = *src++; in rpng2_x_load_bg_image() [all …]
|
D | readpng.c | 156 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) in readpng_get_bgcolor() argument 184 *red = pBackground->red >> 8; in readpng_get_bgcolor() 189 *red = *green = *blue = pBackground->gray? 255 : 0; in readpng_get_bgcolor() 191 *red = *green = *blue = (255/3) * pBackground->gray; in readpng_get_bgcolor() 193 *red = *green = *blue = (255/15) * pBackground->gray; in readpng_get_bgcolor() 195 *red = (uch)pBackground->red; in readpng_get_bgcolor()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowColor.java | 11 public static int rgb(int red, int green, int blue) { in rgb() argument 12 return argb(0xff, red, green, blue); in rgb() 16 public static int argb(int alpha, int red, int green, int blue) { in argb() argument 17 return (alpha << 24) | (red << 16) | (green << 8) | blue; in argb()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | rtp_analyze.cc | 35 DEFINE_int32(red, 117, "RTP payload type for RED"); 166 webrtc::RTPHeader* red = red_headers.front(); in main() local 167 assert(red); in main() 170 red->sequenceNumber, in main() 171 red->timestamp, in main() 173 red->payloadType); in main() 175 delete red; in main()
|