Home
last modified time | relevance | path

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

12345678910>>...24

/external/libnl/lib/route/sch/
Dred.c57 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/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/opencv3/3rdparty/openexr/IlmImf/
DImfChromaticities.cpp48 Chromaticities::Chromaticities (const Imath::V2f &red, in Chromaticities() argument
53 red (red), in Chromaticities()
84 float d = chroma.red.x * (chroma.blue.y - chroma.green.y) + in RGBtoXYZ()
85 chroma.blue.x * (chroma.green.y - chroma.red.y) + in RGBtoXYZ()
86 chroma.green.x * (chroma.red.y - chroma.blue.y); in RGBtoXYZ()
94 float Sg = (X * (chroma.red.y - chroma.blue.y) + in RGBtoXYZ()
95 chroma.red.x * (Y * (chroma.blue.y - 1) + in RGBtoXYZ()
97 chroma.blue.x * (Y * (chroma.red.y - 1) + in RGBtoXYZ()
98 chroma.red.y * (X + Z))) / d; in RGBtoXYZ()
100 float Sb = (X * (chroma.green.y - chroma.red.y) - in RGBtoXYZ()
[all …]
/external/skia/src/codec/
DSkMaskSwizzler.cpp21 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 …]
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/animator/
DSkDrawColor.cpp25 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/
Dtricky01.dat19 <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 …]
Dtests23.dat2 <p><font size=4><font color=red><font size=4><font size=4><font size=4><font size=4><font size=4><f…
15 | color="red"
27 | color="red"
30 | color="red"
38 | color="red"
/external/mesa3d/src/mesa/main/
Dtexcompress_rgtc.c298 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/opencv3/modules/cudacodec/src/cuda/
Dnv12_to_rgb.cu69 __device__ static void YUV2RGB(const uint* yuvi, float* red, float* green, float* blue) in YUV2RGB() argument
79 *red = (luma * constHueColorSpaceMat[0]) + in YUV2RGB()
92 __device__ static uint RGBA_pack_10bit(float red, float green, float blue, uint alpha) in RGBA_pack_10bit() argument
97 red = ::fmin(::fmax(red, 0.0f), 1023.f); in RGBA_pack_10bit()
104 (((uint)red >> 2) << 16) | in RGBA_pack_10bit()
166 float red[2], green[2], blue[2]; in NV12_to_RGB() local
177 YUV2RGB(&yuvi[0], &red[0], &green[0], &blue[0]); in NV12_to_RGB()
178 YUV2RGB(&yuvi[3], &red[1], &green[1], &blue[1]); in NV12_to_RGB()
184 …dstImage[y * dstImagePitch + x ] = RGBA_pack_10bit(red[0], green[0], blue[0], ((uint)0xff << 2… in NV12_to_RGB()
185 …dstImage[y * dstImagePitch + x + 1 ] = RGBA_pack_10bit(red[1], green[1], blue[1], ((uint)0xff << 2… in NV12_to_RGB()
/external/opencv3/3rdparty/libpng/
Dpngrtran.c725 int r = (palette[i].red >> (8 - PNG_QUANTIZE_RED_BITS)); in png_set_quantize()
930 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() argument
967 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) in png_set_rgb_to_gray_fixed()
976 red_int = (png_uint_16)(((png_uint_32)red*32768)/100000); in png_set_rgb_to_gray_fixed()
986 if (red >= 0 && green >= 0) in png_set_rgb_to_gray_fixed()
1013 png_set_rgb_to_gray(png_structp png_ptr, int error_action, double red, in png_set_rgb_to_gray() argument
1020 png_fixed(png_ptr, red, "rgb to gray red coefficient"), in png_set_rgb_to_gray()
1131 png_ptr->background.red = in png_init_palette_transformations()
1132 png_ptr->palette[png_ptr->background.index].red; in png_init_palette_transformations()
1231 png_ptr->background.red = png_ptr->background.green = in png_init_rgb_transformations()
[all …]
/external/pdfium/third_party/lpng_v163/
Dpngrtran.c755 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/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/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 …]
Dreadpng.c156 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()
Drpng-x.c712 ulg red, green, blue; in rpng_x_display_image() local
719 red = *src++; in rpng_x_display_image()
723 pixel = (red << RShift) | in rpng_x_display_image()
733 red = (RShift < 0)? red << (-RShift) : red >> RShift; in rpng_x_display_image()
736 pixel = (red & RMask) | (green & GMask) | (blue & BMask); in rpng_x_display_image()
751 red = r; in rpng_x_display_image()
755 red = bg_red; in rpng_x_display_image()
762 alpha_composite(red, r, a, bg_red); in rpng_x_display_image()
766 pixel = (red << RShift) | in rpng_x_display_image()
786 ush red, green, blue; in rpng_x_display_image() local
[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()
Dpassprompt.c33 ssize_t red; in promptpass() local
73 red = read(p[0], passwd + readgood, MAXSECRETLEN-1 - readgood); in promptpass()
74 if (red == 0) in promptpass()
76 if (red < 0) { in promptpass()
83 readgood += red; in promptpass()
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Drtp_analyze.cc35 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()
/external/v8/benchmarks/
Draytrace.js80 red : 0.0, property in Flog.RayTracer.Color
89 this.red = r;
97 result.red = c1.red + c2.red;
107 result.red = c1.red + s;
119 result.red = c1.red - c2.red;
129 result.red = c1.red * c2.red;
139 result.red = c1.red * f;
149 result.red = c1.red / f;
157 this.red = (this.red > 0.0) ? ( (this.red > 1.0) ? 1.0 : this.red ) : 0.0;
163 …var d = Math.abs(this.red - color.red) + Math.abs(this.green - color.green) + Math.abs(this.blue -…
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowColor.java11 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/eigen/blas/testing/
Drunblastest.sh4 red='\E[31m'
21 echo -e $red Test $1 failed: $black
29 echo -e $red "Test $1 failed (FATAL ERROR, read the file $1.summ for details)" $black
37 …echo -e $red "Test $1 failed (FAILED THE TESTS OF ERROR-EXITS, read the file $1.summ for details)…
/external/mesa3d/src/mesa/drivers/x11/
Dxm_tri.c74 PACK_TRUECOLOR(p, FixedToInt(span.red), \
79 span.red += span.redStep; \
108 pRow[i] = PACK_8A8B8G8R(FixedToInt(span.red), \
113 span.red += span.redStep; \
143 pRow[i] = PACK_8A8R8G8B(FixedToInt(span.red), \
148 span.red += span.redStep; \
177 pRow[i] = PACK_8R8G8B(FixedToInt(span.red), \
181 span.red += span.redStep; \
209 ptr->r = FixedToInt(span.red); \
214 span.red += span.redStep; \
[all …]
/external/deqp/modules/gles3/functional/
Des3fClippingTests.cpp383 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in genColorString() local
388 if (p == red) return "(red)"; in genColorString()
1454 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in init() local
1459 {tcu::Vec4( 0.0f, 0.0f, 0.0f, 1.0f), red, tcu::Vec4( 1.3f, 1.0f, 2.0f, 1.0f), yellow }, in init()
1460 {tcu::Vec4( 0.0f, 0.0f, 0.0f, 1.0f), red, tcu::Vec4( 1.3f, -1.0f, 2.0f, 1.0f), lightBlue }, in init()
1461 {tcu::Vec4( 0.0f, 0.0f, 0.0f, 1.0f), red, tcu::Vec4(-1.0f, -1.0f, -2.0f, 1.0f), yellow }, in init()
1462 {tcu::Vec4( 0.0f, 0.0f, 0.0f, 1.0f), red, tcu::Vec4(-1.0f, 1.0f, -2.0f, 1.0f), lightBlue }, in init()
1507 const tcu::Vec4 red (1.0f, 0.0f, 0.0f, 1.0f); in init() local
1564 …{tcu::Vec4(-0.2f, -0.3f, 0.0f, 1.0f), red, tcu::Vec4( 0.2f, -0.3f, 0.0f, 1.0f), yellow, tcu::… in init()
1567 …{tcu::Vec4( 0.6f, 1.2f, 0.0f, 1.0f), red, tcu::Vec4( 1.2f, 0.6f, 0.0f, 1.0f), yellow, tcu::V… in init()
[all …]

12345678910>>...24