HomeSort by relevance Sort by last modified time
    Searched refs:rgb (Results 76 - 100 of 569) sorted by null

1 2 34 5 6 7 8 91011>>

  /hardware/bsp/intel/peripheral/libupm/src/tcs3414cs/
tcs3414cs.cxx 69 TCS3414CS::readRGB (tcs3414sc_rgb_t * rgb) {
74 rgb->g = buffer[1] * 256 + buffer[0];
75 rgb->r = buffer[3] * 256 + buffer[2];
76 rgb->b = buffer[5] * 256 + buffer[4];
77 rgb->clr = buffer[7] * 256 + buffer[6];
  /external/skia/gm/
imagefromyuvtextures.cpp 38 // We create an RGB bitmap and then extract YUV bmps where the U and V bitmaps are
65 // yuv color spaces when converted back to RGB)
73 // Average together 4 pixels of RGB.
74 int rgb[] = { 0, 0, 0 }; variable
78 rgb[0] += SkGetPackedR32(rgbColors[rgbIndex]);
79 rgb[1] += SkGetPackedG32(rgbColors[rgbIndex]);
80 rgb[2] += SkGetPackedB32(rgbColors[rgbIndex]);
84 rgb[c] /= 4;
88 ((-38 * rgb[0] - 74 * rgb[1] + 112 * rgb[2] + 128) >> 8) + 128)
    [all...]
  /cts/apps/CameraITS/tests/scene1/
test_param_noise_reduction.py 95 r_snrs = [rgb[0] for rgb in rgb_snr_list]
96 g_snrs = [rgb[1] for rgb in rgb_snr_list]
97 b_snrs = [rgb[2] for rgb in rgb_snr_list]
112 pylab.plot(range(5), snrs[j], "rgb"[j])
test_yuv_jpeg_all.py 53 rgb = its.image.compute_image_means(tile)
54 rgbs.append(rgb)
70 rgb = its.image.compute_image_means(tile)
71 rgbs.append(rgb)
  /external/opencv/otherlibs/highgui/
utils.cpp 83 void icvCvt_BGR2Gray_8u_C3C1R( const uchar* rgb, int rgb_step,
91 for( i = 0; i < size.width; i++, rgb += 3 )
93 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE );
97 rgb += rgb_step - size.width*3;
102 void icvCvt_BGR2Gray_16u_C3C1R( const ushort* rgb, int rgb_step,
110 for( i = 0; i < size.width; i++, rgb += 3 )
112 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE )
    [all...]
  /external/replicaisland/tools/
ExtractPoints.js 188 NewDocumentMode.RGB);
197 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
    [all...]
  /external/webp/src/dsp/
yuv.c 10 // YUV->RGB conversion functions
221 static void ConvertRGB24ToY(const uint8_t* rgb, uint8_t* y, int width) {
223 for (i = 0; i < width; ++i, rgb += 3) {
224 y[i] = VP8RGBToY(rgb[0], rgb[1], rgb[2], YUV_HALF);
235 void WebPConvertRGBA32ToUV_C(const uint16_t* rgb,
238 for (i = 0; i < width; i += 1, rgb += 4) {
239 const int r = rgb[0], g = rgb[1], b = rgb[2]
    [all...]
yuv.h 10 // inline YUV<->RGB conversion function
17 // We use 16bit fixed point operations for RGB->YUV conversion (YUV_FIX).
19 // For the Y'CbCr to RGB conversion, the BT.601 specification reads:
52 // YUV -> RGB conversion
59 YUV_FIX = 16, // fixed-point precision for RGB->YUV
65 YUV_FIX2 = 6, // fixed-point precision for YUV->RGB
94 uint8_t* const rgb) {
95 rgb[0] = VP8YUVToR(y, v);
96 rgb[1] = VP8YUVToG(y, u, v);
97 rgb[2] = VP8YUVToB(y, u)
    [all...]
yuv_sse2.c 10 // YUV->RGB conversion functions
21 // Convert spans of 32 pixels to various RGB formats for the fancy upsampler.
179 // triplet by triplet in the output buffer rgb as rgbrgbrgbrgb ...
180 static WEBP_INLINE void PlanarTo24b(__m128i* const in /*in[6]*/, uint8_t* rgb) {
201 _mm_storeu_si128((__m128i*)(rgb + 0), tmp[0]);
202 _mm_storeu_si128((__m128i*)(rgb + 16), tmp[1]);
203 _mm_storeu_si128((__m128i*)(rgb + 32), tmp[2]);
204 _mm_storeu_si128((__m128i*)(rgb + 48), tmp[3]);
205 _mm_storeu_si128((__m128i*)(rgb + 64), tmp[4]);
206 _mm_storeu_si128((__m128i*)(rgb + 80), tmp[5])
267 __m128i rgb[6]; local
379 __m128i rgb[6]; local
    [all...]
  /frameworks/native/services/surfaceflinger/Effects/
Daltonizer.cpp 52 // converts a linear RGB color to the XYZ space
64 // Direct conversion from linear RGB to LMS
67 // And back from LMS to linear RGB
72 // because it would create a color outside of the RGB gammut.
74 // within the RGB gammut:
81 const vec3& lms_r(rgb2lms[0].rgb);
83 const vec3& lms_b(rgb2lms[2].rgb);
85 const vec3 lms_w((rgb2lms * vec4(1)).rgb);
  /cts/tests/tests/graphics/src/android/graphics/cts/
LightingColorFilterTest.java 70 new LightingColorFilter(Color.rgb(0x80, 0xFF, 0x80), Color.rgb(0, 10, 10)));
78 new LightingColorFilter(Color.rgb(0x80, 0xFF, 0x80), Color.rgb(0, 10, 10)));
  /external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
OrientationSensorExampleActivity.java 77 new BarFormatter(Color.rgb(0, 200, 0), Color.rgb(0, 80, 0)));
79 new BarFormatter(Color.rgb(200, 0, 0), Color.rgb(0, 80, 0)));
81 new BarFormatter(Color.rgb(0, 0, 200), Color.rgb(0, 80, 0)));
114 Color.rgb(100, 100, 200), null, null, null));
117 Color.rgb(100, 200, 100), null, null, null));
120 Color.rgb(200, 100, 100), null, null, null));
StepChartExampleActivity.java 70 Color.rgb(0, 100, 0), // line color
71 Color.rgb(0, 100, 0), // point color
72 Color.rgb(100, 200, 0), null); // fill color
80 StepFormatter stepFormatter = new StepFormatter(Color.rgb(0, 0,0), Color.BLUE);
TimeSeriesActivity.java 70 Color.rgb(0, 100, 0), // line color
71 Color.rgb(0, 100, 0), // point color
72 Color.rgb(100, 200, 0), null); // fill color
85 new LineAndPointFormatter(Color.rgb(0, 0,0), Color.BLUE, Color.RED, null);
  /external/pdfium/fpdfsdk/include/
