/cts/apps/CameraITS/tests/scene1/ |
D | test_post_raw_sensitivity_boost.py | 117 pylab.plot(xs, [rgb[0] for rgb in raw_rgb_means], '-ro') 118 pylab.plot(xs, [rgb[1] for rgb in raw_rgb_means], '-go') 119 pylab.plot(xs, [rgb[2] for rgb in raw_rgb_means], '-bo') 127 pylab.plot(xs, [rgb[0] for rgb in yuv_rgb_means], '-ro') 128 pylab.plot(xs, [rgb[1] for rgb in yuv_rgb_means], '-go') 129 pylab.plot(xs, [rgb[2] for rgb in yuv_rgb_means], '-bo') 145 for rgb in range(3): 146 ratio = raw_rgb_means[step - 1][rgb] / raw_rgb_means[step][rgb] 148 step-1, step, rgb_str[rgb], 149 raw_rgb_means[step - 1][rgb], [all …]
|
D | test_yuv_jpeg_all.py | 58 rgb = its.image.compute_image_means(tile) 59 print "rgb =", rgb 60 rgbs.append(rgb) 76 rgb = its.image.compute_image_means(tile) 77 print "rgb =", rgb 78 rgbs.append(rgb)
|
D | test_param_noise_reduction.py | 98 r_snrs = [rgb[0] for rgb in rgb_snr_list] 99 g_snrs = [rgb[1] for rgb in rgb_snr_list] 100 b_snrs = [rgb[2] for rgb in rgb_snr_list]
|
D | test_reprocess_noise_reduction.py | 116 r_snrs = [rgb[0] for rgb in rgb_snr_list] 117 g_snrs = [rgb[1] for rgb in rgb_snr_list] 118 b_snrs = [rgb[2] for rgb in rgb_snr_list]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | LightingColorFilterTest.java | 81 new LightingColorFilter(Color.rgb(0x80, 0xFF, 0x80), Color.rgb(0, 10, 10))); in testLightingColorFilter() 89 new LightingColorFilter(Color.rgb(0x80, 0xFF, 0x80), Color.rgb(0, 10, 10))); in testLightingColorFilter()
|
D | ColorTest.java | 228 assertEquals(Color.RED, Color.rgb(0xff, 0x00, 0x00)); in testRgb() 229 assertEquals(Color.YELLOW, Color.rgb(0xff, 0xff, 0x00)); in testRgb() 230 assertEquals(Color.RED, Color.rgb(1.0f, 0.0f, 0.0f)); in testRgb() 231 assertEquals(Color.YELLOW, Color.rgb(1.0f, 1.0f, 0.0f)); in testRgb()
|
D | ColorSpaceTest.java | 775 ColorSpace.Rgb rgb = (ColorSpace.Rgb) cs; in testMatch() local 777 if (rgb != ColorSpace.get(ColorSpace.Named.EXTENDED_SRGB) && in testMatch() 778 rgb != ColorSpace.get(ColorSpace.Named.LINEAR_EXTENDED_SRGB)) { in testMatch() 781 rgb = (ColorSpace.Rgb) ColorSpace.adapt(rgb, ColorSpace.ILLUMINANT_D50); in testMatch() 783 ColorSpace.match(rgb.getTransform(), rgb.getTransferParameters())); in testMatch()
|
D | BitmapColorSpaceTest.java | 178 for (ColorSpace rgb : BitmapTest.getRgbColorSpaces()) { in createFromSourceWithColorSpace() 187 Bitmap orig = Bitmap.createBitmap(32, 32, config, false, rgb); in createFromSourceWithColorSpace()
|
D | BitmapFactoryTest.java | 963 argb.setPixel(x, y, Color.rgb(grayByte, grayByte, grayByte)); in grayToARGB()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | yuv.rs | 89 uchar4 rgb = yuvToRGBA4(py, pu, pv); 92 rsSetElementAt_uchar4(aout, rgb, x, y); 113 float4 rgb = yuvToRGBA_f4(py, pu, pv); 116 rsSetElementAt_float4(aout, rgb, x, y);
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | raw_converter.rs | 73 static float3 gammaCorrectPixel(float3 rgb) { 75 ret.x = gammaEncode(rgb.x); 76 ret.y = gammaEncode(rgb.y); 77 ret.z = gammaEncode(rgb.z); 95 static float3 tonemap(float3 rgb) { 96 float3 sorted = clamp(rgb, 0.f, 1.f);
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | AllocationTest.java | 312 float[] rgb = new float[CHANNELS]; in convertPixelYuvToRgb() local 324 rgb[0] = r / COLOR_RANGE; in convertPixelYuvToRgb() 325 rgb[1] = g / COLOR_RANGE; in convertPixelYuvToRgb() 326 rgb[2] = b / COLOR_RANGE; in convertPixelYuvToRgb() 330 rgb[i] = Math.max(0.0f, Math.min(1.0f, rgb[i])); in convertPixelYuvToRgb() 334 Log.v(TAG, String.format("RGB calculated (r,g,b) = (%f, %f, %f)", rgb[0], rgb[1], in convertPixelYuvToRgb() 335 rgb[2])); in convertPixelYuvToRgb() 338 return rgb; in convertPixelYuvToRgb()
|
D | ImageReaderTest.java | 805 output[outputPos++] = Color.rgb(r, g, b); in convertPixelYuvToRgba()
|
/cts/apps/CameraITS/pymodules/its/ |
D | image.py | 262 rgb = decompress_jpeg_to_rgb_image(cap["data"]).reshape(w*h*3) 263 return (rgb[::3].reshape(h,w,1), 264 rgb[1::3].reshape(h,w,1), 265 rgb[2::3].reshape(h,w,1)) 471 rgb = numpy.empty([h, w, 3], dtype=numpy.uint8) 472 rgb.reshape(w*h*3)[:] = flt.reshape(w*h*3)[:] 473 return rgb.astype(numpy.float32) / 255.0 487 rgb = numpy.empty([h, w, 3], dtype=numpy.uint8) 488 rgb.reshape(w*h*3)[:] = y3.reshape(w*h*3)[:] 489 return rgb.astype(numpy.float32) / 255.0
|
/cts/tests/tests/media/src/android/media/cts/ |
D | CodecUtils.java | 163 int rgb = bitmap.getPixel(i * 16 + 8, 8); in readBinaryCounterFromBitmap() local 164 if (Color.red(rgb) > 128) { in readBinaryCounterFromBitmap()
|
D | DecodeAccuracyTestBase.java | 1995 outputPixels[yIndex * width + xIndex] = Color.rgb( in shrinkAndScaleBilinear()
|
/cts/apps/CtsVerifier/include/colorchecker/ |
D | whitebalancetest.h | 49 Vec3f initializeFromRGB(const Vec3f &rgb);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | LayerTests.java | 65 final int expectedColor = Color.rgb(255, 191, 191); in testLayerPaintAlpha() 82 final int expectedColor = Color.rgb(255, 128, 128); in testLayerPaintSimpleAlphaWithHardware() 96 final int expectedColor = Color.rgb(255, 128, 128); in testLayerPaintSimpleAlphaWithSoftware() 157 final int expectedColor = Color.rgb(54, 54, 54); in testLayerPaintColorFilter() 510 .runWithVerifier(new ColorVerifier(Color.rgb(128, 128, 255))); in testWebViewWithAlpha() 535 .runWithVerifier(new ColorVerifier(Color.rgb(191, 191, 255))); in testWebViewWithAlphaLayer()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 752 rgbData[rgbIndex] = Color.rgb(r,g,b); in convertFromUnknown() 788 Color.rgb(yv, uv, vv); in convertFromNV21() 845 Color.rgb(yv, uv, vv); in convertFromYV12() 873 rgbData[rgbIndex] = Color.rgb(yv,uv,vv); in convertFromYUY2()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | TextAppearanceSpanTest.java | 58 int[] colors = new int[] { Color.rgb(0, 0, 255), Color.BLACK }; in setup()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | NinePatchDrawableTest.java | 122 int ocean = Color.rgb(0, 0xFF, 0x80); in testDraw()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 2084 new int[] {Color.rgb(0, 255, 0), Color.BLACK}); in testWriteToParcel()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 632 new int[] { Color.rgb(0, 255, 0), Color.BLACK }); in testAccessTextColor() 857 new int[] { Color.rgb(0, 255, 0), Color.BLACK }); in testAccessHintTextColor() 887 new int[] { Color.rgb(0, 255, 0), Color.BLACK }); in testAccessLinkTextColor()
|
/cts/tests/tests/media/res/raw/ |
D | football_qvga.yuv | 231 …Q<39ERV^inrwz|~�zzvqjb]_cdeiiijklorssmf]QF@ACEJJIIHDDFCDHNU]bfhklnsw�����}rgb^\\Z[\^ekljhhfdbcfik… 279 …ooqrstuuvuttttuaaacccbccbcddccccddddddglnprstvy}����������~}{zwtsy�{rgb]UME<7:BII@3)%)*#!#)…
|