Home
last modified time | relevance | path

Searched refs:rgb (Results 1 – 25 of 216) 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()
/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/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/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/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/libgdx/tests/gdx-tests-android/assets/data/g3d/shaders/
Dgouraud.glsl62 gl_FragColor.rgb = diffuse.rgb;
66 gl_FragColor.rgb = (diffuse.rgb * (g_lightAmbient + getShadow() * g_lightDiffuse));
67 //gl_FragColor.rgb = texture2D(u_shadowTexture, v_shadowMapUv.xy);
69 gl_FragColor.rgb = (diffuse.rgb * (g_lightAmbient + g_lightDiffuse));
73 gl_FragColor.rgb = getShadow() * (diffuse.rgb * g_lightDiffuse);
75 gl_FragColor.rgb = (diffuse.rgb * g_lightDiffuse);
83 gl_FragColor.rgb = (diffuse.rgb * (getShadow() * g_lightDiffuse + g_lightAmbient)) + specular;
84 //gl_FragColor.rgb = texture2D(u_shadowTexture, v_shadowMapUv.xy);
86 gl_FragColor.rgb = (diffuse.rgb * (g_lightDiffuse + g_LightAmbient)) + specular;
90 gl_FragColor.rgb = getShadow() * ((diffuse.rgb * g_lightDiffuse) + specular);
[all …]
Dphong.glsl90 gl_FragColor.rgb = diffuse.rgb;
94 gl_FragColor.rgb = (diffuse.rgb * (g_lightAmbient + getShadow() * g_lightDiffuse));
95 //gl_FragColor.rgb = texture2D(u_shadowTexture, v_shadowMapUv.xy);
97 gl_FragColor.rgb = (diffuse.rgb * (g_lightAmbient + g_lightDiffuse));
101 gl_FragColor.rgb = getShadow() * (diffuse.rgb * g_lightDiffuse);
103 gl_FragColor.rgb = (diffuse.rgb * g_lightDiffuse);
111 gl_FragColor.rgb = (diffuse.rgb * (getShadow() * g_lightDiffuse + g_lightAmbient)) + specular;
112 //gl_FragColor.rgb = texture2D(u_shadowTexture, v_shadowMapUv.xy);
114 gl_FragColor.rgb = (diffuse.rgb * (g_lightDiffuse + g_LightAmbient)) + specular;
118 gl_FragColor.rgb = getShadow() * ((diffuse.rgb * g_lightDiffuse) + specular);
[all …]
Dtest.glsl115 vec3 environment = textureCube(u_environmentCubemap, reflectDir).rgb;
118 …diffuse.rgb = saturate(vec3(1.0) - u_reflectionColor.rgb) * diffuse.rgb + environment * u_reflecti…
122 gl_FragColor = vec4(saturate((v_lightCol * diffuse.rgb) * NL), diffuse.w);
123 gl_FragColor.rgb += v_ambientLight * diffuse.rgb;
124 gl_FragColor.rgb += (selfShadow * spec) * specular;
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/
Ddefault.fragment.glsl131 gl_FragColor.rgb = diffuse.rgb;
135 gl_FragColor.rgb = (diffuse.rgb * (v_ambientLight + getShadow() * v_lightDiffuse));
136 //gl_FragColor.rgb = texture2D(u_shadowTexture, v_shadowMapUv.xy);
138 gl_FragColor.rgb = (diffuse.rgb * (v_ambientLight + v_lightDiffuse));
142 gl_FragColor.rgb = getShadow() * (diffuse.rgb * v_lightDiffuse);
144 gl_FragColor.rgb = (diffuse.rgb * v_lightDiffuse);
149 …vec3 specular = texture2D(u_specularTexture, v_specularUV).rgb * u_specularColor.rgb * v_lightSpec…
151 vec3 specular = texture2D(u_specularTexture, v_specularUV).rgb * v_lightSpecular;
153 vec3 specular = u_specularColor.rgb * v_lightSpecular;
160 gl_FragColor.rgb = (diffuse.rgb * (getShadow() * v_lightDiffuse + v_ambientLight)) + specular;
[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/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/libgdx/extensions/gdx-setup/src/com/badlogic/gdx/setup/resources/html/war/
Dstyles.css11 color: rgb(37,37,37);
17 background-color: rgb(83,87,93);
18 box-shadow: 0px 3px 0px 0px rgb(34,34,34),
19 0px 7px 10px 0px rgb(17,17,17),
31 box-shadow: 0px 0px 0px 0px rgb(34,34,34),
32 0px 3px 7px 0px rgb(17,17,17),
35 background-color: rgb(83,87,93);
38 text-shadow: 0px 0px 3px rgb(250,250,250);
42 background-color: rgb(100,100,100);
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
DColorBleedEffect.java40 int[] rgb = image.getRGB(0, 0, width, height, null, 0, width); in processImage() local
41 Mask mask = new Mask(rgb); in processImage()
47 executeIteration(rgb, mask, width, height); in processImage()
51 processedImage.setRGB(0, 0, width, height, rgb, 0, width); in processImage()
55 private void executeIteration (int[] rgb, Mask mask, int width, int height) { in executeIteration() argument
73 color.argb = rgb[currentPixelIndex]; in executeIteration()
83 rgb[pixelIndex] = color.argb; in executeIteration()
99 Mask (int[] rgb) { in Mask() argument
100 data = new int[rgb.length]; in Mask()
101 pending = new int[rgb.length]; in Mask()
[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/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/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,
/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 …]

123456789