fsdk_define.h 41 #define FX_COLORREFTOARGB(rgb) \
42 ((FX_DWORD)0xFF000000 | (((FX_DWORD)rgb & 0x000000FF) << 16) | \
43 ((FX_DWORD)rgb & 0x0000FF00) | (((FX_DWORD)rgb & 0x00FF0000) >> 16))
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ColorTest.java 17 int color = Color.rgb(160, 160, 160);
  /frameworks/base/tests/UiBench/src/com/android/test/uibench/
TrivialAnimationActivity.java 39 setColor(Color.rgb(255, colorValue, 255 - colorValue));
  /frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
vignette_approx_f.rsh 54 fout.rgb = in.rgb * lumen;
vignette_f.rsh 54 fout.rgb = in.rgb * lumen;
  /packages/apps/Gallery2/jni/filters/
wbalance.c 137 unsigned char * rgb = (unsigned char * )destination; local
143 estmateWhite(rgb,len,&wr,&wg,&wb);
145 estmateWhiteBox(rgb, width, height,locX,locY,&wr,&wg,&wb);
156 int r = rgb[RED];
157 int g = rgb[GREEN];
158 int b = rgb[BLUE];
164 rgb[RED] = clamp(Rc);
165 rgb[GREEN] = clamp(Gc);
166 rgb[BLUE] = clamp(Bc);
  /external/skia/src/core/
SkXfermode4f.cpp 378 static Sk4f lcd16_to_unit_4f(uint16_t rgb) {
380 Sk4i rgbi = Sk4i(SkGetPackedR16(rgb), SkGetPackedG16(rgb), SkGetPackedB16(rgb), 0);
382 Sk4i rgbi = Sk4i(SkGetPackedB16(rgb), SkGetPackedG16(rgb), SkGetPackedR16(rgb), 0);
395 uint16_t rgb = lcd[i]; local
396 if (0 == rgb) {
400 dst[i] = to_4b(lerp(s4bias, d4bias, lcd16_to_unit_4f(rgb))) | (SK_A32_MASK << SK_A32_SHIFT)
404 uint16_t rgb = lcd[i]; local
417 uint16_t rgb = lcd[i]; local
433 uint16_t rgb = lcd[i]; local
447 uint16_t rgb = lcd[i]; local
    [all...]
  /external/opencv3/modules/imgproc/test/
test_cvtyuv.cpp 6 #undef RGB
10 typedef Vec3b RGB;
37 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)
88 rgb.at<Vec3b>(row, col) = val;
96 void write(Mat& rgb, int row, int col, const RGB& val
    [all...]
  /external/skia/experimental/docs/
exampleSlides.js 280 "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...]
  /cts/tests/tests/text/src/android/text/style/cts/
TextAppearanceSpanTest.java 33 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
70 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
79 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
101 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
119 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
134 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
143 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
155 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK };
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
ShadowTests.java 65 Color.rgb(shadowColorValue, shadowColorValue, shadowColorValue),
66 Color.rgb(shadowColorValue, shadowColorValue, shadowColorValue),

Completed in 783 milliseconds

1 2 34 5 6 7 8 91011>>