Home
last modified time | relevance | path

Searched refs:rgb (Results 1 – 25 of 212) sorted by relevance

123456789

/external/v8/test/mjsunit/tools/
Dprofviz-test.default7 "set style line 1 lt 1 lw 1 lc rgb \"#000000\"",
9 "set style line 2 lt 1 lw 1 lc rgb \"#9944CC\"",
12 "set object 1 rect from 87.51699999999991, 7 to 87.60371656249991, 3 fc rgb \"#9944CC\"",
13 "set object 2 rect from 110.7114999999999, 7 to 110.7982165624999, 3 fc rgb \"#9944CC\"",
14 "set object 3 rect from 133.5129999999999, 7 to 133.59971656249988, 3 fc rgb \"#9944CC\"",
15 …"set object 4 rect from 61.49249999999995, 7 to 61.57921656249995, 5.020618556701031 fc rgb \"#994…
16 …"set object 5 rect from 101.40849999999992, 7 to 101.49521656249992, 5.103092783505154 fc rgb \"#9…
17 …"set object 6 rect from 57.242999999999974, 7 to 57.329716562499975, 6.766323024054983 fc rgb \"#9…
18 …"set object 7 rect from 58.751499999999965, 7 to 58.838216562499966, 6.766323024054983 fc rgb \"#9…
19 …"set object 8 rect from 60.72499999999996, 7 to 60.81171656249996, 6.766323024054983 fc rgb \"#994…
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_format.csv48 # - color space: rgb, yub, sz
62 PIPE_FORMAT_NONE , plain, 1, 1, u8 , , , , x001, rgb
65 PIPE_FORMAT_B8G8R8A8_UNORM , plain, 1, 1, un8 , un8 , un8 , un8 , zyxw, rgb
66 PIPE_FORMAT_B8G8R8X8_UNORM , plain, 1, 1, un8 , un8 , un8 , x8 , zyx1, rgb
67 PIPE_FORMAT_A8R8G8B8_UNORM , plain, 1, 1, un8 , un8 , un8 , un8 , yzwx, rgb
68 PIPE_FORMAT_X8R8G8B8_UNORM , plain, 1, 1, x8 , un8 , un8 , un8 , yzw1, rgb
69 PIPE_FORMAT_A8B8G8R8_UNORM , plain, 1, 1, un8 , un8 , un8 , un8 , wzyx, rgb
70 PIPE_FORMAT_X8B8G8R8_UNORM , plain, 1, 1, x8 , un8 , un8 , un8 , wzy1, rgb
72 PIPE_FORMAT_R8G8B8X8_UNORM , plain, 1, 1, un8 , un8 , un8 , x8 , xyz1, rgb
73 PIPE_FORMAT_B5G5R5X1_UNORM , plain, 1, 1, un5 , un5 , un5 , x1 , zyx1, rgb
[all …]
Du_format_r11g11b10f.h220 static INLINE unsigned float3_to_r11g11b10f(const float rgb[3]) in float3_to_r11g11b10f()
222 return ( f32_to_uf11(rgb[0]) & 0x7ff) | in float3_to_r11g11b10f()
223 ((f32_to_uf11(rgb[1]) & 0x7ff) << 11) | in float3_to_r11g11b10f()
224 ((f32_to_uf10(rgb[2]) & 0x3ff) << 22); in float3_to_r11g11b10f()
227 static INLINE void r11g11b10f_to_float3(unsigned rgb, float retval[3]) in r11g11b10f_to_float3() argument
229 retval[0] = uf11_to_f32( rgb & 0x7ff); in r11g11b10f_to_float3()
230 retval[1] = uf11_to_f32((rgb >> 11) & 0x7ff); in r11g11b10f_to_float3()
231 retval[2] = uf10_to_f32((rgb >> 22) & 0x3ff); in r11g11b10f_to_float3()
Du_format_rgb9e5.h101 static INLINE unsigned float3_to_rgb9e5(const float rgb[3]) in float3_to_rgb9e5()
110 rc = rgb9e5_ClampRange(rgb[0]); in float3_to_rgb9e5()
111 gc = rgb9e5_ClampRange(rgb[1]); in float3_to_rgb9e5()
112 bc = rgb9e5_ClampRange(rgb[2]); in float3_to_rgb9e5()
149 static INLINE void rgb9e5_to_float3(unsigned rgb, float retval[3]) in rgb9e5_to_float3() argument
155 v.raw = rgb; in rgb9e5_to_float3()
/external/skia/experimental/docs/
DexampleSlides.js280 "axisStroke": { "style":"stroke", "color":rgb(191,191,191) },
281 "axisTextDesc": { "paint":"textBase", "color":rgb(191,191,191) },
284 "diagSegment": { "style":"stroke", "color":rgb(127,63,127), "strokeWidth":2 },
293 "horzSegment": { "paint":"diagSegment", "color":rgb(192,92,31) },
295 "sectorADesc": { "paint":"textBase", "color":rgb(0,0,255) },
296 "sectorBDesc": { "paint":"textBase", "color":rgb(0,127,0) },
297 "sectorCDesc": { "paint":"textBase", "color":rgb(255,0,0) },
298 "sectorXY1": { "paint":"textBase", "color":rgb(192,63,192) },
299 "sectorXY2": { "paint":"textBase", "color":rgb(127,127,0) },
300 "sectorXY3": { "paint":"textBase", "color":rgb(255,0,0) },
[all …]
/external/libdrm/tests/util/
Dpattern.c67 #define MAKE_RGBA(rgb, r, g, b, a) \ argument
68 ((((r) >> (8 - (rgb)->red.length)) << (rgb)->red.offset) | \
69 (((g) >> (8 - (rgb)->green.length)) << (rgb)->green.offset) | \
70 (((b) >> (8 - (rgb)->blue.length)) << (rgb)->blue.offset) | \
71 (((a) >> (8 - (rgb)->alpha.length)) << (rgb)->alpha.offset))
73 #define MAKE_RGB24(rgb, r, g, b) \ argument
74 { .value = MAKE_RGBA(rgb, r, g, b, 0) }
279 static void fill_smpte_rgb16(const struct util_rgb_info *rgb, void *mem, in fill_smpte_rgb16() argument
284 MAKE_RGBA(rgb, 192, 192, 192, 255), /* grey */ in fill_smpte_rgb16()
285 MAKE_RGBA(rgb, 192, 192, 0, 255), /* yellow */ in fill_smpte_rgb16()
[all …]
/external/v8/tools/
Ddraw_instruction_graph.sh99 set style line 2 lc rgb '#800000'
100 set style line 3 lc rgb '#d00000'
101 set style line 4 lc rgb '#ff6000'
102 set style line 5 lc rgb '#ffc000'
103 set style line 6 lc rgb '#ffff00'
105 set style line 7 lc rgb '#ff00ff'
106 set style line 8 lc rgb '#ffc0ff'
108 set style line 9 lc rgb '#004040'
109 set style line 10 lc rgb '#008080'
110 set style line 11 lc rgb '#40c0c0'
[all …]
/external/libjpeg-turbo/
Djdcol565.c38 INT32 rgb; in LOCAL() local
54 rgb = PACK_SHORT_565(r, g, b); in LOCAL()
55 *(INT16*)outptr = rgb; in LOCAL()
67 rgb = PACK_SHORT_565(r, g, b); in LOCAL()
76 rgb = PACK_TWO_PIXELS(rgb, PACK_SHORT_565(r, g, b)); in LOCAL()
78 WRITE_TWO_ALIGNED_PIXELS(outptr, rgb); in LOCAL()
89 rgb = PACK_SHORT_565(r, g, b); in LOCAL()
90 *(INT16*)outptr = rgb; in LOCAL()
118 INT32 rgb; in LOCAL() local
135 rgb = PACK_SHORT_565(r, g, b); in LOCAL()
[all …]
Djdmrg565.c35 INT32 rgb; in LOCAL() local
57 rgb = PACK_SHORT_565(r, g, b); in LOCAL()
63 rgb = PACK_TWO_PIXELS(rgb, PACK_SHORT_565(r, g, b)); in LOCAL()
65 WRITE_TWO_PIXELS(outptr, rgb); in LOCAL()
80 rgb = PACK_SHORT_565(r, g, b); in LOCAL()
81 *(INT16*)outptr = rgb; in LOCAL()
107 INT32 rgb; in LOCAL() local
130 rgb = PACK_SHORT_565(r, g, b); in LOCAL()
137 rgb = PACK_TWO_PIXELS(rgb, PACK_SHORT_565(r, g, b)); in LOCAL()
139 WRITE_TWO_PIXELS(outptr, rgb); in LOCAL()
[all …]
/external/skia/src/images/
DSkImageDecoder_libwebp.cpp333 static void ARGB_8888_To_RGB(const uint8_t* in, uint8_t* rgb, int width, in ARGB_8888_To_RGB() argument
338 rgb[0] = SkGetPackedR32(c); in ARGB_8888_To_RGB()
339 rgb[1] = SkGetPackedG32(c); in ARGB_8888_To_RGB()
340 rgb[2] = SkGetPackedB32(c); in ARGB_8888_To_RGB()
341 rgb += 3; in ARGB_8888_To_RGB()
345 static void ARGB_8888_To_RGBA(const uint8_t* in, uint8_t* rgb, int width, in ARGB_8888_To_RGBA() argument
362 rgb[0] = r; in ARGB_8888_To_RGBA()
363 rgb[1] = g; in ARGB_8888_To_RGBA()
364 rgb[2] = b; in ARGB_8888_To_RGBA()
365 rgb[3] = a; in ARGB_8888_To_RGBA()
[all …]
/external/libvncserver/webclients/novnc/include/
Dblue.css15 color-stop(0.54, rgb(10,15,79)),
16 color-stop(0.5, rgb(4,7,61))
20 rgb(10,15,79) 54%,
21 rgb(4,7,61) 50%
30 color-stop(0.54, rgb(240,64,64)),
31 color-stop(0.5, rgb(4,7,61))
35 rgb(4,7,61) 54%,
36 rgb(249,64,64) 50%
45 color-stop(0.54, rgb(240,240,64)),
46 color-stop(0.5, rgb(4,7,61))
[all …]
/external/opencv3/3rdparty/libwebp/dsp/
Dyuv.h74 uint8_t* const rgb) { in VP8YuvToRgb() argument
78 rgb[0] = VP8kClip[y + r_off - YUV_RANGE_MIN]; in VP8YuvToRgb()
79 rgb[1] = VP8kClip[y + g_off - YUV_RANGE_MIN]; in VP8YuvToRgb()
80 rgb[2] = VP8kClip[y + b_off - YUV_RANGE_MIN]; in VP8YuvToRgb()
94 uint8_t* const rgb) { in VP8YuvToRgb565() argument
103 rgb[0] = gb; in VP8YuvToRgb565()
104 rgb[1] = rg; in VP8YuvToRgb565()
106 rgb[0] = rg; in VP8YuvToRgb565()
107 rgb[1] = gb; in VP8YuvToRgb565()
163 uint8_t* const rgb) { in VP8YuvToRgb() argument
[all …]
/external/opencv3/3rdparty/openexr/Imath/
DImathColorAlgo.h58 Vec3<double> rgb2hsv_d(const Vec3<double> &rgb);
60 Color4<double> rgb2hsv_d(const Color4<double> &rgb);
120 rgb2hsv(const Vec3<T> &rgb) in rgb2hsv() argument
124 Vec3<double> v = Vec3<double>(rgb.x / double(limits<T>::max()), in rgb2hsv()
125 rgb.y / double(limits<T>::max()), in rgb2hsv()
126 rgb.z / double(limits<T>::max())); in rgb2hsv()
134 Vec3<double> v = Vec3<double>(rgb.x, rgb.y, rgb.z); in rgb2hsv()
143 rgb2hsv(const Color4<T> &rgb) in rgb2hsv() argument
147 Color4<double> v = Color4<double>(rgb.r / float(limits<T>::max()), in rgb2hsv()
148 rgb.g / float(limits<T>::max()), in rgb2hsv()
[all …]
/external/opencv3/modules/imgproc/test/
Dtest_cvtyuv.cpp37 virtual RGB read(const Mat& rgb, int row, int col) = 0;
48 virtual void write(Mat& rgb, int row, int col, const RGB& val) = 0;
86 void write(Mat& rgb, int row, int col, const RGB& val) in write() argument
88 rgb.at<Vec3b>(row, col) = val; in write()
96 void write(Mat& rgb, int row, int col, const RGB& val) in write() argument
99 rgb.at<Vec3b>(row, col) = tmp; in write()
107 void write(Mat& rgb, int row, int col, const RGB& val) in write() argument
110 rgb.at<Vec4b>(row, col) = tmp; in write()
118 void write(Mat& rgb, int row, int col, const RGB& val) in write() argument
121 rgb.at<Vec4b>(row, col) = tmp; in write()
[all …]
/external/skia/gm/
Dimagefromyuvtextures.cpp74 int rgb[] = { 0, 0, 0 }; in onOnceBeforeDraw() local
78 rgb[0] += SkGetPackedR32(rgbColors[rgbIndex]); in onOnceBeforeDraw()
79 rgb[1] += SkGetPackedG32(rgbColors[rgbIndex]); in onOnceBeforeDraw()
80 rgb[2] += SkGetPackedB32(rgbColors[rgbIndex]); in onOnceBeforeDraw()
84 rgb[c] /= 4; in onOnceBeforeDraw()
88 ((-38 * rgb[0] - 74 * rgb[1] + 112 * rgb[2] + 128) >> 8) + 128); in onOnceBeforeDraw()
90 ((112 * rgb[0] - 94 * rgb[1] - 18 * rgb[2] + 128) >> 8) + 128); in onOnceBeforeDraw()
/external/webp/src/dsp/
Dyuv_sse2.c180 static WEBP_INLINE void PlanarTo24b(__m128i* const in /*in[6]*/, uint8_t* rgb) { in PlanarTo24b() argument
201 _mm_storeu_si128((__m128i*)(rgb + 0), tmp[0]); in PlanarTo24b()
202 _mm_storeu_si128((__m128i*)(rgb + 16), tmp[1]); in PlanarTo24b()
203 _mm_storeu_si128((__m128i*)(rgb + 32), tmp[2]); in PlanarTo24b()
204 _mm_storeu_si128((__m128i*)(rgb + 48), tmp[3]); in PlanarTo24b()
205 _mm_storeu_si128((__m128i*)(rgb + 64), tmp[4]); in PlanarTo24b()
206 _mm_storeu_si128((__m128i*)(rgb + 80), tmp[5]); in PlanarTo24b()
267 __m128i rgb[6]; in VP8YuvToRgb32() local
275 rgb[0] = _mm_packus_epi16(R0, R1); in VP8YuvToRgb32()
276 rgb[1] = _mm_packus_epi16(R2, R3); in VP8YuvToRgb32()
[all …]
Dyuv.c221 static void ConvertRGB24ToY(const uint8_t* rgb, uint8_t* y, int width) { in ConvertRGB24ToY() argument
223 for (i = 0; i < width; ++i, rgb += 3) { in ConvertRGB24ToY()
224 y[i] = VP8RGBToY(rgb[0], rgb[1], rgb[2], YUV_HALF); in ConvertRGB24ToY()
235 void WebPConvertRGBA32ToUV_C(const uint16_t* rgb, in WebPConvertRGBA32ToUV_C() argument
238 for (i = 0; i < width; i += 1, rgb += 4) { in WebPConvertRGBA32ToUV_C()
239 const int r = rgb[0], g = rgb[1], b = rgb[2]; in WebPConvertRGBA32ToUV_C()
247 void (*WebPConvertRGB24ToY)(const uint8_t* rgb, uint8_t* y, int width);
249 void (*WebPConvertRGBA32ToUV)(const uint16_t* rgb,
Dyuv.h94 uint8_t* const rgb) { in VP8YuvToRgb() argument
95 rgb[0] = VP8YUVToR(y, v); in VP8YuvToRgb()
96 rgb[1] = VP8YUVToG(y, u, v); in VP8YuvToRgb()
97 rgb[2] = VP8YUVToB(y, u); in VP8YuvToRgb()
108 uint8_t* const rgb) { in VP8YuvToRgb565() argument
115 rgb[0] = gb; in VP8YuvToRgb565()
116 rgb[1] = rg; in VP8YuvToRgb565()
118 rgb[0] = rg; in VP8YuvToRgb565()
119 rgb[1] = gb; in VP8YuvToRgb565()
/external/opencv/otherlibs/highgui/
Dutils.cpp83 void icvCvt_BGR2Gray_8u_C3C1R( const uchar* rgb, int rgb_step, in icvCvt_BGR2Gray_8u_C3C1R() argument
91 for( i = 0; i < size.width; i++, rgb += 3 ) in icvCvt_BGR2Gray_8u_C3C1R()
93 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE ); in icvCvt_BGR2Gray_8u_C3C1R()
97 rgb += rgb_step - size.width*3; in icvCvt_BGR2Gray_8u_C3C1R()
102 void icvCvt_BGR2Gray_16u_C3C1R( const ushort* rgb, int rgb_step, in icvCvt_BGR2Gray_16u_C3C1R() argument
110 for( i = 0; i < size.width; i++, rgb += 3 ) in icvCvt_BGR2Gray_16u_C3C1R()
112 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE ); in icvCvt_BGR2Gray_16u_C3C1R()
116 rgb += rgb_step - size.width*3; in icvCvt_BGR2Gray_16u_C3C1R()
195 uchar* rgb, int rgb_step, CvSize size ) in icvCvt_BGR2RGB_8u_C3R() argument
200 for( i = 0; i < size.width; i++, bgr += 3, rgb += 3 ) in icvCvt_BGR2RGB_8u_C3R()
[all …]
/external/opencv3/modules/imgcodecs/src/
Dutils.cpp50 void icvCvt_BGR2Gray_8u_C3C1R( const uchar* rgb, int rgb_step, in icvCvt_BGR2Gray_8u_C3C1R() argument
58 for( i = 0; i < size.width; i++, rgb += 3 ) in icvCvt_BGR2Gray_8u_C3C1R()
60 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE ); in icvCvt_BGR2Gray_8u_C3C1R()
64 rgb += rgb_step - size.width*3; in icvCvt_BGR2Gray_8u_C3C1R()
69 void icvCvt_BGRA2Gray_16u_CnC1R( const ushort* rgb, int rgb_step, in icvCvt_BGRA2Gray_16u_CnC1R() argument
77 for( i = 0; i < size.width; i++, rgb += ncn ) in icvCvt_BGRA2Gray_16u_CnC1R()
79 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE ); in icvCvt_BGRA2Gray_16u_CnC1R()
83 rgb += rgb_step - size.width*ncn; in icvCvt_BGRA2Gray_16u_CnC1R()
216 uchar* rgb, int rgb_step, CvSize size ) in icvCvt_BGR2RGB_8u_C3R() argument
221 for( i = 0; i < size.width; i++, bgr += 3, rgb += 3 ) in icvCvt_BGR2RGB_8u_C3R()
[all …]
/external/skia/src/core/
DSkXfermode4f.cpp378 static Sk4f lcd16_to_unit_4f(uint16_t rgb) { in lcd16_to_unit_4f() argument
380 Sk4i rgbi = Sk4i(SkGetPackedR16(rgb), SkGetPackedG16(rgb), SkGetPackedB16(rgb), 0); in lcd16_to_unit_4f()
382 Sk4i rgbi = Sk4i(SkGetPackedB16(rgb), SkGetPackedG16(rgb), SkGetPackedR16(rgb), 0); in lcd16_to_unit_4f()
395 uint16_t rgb = lcd[i]; in src_1_lcd() local
396 if (0 == rgb) { in src_1_lcd()
400 … dst[i] = to_4b(lerp(s4bias, d4bias, lcd16_to_unit_4f(rgb))) | (SK_A32_MASK << SK_A32_SHIFT); in src_1_lcd()
404 uint16_t rgb = lcd[i]; in src_1_lcd() local
405 if (0 == rgb) { in src_1_lcd()
409 … dst[i] = store_dst<D>(lerp(s4, d4, lcd16_to_unit_4f(rgb))) | (SK_A32_MASK << SK_A32_SHIFT); in src_1_lcd()
417 uint16_t rgb = lcd[i]; in src_n_lcd() local
[all …]
/external/replicaisland/tools/
DExtractPoints.js197 black.rgb.red = 0;
198 black.rgb.blue = 0;
199 black.rgb.green = 0;
202 redColor.rgb.red = 255;
203 redColor.rgb.blue = 0;
204 redColor.rgb.green = 0;
207 greenColor.rgb.red = 0;
208 greenColor.rgb.blue = 0;
209 greenColor.rgb.green = 255;
212 blueColor.rgb.red = 0;
[all …]
/external/libvncserver/libvncclient/
Dcursor.c50 rfbXCursorColors rgb; in HandleCursorShape() local
82 if (!ReadFromRFBServer(client, (char *)&rgb, sz_rfbXCursorColors)) { in HandleCursorShape()
88 colors[0] = RGB24_TO_PIXEL(32, rgb.backRed, rgb.backGreen, rgb.backBlue); in HandleCursorShape()
89 colors[1] = RGB24_TO_PIXEL(32, rgb.foreRed, rgb.foreGreen, rgb.foreBlue); in HandleCursorShape()
/external/deqp/modules/gles2/functional/
Des2fShaderAlgorithmTests.cpp188 Vec3 rgb = Vec3(L); in init()
200 if (sextant == 0) rgb = Vec3(v, mid1, m); in init()
201 else if (sextant == 1) rgb = Vec3(mid2, v, m); in init()
202 else if (sextant == 2) rgb = Vec3(m, v, mid1); in init()
203 else if (sextant == 3) rgb = Vec3(m, mid2, v); in init()
204 else if (sextant == 4) rgb = Vec3(mid1, m, v); in init()
205 else rgb = Vec3(v, m, mid2); in init()
207 c.color.xyz() = rgb; in init()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DUtils.java148 static int closest(RGB[] rgbs, int n, RGB rgb) { in closest() argument
153 int da = rgb2.red - rgb.red; in closest()
154 int dg = rgb2.green - rgb.green; in closest()
155 int db = rgb2.blue - rgb.blue; in closest()
166 RGB rgb; field in Utils.ColorCounter
188 RGB rgb = data.palette.getRGB(pixels[x]); in downSample() local
189 ColorCounter counter = (ColorCounter) freq.get(rgb); in downSample()
192 counter.rgb = rgb; in downSample()
193 freq.put(rgb, counter); in downSample()
212 rgbs[i] = counters[i].rgb; in downSample()
[all …]

123456789