Home
last modified time | relevance | path

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

12345678910>>...54

/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.c172 static inline void ConvertRGBToCMY(const double red,const double green, in ConvertRGBToCMY() argument
175 *cyan=QuantumScale*(QuantumRange-red); in ConvertRGBToCMY()
188 static void ConvertRGBToLMS(const double red,const double green, in ConvertRGBToLMS() argument
196 ConvertRGBToXYZ(red,green,blue,&X,&Y,&Z); in ConvertRGBToLMS()
200 static void ConvertRGBToLab(const double red,const double green, in ConvertRGBToLab() argument
208 ConvertRGBToXYZ(red,green,blue,&X,&Y,&Z); in ConvertRGBToLab()
212 static void ConvertRGBToLuv(const double red,const double green, in ConvertRGBToLuv() argument
220 ConvertRGBToXYZ(red,green,blue,&X,&Y,&Z); in ConvertRGBToLuv()
224 static void ConvertRGBToxyY(const double red,const double green, in ConvertRGBToxyY() argument
233 ConvertRGBToXYZ(red,green,blue,&X,&Y,&Z); in ConvertRGBToxyY()
[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()
Denhance.c920 pixel.red=clut_map[ScaleQuantumToMap(ClampToQuantum( in ClutImage()
921 pixel.red))].red; in ClutImage()
1026 red, in ColorDecisionListImage() member
1086 color_correction.red.slope=1.0; in ColorDecisionListImage()
1087 color_correction.red.offset=0.0; in ColorDecisionListImage()
1088 color_correction.red.power=1.0; in ColorDecisionListImage()
1118 color_correction.red.slope=StringToDouble(token,(char **) NULL); in ColorDecisionListImage()
1150 color_correction.red.offset=StringToDouble(token, in ColorDecisionListImage()
1183 color_correction.red.power=StringToDouble(token,(char **) NULL); in ColorDecisionListImage()
1223 " color_correction.red.slope: %g",color_correction.red.slope); in ColorDecisionListImage()
[all …]
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/swiftshader/third_party/llvm-7.0/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/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/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/skqp/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/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 …]
/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/python/cpython3/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 list(zip([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 list(zip([red] * numchips, seq, [blue] * numchips))
88 def constant_yellow_generator(numchips, red, green, blue): argument
90 return list(zip([red] * numchips, [green] * numchips, seq))
248 red, green, blue = ColorDB.rrggbb_to_triplet(color)
[all …]
/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/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/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/u-boot/arch/mips/dts/
Dhuawei,hg556a.dts26 label = "HG556a:red:message";
31 label = "HG556a:red:hspa";
36 label = "HG556a:red:dsl";
41 label = "HG556a:red:power";
46 label = "HG556a:red:all";
56 label = "HG556a:red:lan1";
66 label = "HG556a:red:lan2";
76 label = "HG556a:red:lan3";
86 label = "HG556a:red:lan4";
/external/deqp/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp270 ChannelData red; member
355 PixelData getR16IPixelData(int is_source_pixel, GLenum type, int red);
356 PixelData getR16UIPixelData(int is_source_pixel, GLenum type, unsigned int red);
357 PixelData getR32IPixelData(int is_source_pixel, GLenum type, int red);
358 PixelData getR32UIPixelData(int is_source_pixel, GLenum type, unsigned int red);
359 PixelData getR8IPixelData(int is_source_pixel, GLenum type, int red);
360 PixelData getR8UIPixelData(int is_source_pixel, GLenum type, unsigned int red);
361 PixelData getR8PixelData(int is_source_pixel, GLenum type, unsigned char red);
362 PixelData getRG16IPixelData(int is_source_pixel, GLenum type, int red, int green);
363 …PixelData getRG16UIPixelData(int is_source_pixel, GLenum type, unsigned int red, unsigned int gree…
[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/skqp/docs/
DSkColor4f_Reference.bmh17 fA Alpha is may be greater or smaller than fG green, fB blue, or fR red.
21 fA Alpha is equal to or larger than fG green, fB blue, and fR red. The values
28 #Line # red component ##
29 Single precision float for red ranges from no red (0.0) to full red (1.0).
144 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", color.fR, color.fG, color.fB, color.fA);
148 red=0.266667 green=0.533333 blue=0.8 alpha=0.533333
169 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", color.fR, color.fG, color.fB, color.fA);
174 red=0.266667 green=0.533333 blue=0.8 alpha=0.533333
246 uint8_t red = 77, green = 101, blue = 153, alpha = 43;
247 SkColor argb = SkColorSetARGB(alpha, red, green, blue);
[all …]
/external/libpng/
Dpngrtran.c763 int r = (palette[i].red >> (8 - PNG_QUANTIZE_RED_BITS)); in png_set_quantize()
960 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() argument
1002 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) in png_set_rgb_to_gray_fixed()
1011 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000); in png_set_rgb_to_gray_fixed()
1021 if (red >= 0 && green >= 0) in png_set_rgb_to_gray_fixed()
1048 png_set_rgb_to_gray(png_structrp png_ptr, int error_action, double red, in png_set_rgb_to_gray() argument
1052 png_fixed(png_ptr, red, "rgb to gray red coefficient"), in png_set_rgb_to_gray()
1166 png_ptr->background.red = in png_init_palette_transformations()
1167 png_ptr->palette[png_ptr->background.index].red; in png_init_palette_transformations()
1266 png_ptr->background.red = png_ptr->background.green = in png_init_rgb_transformations()
[all …]

12345678910>>...54