Home
last modified time | relevance | path

Searched refs:red (Results 1 – 25 of 995) sorted by relevance

12345678910>>...40

/external/libnl/lib/route/qdisc/
Dred.c44 struct rtnl_red *red = data; in red_msg_parser() local
60 red->qr_limit = opts->limit; in red_msg_parser()
61 red->qr_qth_min = opts->qth_min; in red_msg_parser()
62 red->qr_qth_max = opts->qth_max; in red_msg_parser()
63 red->qr_flags = opts->flags; in red_msg_parser()
64 red->qr_wlog = opts->Wlog; in red_msg_parser()
65 red->qr_plog = opts->Plog; in red_msg_parser()
66 red->qr_scell_log = opts->Scell_log; in red_msg_parser()
68 red->qr_mask = (RED_ATTR_LIMIT | RED_ATTR_QTH_MIN | RED_ATTR_QTH_MAX | in red_msg_parser()
78 struct rtnl_red *red = data; in red_dump_line() local
[all …]
/external/ImageMagick/MagickCore/
Dgem.c89 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 …]
Dcolorspace.c119 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 …]
Denhance.c390 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 …]
Dcolorspace-private.h32 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()
Dfeature.c698 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/python/cpython2/Demo/newmetaclasses/
DEnum.py94 red = 1 variable in _test.Color
98 print Color.red
100 print repr(Color.red)
101 print Color.red == Color.red
102 print Color.red == Color.blue
103 print Color.red == 1
104 print Color.red == 2
114 print ExtendedColor.red
116 print Color.red == ExtendedColor.red
125 print MergedColor.red
[all …]
/external/llvm/test/Transforms/LoopVectorize/
Dminmax_reduction.ll28 %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/syslinux/com32/sysdump/
Drbtree.c68 return h && h->red; in is_red()
76 x->red = x->left->red; in rotate_left()
77 x->left->red = true; in rotate_left()
86 x->red = x->right->red; in rotate_right()
87 x->right->red = true; in rotate_right()
93 h->red = !h->red; in color_flip()
94 h->left->red = !h->left->red; in color_flip()
95 h->right->red = !h->right->red; in color_flip()
101 node->red = false; in rb_insert()
104 node->red = true; in rb_insert()
/external/ImageMagick/api_examples/
Dwand.c47 *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/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTDecompress.cpp37 PVRTuint8 red,green,blue,alpha; member
42 PVRTint32 red,green,blue,alpha; member
69 colour.red = (PVRTuint8)((u32ColourData & 0x7c00) >> 10); // 5->5 bits in getColourA()
77 …colour.red = (PVRTuint8)((u32ColourData & 0xf00) >> 7) | ((u32ColourData & 0xf00) >> 11); // 4-… in getColourA()
99 colour.red = (PVRTuint8)((u32ColourData & 0x7c000000) >> 26); // 5->5 bits in getColourB()
107 …colour.red = (PVRTuint8)(((u32ColourData & 0xf000000) >> 23) | ((u32ColourData & 0xf000000) >> … in getColourB()
132 Pixel128S hP = {(PVRTint32)P.red,(PVRTint32)P.green,(PVRTint32)P.blue,(PVRTint32)P.alpha}; in interpolateColours()
133 Pixel128S hQ = {(PVRTint32)Q.red,(PVRTint32)Q.green,(PVRTint32)Q.blue,(PVRTint32)Q.alpha}; in interpolateColours()
134 Pixel128S hR = {(PVRTint32)R.red,(PVRTint32)R.green,(PVRTint32)R.blue,(PVRTint32)R.alpha}; in interpolateColours()
135 Pixel128S hS = {(PVRTint32)S.red,(PVRTint32)S.green,(PVRTint32)S.blue,(PVRTint32)S.alpha}; in interpolateColours()
[all …]
/external/skia/src/codec/
DSkMaskSwizzler.cpp21 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_opaque() local
24 dstPtr[i] = SkPackARGB_as_RGBA(0xFF, red, green, blue); in swizzle_mask16_to_rgba_opaque()
38 uint8_t red = masks->getRed(p); in swizzle_mask16_to_bgra_opaque() local
41 dstPtr[i] = SkPackARGB_as_BGRA(0xFF, red, green, blue); in swizzle_mask16_to_bgra_opaque()
55 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_unpremul() local
59 dstPtr[i] = SkPackARGB_as_RGBA(alpha, red, green, blue); in swizzle_mask16_to_rgba_unpremul()
73 uint8_t red = masks->getRed(p); in swizzle_mask16_to_bgra_unpremul() local
77 dstPtr[i] = SkPackARGB_as_BGRA(alpha, red, green, blue); in swizzle_mask16_to_bgra_unpremul()
91 uint8_t red = masks->getRed(p); in swizzle_mask16_to_rgba_premul() local
95 dstPtr[i] = premultiply_argb_as_rgba(alpha, red, green, blue); in swizzle_mask16_to_rgba_premul()
[all …]
DSkMasks.cpp132 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/python/cpython2/Demo/metaclasses/
DEnum.py129 red = 1 variable in _test.Color
133 print Color.red
136 print Color.red == Color.red
137 print Color.red == Color.blue
138 print Color.red == 1
139 print Color.red == 2
149 print ExtendedColor.red
151 print Color.red == ExtendedColor.red
160 print MergedColor.red
/external/python/cpython2/Tools/pynche/
DDetailsViewer.py190 red = self.__red + delta
191 tie.append(red)
193 red = self.__red
207 if red < 0 or green < 0 or blue < 0 or \
208 red > 255 or green > 255 or blue > 255:
210 red, green, blue = self.__red, self.__green, self.__blue
212 if red < 0:
213 red += 256
218 if red > 255:
219 red -= 256
[all …]
DStripViewer.py63 def constant_red_generator(numchips, red, green, blue): argument
65 return map(None, [red] * numchips, seq, seq)
68 def constant_green_generator(numchips, red, green, blue): argument
73 def constant_blue_generator(numchips, red, green, blue): argument
78 def constant_cyan_generator(numchips, red, green, blue): argument
83 def constant_magenta_generator(numchips, red, green, blue): argument
85 return map(None, [red] * numchips, seq, [blue] * numchips)
88 def constant_yellow_generator(numchips, red, green, blue): argument
90 return map(None, [red] * numchips, [green] * numchips, seq)
248 red, green, blue = ColorDB.rrggbb_to_triplet(color)
[all …]
/external/mesa3d/src/mesa/main/
Dtexcompress_rgtc.c318 GLubyte red; in fetch_red_rgtc1() local
319 util_format_unsigned_fetch_texel_rgtc(rowStride, map, i, j, &red, 1); in fetch_red_rgtc1()
320 texel[RCOMP] = UBYTE_TO_FLOAT(red); in fetch_red_rgtc1()
330 GLubyte red; in fetch_l_latc1() local
331 util_format_unsigned_fetch_texel_rgtc(rowStride, map, i, j, &red, 1); in fetch_l_latc1()
334 texel[BCOMP] = UBYTE_TO_FLOAT(red); in fetch_l_latc1()
342 GLbyte red; in fetch_signed_red_rgtc1() local
344 i, j, &red, 1); in fetch_signed_red_rgtc1()
345 texel[RCOMP] = BYTE_TO_FLOAT_TEX(red); in fetch_signed_red_rgtc1()
355 GLbyte red; in fetch_signed_l_latc1() local
[all …]
/external/syslinux/com32/lib/libpng/
Dpngrtran.c499 int r = (palette[i].red >> (8 - PNG_DITHER_RED_BITS)); in png_set_dither()
676 png_set_rgb_to_gray(png_structp png_ptr, int error_action, double red, in png_set_rgb_to_gray() argument
679 int red_fixed = (int)((float)red*100000.0 + 0.5); in png_set_rgb_to_gray()
689 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() argument
718 if (red < 0 || green < 0) in png_set_rgb_to_gray_fixed()
723 else if (red + green < 100000L) in png_set_rgb_to_gray_fixed()
725 red_int = (png_uint_16)(((png_uint_32)red*32768L)/100000L); in png_set_rgb_to_gray_fixed()
804 png_ptr->background.red == png_ptr->background.green && in png_init_read_transformations()
805 png_ptr->background.red == png_ptr->background.blue) in png_init_read_transformations()
808 png_ptr->background.gray = png_ptr->background.red; in png_init_read_transformations()
[all …]
/external/ImageMagick/tests/
Dvalidate.c96 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/skia/third_party/libpng/
Dpngrtran.c760 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/pdfium/third_party/libpng16/
Dpngrtran.c760 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/
Dpngrtran.c760 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/iproute2/tc/
Dq_sfq.c40 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/ppp/pppd/plugins/
Dpasswordfd.c35 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/libpng/contrib/gregbook/
Drpng2-x.c1221 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 …]

12345678910>>...40