/cts/tests/camera/src/android/hardware/camera2/cts/ |
AllocationTest.java | 281 * Convert a single YUV pixel (3 byte elements) to an RGB pixel. 294 * <p>The conversion is done using JFIF File Interchange Format's "Conversion to and from RGB": 314 float[] rgb = new float[CHANNELS]; local 320 // convert YUV -> RGB (from JFIF's "Conversion to and from RGB" section) 326 rgb[0] = r / COLOR_RANGE; 327 rgb[1] = g / COLOR_RANGE; 328 rgb[2] = b / COLOR_RANGE; 332 rgb[i] = Math.max(0.0f, Math.min(1.0f, rgb[i])) [all...] |
/external/deqp/modules/gles2/accuracy/ |
es2aTextureMipmapTests.cpp | 168 deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local 169 deUint32 color = 0xff000000 | rgb; 467 deUint32 rgb = 0; local 471 case 0: rgb = (inc << 16) | (dec << 8) | 255; break; 472 case 1: rgb = (255 << 16) | (inc << 8) | dec; break; 473 case 2: rgb = (dec << 16) | (255 << 8) | inc; break; 474 case 3: rgb = (dec << 16) | (inc << 8) | 255; break; 475 case 4: rgb = (255 << 16) | (dec << 8) | inc; break; 476 case 5: rgb = (inc << 16) | (255 << 8) | dec; break; 479 deUint32 color = 0xff000000 | rgb; [all...] |
/external/deqp/modules/gles3/accuracy/ |
es3aTextureMipmapTests.cpp | 159 deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local 160 deUint32 color = 0xff000000 | rgb; 454 deUint32 rgb = 0; local 458 case 0: rgb = (inc << 16) | (dec << 8) | 255; break; 459 case 1: rgb = (255 << 16) | (inc << 8) | dec; break; 460 case 2: rgb = (dec << 16) | (255 << 8) | inc; break; 461 case 3: rgb = (dec << 16) | (inc << 8) | 255; break; 462 case 4: rgb = (255 << 16) | (dec << 8) | inc; break; 463 case 5: rgb = (inc << 16) | (255 << 8) | dec; break; 466 deUint32 color = 0xff000000 | rgb; [all...] |
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/ |
esextcDrawBuffersIndexedBase.cpp | 239 void DrawBuffersIndexedBase::BlendMaskStateMachine::SetBlendEquationSeparatei(int idx, glw::GLenum rgb, glw::GLenum a) 241 gl.blendEquationSeparatei(idx, rgb, a); 242 state[idx].mode_rgb = rgb; 311 void DrawBuffersIndexedBase::BlendMaskStateMachine::SetBlendEquationSeparate(glw::GLenum rgb, glw::GLenum a) 314 gl.blendEquationSeparate(rgb, a); 317 state[i].mode_rgb = rgb;
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktTextureMipmapTests.cpp | 184 const deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local 185 const deUint32 color = 0xff000000 | rgb; 447 deUint32 rgb = 0; local 451 case 0: rgb = (inc << 16) | (dec << 8) | 255; break; 452 case 1: rgb = (255 << 16) | (inc << 8) | dec; break; 453 case 2: rgb = (dec << 16) | (255 << 8) | inc; break; 454 case 3: rgb = (dec << 16) | (inc << 8) | 255; break; 455 case 4: rgb = (255 << 16) | (dec << 8) | inc; break; 456 case 5: rgb = (inc << 16) | (255 << 8) | dec; break; 459 const deUint32 color = 0xff000000 | rgb; 688 const deUint32 rgb = (0xff << 16) | (dec << 8) | inc; local 968 const deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local 1221 deUint32 rgb = 0; local 1486 const deUint32 rgb = (inc << 16) | (dec << 8) | 0xff; local [all...] |
/external/libjpeg-turbo/ |
CMakeLists.txt | 531 add_test(cjpeg${suffix}-rgb-islow 532 ${dir}cjpeg${suffix} -rgb -dct int 534 add_test(cjpeg${suffix}-rgb-islow-cmp 538 add_test(djpeg${suffix}-rgb-islow 541 add_test(djpeg${suffix}-rgb-islow-cmp 545 # CC: RGB->RGB565 SAMP: fullsize IDCT: islow ENT: huff 546 add_test(djpeg${suffix}-rgb-islow-565 549 add_test(djpeg${suffix}-rgb-islow-565-cmp 552 # CC: RGB->RGB565 (dithered) SAMP: fullsize IDCT: islow ENT: huff 553 add_test(djpeg${suffix}-rgb-islow-565 [all...] |
/frameworks/native/opengl/libagl/ |
dxt.cpp | 51 // Extract 5/6/5 RGB 57 * Convert 5/6/5 RGB (as 3 ints) to 8/8/8 70 * Convert 5/6/5 RGB (as a single 16-bit word) to 8/8/8 72 * r4r3r2r1 r0g5g4g3 g2g1g0b4 b3b2b1b0 rgb 73 * r4r3r2 r1r0g5g4 g3g2g1g0 b4b3b2b1 b0 0 0 0 rgb << 3 76 * Construct the 24-bit RGB word as: 78 * r4r3r2r1 r0------ -------- -------- -------- -------- (rgb << 8) & 0xf80000 79 * r4r3r2 -------- -------- -------- -------- (rgb << 3) & 0x070000 80 * g5g4g3g2 g1g0---- -------- -------- (rgb << 5) & 0x00fc00 81 * g5g4 -------- -------- (rgb >> 1) & 0x00030 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d2d1helper.h | 344 FORCEINLINE ColorF(UINT32 rgb, FLOAT _a = 1.0) { 345 init(rgb, _a); 359 D2D1FORCEINLINE void init(UINT32 rgb, FLOAT _a) { 360 r = static_cast<float>((rgb>>16)&0xff)/255.0f; 361 g = static_cast<float>((rgb>>8)&0xff)/255.0f; 362 b = static_cast<float>(rgb&0xff)/255.0f;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PreviewIconFactory.java | 52 import org.eclipse.swt.graphics.RGB; 78 private RGB mBackground; 79 private RGB mForeground; 216 Pair<RGB, RGB> themeColors = getColorsFromTheme(); 217 RGB bg = themeColors.getFirst(); 218 RGB fg = themeColors.getSecond(); 288 Pair<RGB, RGB> themeColors = getColorsFromTheme(); 289 RGB bg = themeColors.getFirst() 448 int rgb = image.getRGB(image.getWidth() \/ 2, image.getHeight() \/ 2); local 624 int rgb = ImageUtils.getColor(colorString.trim()); local 629 int rgb = ImageUtils.getColor(colorString.trim()); local [all...] |
/frameworks/native/opengl/tests/gl_perf/ |
fill_common.cpp | 230 static uint32_t rgb(uint32_t r, uint32_t g, uint32_t b) function 243 m[y*1024 + x] = rgb(x, (((x+y) & 0xff) == 0x7f) * 0xff, y); 255 m[y*16 + x] = rgb(x << 4, (((x+y) & 0xf) == 0x7) * 0xff, y << 4);
|
/external/adhd/cras/src/tests/ |
audio_test_gui.py | 60 <font style="color:rgb(100, 149, 237)">
|
/external/clang/test/Sema/ |
ext_vector_components.c | 51 vec3 = vec4.rgb; // legal, shorten
|
/external/libdrm/tests/util/ |
format.c | 40 .rgb = { { (rl), (ro) }, { (gl), (go) }, { (bl), (bo) }, { (al), (ao) } }
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_compositor.h | 125 void *rgb; member in struct:vl_compositor::__anon29463
|
/external/pdfium/core/fpdfapi/edit/ |
cpdf_pagecontentgenerator.cpp | 37 bool GetColor(const CPDF_Color* pColor, float* rgb) { 44 rgb[0] = intRGB[0] / 255.0f; 45 rgb[1] = intRGB[1] / 255.0f; 46 rgb[2] = intRGB[2] / 255.0f; 257 // This method supports color operators rg and RGB from Table 4.24 of PDF spec 258 // 1.7. A color will not be set if the colorspace is not DefaultRGB or the RGB
|
cpdf_pagecontentgenerator_unittest.cpp | 119 float rgb[3] = {0.5f, 0.7f, 0.35f}; local 121 pPathObj->m_ColorState.SetFillColor(pCS, rgb, 3); 137 // Color RGB values used are integers divided by 255. 176 float rgb[3] = {0.5f, 0.7f, 0.35f}; local 178 pTextObj->m_ColorState.SetFillColor(pCS, rgb, 3); 204 // Color RGB values used are integers divided by 255.
|
/external/skia/tools/ |
imgslice.cpp | 24 DEFINE_int32(rgb, 0, "Color channel to print (0->b, 1->g, 2->r, 3->a)"); 41 SkDebugf("Channel (--rgb) must be between 0 and 3 (inclusive) - value is %d.\n",
|
/external/skqp/tools/ |
imgslice.cpp | 24 DEFINE_int32(rgb, 0, "Color channel to print (0->b, 1->g, 2->r, 3->a)"); 41 SkDebugf("Channel (--rgb) must be between 0 and 3 (inclusive) - value is %d.\n",
|
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/ |
HistogramChartTest.java | 47 when(android.graphics.Color.rgb(anyInt(), anyInt(), anyInt())).thenReturn(0);
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
FullScreenOverdrawActivity.java | 65 paint.setColor(Color.rgb(mColorValue, 255 - mColorValue, 255));
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
BitmapUploadActivity.java | 49 mBitmap.eraseColor(Color.rgb(mColorValue, 255 - mColorValue, 255));
|
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/ |
ContactsPopulator.java | 318 setPhotoStream(getPhotoStreamWithColor(Color.rgb(0xe3, 0x33, 0x1c))); 323 setPhotoStream(getPhotoStreamWithColor(Color.rgb(0x00, 0xaa, 0xe6))); 328 setPhotoStream(getPhotoStreamWithColor(Color.rgb(0xea, 0x95, 0x00))); 333 setPhotoStream(getPhotoStreamWithColor(Color.rgb(0x99, 0x5a, 0xa0)));
|
/prebuilts/go/darwin-x86/src/image/ |
decode_test.go | 38 {"testdata/video-001.rgb.png", "testdata/video-001.rgb.jpeg", 8 << 8},
|
/prebuilts/go/linux-x86/src/image/ |
decode_test.go | 38 {"testdata/video-001.rgb.png", "testdata/video-001.rgb.jpeg", 8 << 8},
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
DynamicXYPlotActivity.java | 74 Color.rgb(0, 0, 0), null, null, null); 81 new LineAndPointFormatter(Color.rgb(0, 0, 200), null, null, null);
|