/external/autotest/client/cros/ui/ |
image_comparison.conf | 0 [rgb]
|
/external/autotest/client/cros/video/ |
image_comparison.conf | 0 [rgb]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/anim/ |
ColorMatcherTest.java | 19 import static android.graphics.Color.rgb; 34 assertCorrect(rgb(0, 0, 0), rgb(0, 0, 0)); 35 assertCorrect(rgb(1, 1, 1), rgb(0, 0, 0)); 36 assertCorrect(rgb(15, 15, 15), rgb(0, 0, 0)); 37 assertCorrect(rgb(16, 16, 16), rgb(32, 32, 32)); 38 assertCorrect(rgb(0xff, 0xff, 0xff), rgb(0xff, 0xff, 0xff)) [all...] |
/external/mesa3d/src/amd/vulkan/ |
vk_format_layout.csv | 4 VK_FORMAT_UNDEFINED , plain, 1, 1, u8 , , , , x001, rgb 5 VK_FORMAT_R4G4_UNORM_PACK8 , plain, 1, 1, un4 , un4 , , , xy01, rgb 6 VK_FORMAT_R4G4B4A4_UNORM_PACK16 , plain, 1, 1, un4 , un4 , un4 , un4 , wzyx, rgb 7 VK_FORMAT_B4G4R4A4_UNORM_PACK16 , plain, 1, 1, un4 , un4 , un4 , un4 , wxyz, rgb 8 VK_FORMAT_R5G6B5_UNORM_PACK16 , plain, 1, 1, un5 , un6 , un5 , , zyx1, rgb 9 VK_FORMAT_B5G6R5_UNORM_PACK16 , plain, 1, 1, un5 , un6 , un5 , , xyz1, rgb 10 VK_FORMAT_R5G5B5A1_UNORM_PACK16 , plain, 1, 1, un1 , un5 , un5 , un5 , wzyx, rgb 11 VK_FORMAT_B5G5R5A1_UNORM_PACK16 , plain, 1, 1, un1 , un5 , un5 , un5 , wxyz, rgb 12 VK_FORMAT_A1R5G5B5_UNORM_PACK16 , plain, 1, 1, un5 , un5 , un5 , un1 , zyxw, rgb 13 VK_FORMAT_R8_UNORM , plain, 1, 1, un8 , , , , x001, rgb [all...] |
/packages/apps/Gallery2/jni/filters/ |
exposure.c | 23 unsigned char * rgb = (unsigned char * )destination; local 31 rgb[RED] = clamp((255*(rgb[RED]))/m); 32 rgb[GREEN] = clamp((255*(rgb[GREEN]))/m); 33 rgb[BLUE] = clamp((255*(rgb[BLUE]))/m);
|
contrast.c | 43 unsigned char * rgb = (unsigned char * )destination; local 50 rgb[RED] = clamp((int)(m*rgb[RED]+c)); 51 rgb[GREEN] = clamp((int)(m*rgb[GREEN]+c)); 52 rgb[BLUE] = clamp((int)(m*rgb[BLUE]+c));
|
redeye.c | 24 unsigned char * rgb = (unsigned char * )destination; local 27 filterRedEye(rgb,rgb,width,height,rect);
|
bwfilter.c | 24 unsigned char * rgb = (unsigned char * )destination; local 42 float r = sr *rgb[RED]; 43 float g = sg *rgb[GREEN]; 44 float b = sb *rgb[BLUE]; 50 rgb[RED] = CLAMP(avg); 51 rgb[GREEN] = rgb[RED]; 52 rgb[BLUE] = rgb[RED];
|
/external/mesa3d/src/mesa/main/ |
formats.csv | 48 # - color space: rgb, srgb, yub, sz 52 MESA_FORMAT_NONE , other , 1, 1, 1, x8 , , , , 0001, rgb 55 MESA_FORMAT_A8B8G8R8_UNORM , packed, 1, 1, 1, un8 , un8 , un8 , un8 , wzyx, rgb 56 MESA_FORMAT_X8B8G8R8_UNORM , packed, 1, 1, 1, x8 , un8 , un8 , un8 , wzy1, rgb 57 MESA_FORMAT_R8G8B8A8_UNORM , packed, 1, 1, 1, un8 , un8 , un8 , un8 , xyzw, rgb 58 MESA_FORMAT_R8G8B8X8_UNORM , packed, 1, 1, 1, un8 , un8 , un8 , x8 , xyz1, rgb 59 MESA_FORMAT_B8G8R8A8_UNORM , packed, 1, 1, 1, un8 , un8 , un8 , un8 , zyxw, rgb 60 MESA_FORMAT_B8G8R8X8_UNORM , packed, 1, 1, 1, un8 , un8 , un8 , x8 , zyx1, rgb 61 MESA_FORMAT_A8R8G8B8_UNORM , packed, 1, 1, 1, un8 , un8 , un8 , un8 , yzwx, rgb 62 MESA_FORMAT_X8R8G8B8_UNORM , packed, 1, 1, 1, x8 , un8 , un8 , un8 , yzw1, rgb [all...] |
/external/libvncserver/webclients/novnc/include/ |
blue.css | 15 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/swiftshader/src/Common/ |
Half.hpp | 56 void toRGB16F(half rgb[3]) const 61 rgb[0] = half(R * factor); 62 rgb[1] = half(G * factor); 63 rgb[2] = half(B * factor); 84 void toRGB16F(half rgb[3]) const 86 rgb[0] = float11ToFloat16(R); 87 rgb[1] = float11ToFloat16(G); 88 rgb[2] = float10ToFloat16(B);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format.csv | 48 # - color space: rgb, yub, sz 64 PIPE_FORMAT_NONE , plain, 1, 1, u8 , , , , x001, rgb 67 PIPE_FORMAT_B8G8R8A8_UNORM , plain, 1, 1, un8 , un8 , un8 , un8 , zyxw, rgb 68 PIPE_FORMAT_B8G8R8X8_UNORM , plain, 1, 1, un8 , un8 , un8 , x8 , zyx1, rgb 69 PIPE_FORMAT_A8R8G8B8_UNORM , plain, 1, 1, un8 , un8 , un8 , un8 , yzwx, rgb 70 PIPE_FORMAT_X8R8G8B8_UNORM , plain, 1, 1, x8 , un8 , un8 , un8 , yzw1, rgb 71 PIPE_FORMAT_A8B8G8R8_UNORM , plain, 1, 1, un8 , un8 , un8 , un8 , wzyx, rgb 72 PIPE_FORMAT_X8B8G8R8_UNORM , plain, 1, 1, x8 , un8 , un8 , un8 , wzy1, rgb 74 PIPE_FORMAT_R8G8B8X8_UNORM , plain, 1, 1, un8 , un8 , un8 , x8 , xyz1, rgb 75 PIPE_FORMAT_B5G5R5X1_UNORM , plain, 1, 1, un5 , un5 , un5 , x1 , zyx1, rgb, x1 , un5 , un5 , un5 , yzw [all...] |
/device/generic/goldfish/camera/ |
Converters.h | 29 * NOTE: RGB and big/little endian considerations. Wherewer in this code RGB 34 * const uint32_t rgb = *reinterpret_cast<const uint32_t*>(framebuffer); 36 * So, if this code runs on the little endian CPU, red color in 'rgb' would be 38 * the code runs on a big endian CPU, the red color in 'rgb' would be masked as 77 * Extracting, and saving color bytes from / to WORD / DWORD RGB. 82 #define R16(rgb) static_cast<uint8_t>((rgb) & kRed5) 83 #define G16(rgb) static_cast<uint8_t>(((rgb) & kGreen6) >> 5 222 RGB32_t rgb; local [all...] |
/device/google/cuttlefish_common/guest/hals/camera/ |
Converters.h | 29 * NOTE: RGB and big/little endian considerations. Wherewer in this code RGB 34 * const uint32_t rgb = *reinterpret_cast<const uint32_t*>(framebuffer); 36 * So, if this code runs on the little endian CPU, red color in 'rgb' would be 38 * the code runs on a big endian CPU, the red color in 'rgb' would be masked as 77 * Extracting, and saving color bytes from / to WORD / DWORD RGB. 82 #define R16(rgb) static_cast<uint8_t>(rgb & kRed5) 83 #define G16(rgb) static_cast<uint8_t>((rgb & kGreen6) >> 5 236 RGB32_t rgb; local [all...] |
/external/python/cpython3/Lib/test/ |
test_colorsys.py | 22 rgb = (r, g, b) 24 rgb, 25 colorsys.hsv_to_rgb(*colorsys.rgb_to_hsv(*rgb)) 30 # rgb, hsv 41 for (rgb, hsv) in values: 42 self.assertTripleEqual(hsv, colorsys.rgb_to_hsv(*rgb)) 43 self.assertTripleEqual(rgb, colorsys.hsv_to_rgb(*hsv)) 49 rgb = (r, g, b) 51 rgb, 52 colorsys.hls_to_rgb(*colorsys.rgb_to_hls(*rgb)) [all...] |
/external/v8/tools/ |
draw_instruction_graph.sh | 99 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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_colorsys.py | 22 rgb = (r, g, b)
24 rgb,
25 colorsys.hsv_to_rgb(*colorsys.rgb_to_hsv(*rgb))
30 # rgb, hsv
41 for (rgb, hsv) in values:
42 self.assertTripleEqual(hsv, colorsys.rgb_to_hsv(*rgb))
43 self.assertTripleEqual(rgb, colorsys.hsv_to_rgb(*hsv))
49 rgb = (r, g, b)
51 rgb,
52 colorsys.hls_to_rgb(*colorsys.rgb_to_hls(*rgb))
[all...] |
/external/python/cpython2/Lib/test/ |
test_colorsys.py | 22 rgb = (r, g, b) 24 rgb, 25 colorsys.hsv_to_rgb(*colorsys.rgb_to_hsv(*rgb)) 30 # rgb, hsv 41 for (rgb, hsv) in values: 42 self.assertTripleEqual(hsv, colorsys.rgb_to_hsv(*rgb)) 43 self.assertTripleEqual(rgb, colorsys.hsv_to_rgb(*hsv)) 49 rgb = (r, g, b) 51 rgb, 52 colorsys.hls_to_rgb(*colorsys.rgb_to_hls(*rgb)) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_colorsys.py | 22 rgb = (r, g, b) 24 rgb, 25 colorsys.hsv_to_rgb(*colorsys.rgb_to_hsv(*rgb)) 30 # rgb, hsv 41 for (rgb, hsv) in values: 42 self.assertTripleEqual(hsv, colorsys.rgb_to_hsv(*rgb)) 43 self.assertTripleEqual(rgb, colorsys.hsv_to_rgb(*hsv)) 49 rgb = (r, g, b) 51 rgb, 52 colorsys.hls_to_rgb(*colorsys.rgb_to_hls(*rgb)) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_colorsys.py | 22 rgb = (r, g, b) 24 rgb, 25 colorsys.hsv_to_rgb(*colorsys.rgb_to_hsv(*rgb)) 30 # rgb, hsv 41 for (rgb, hsv) in values: 42 self.assertTripleEqual(hsv, colorsys.rgb_to_hsv(*rgb)) 43 self.assertTripleEqual(rgb, colorsys.hsv_to_rgb(*hsv)) 49 rgb = (r, g, b) 51 rgb, 52 colorsys.hls_to_rgb(*colorsys.rgb_to_hls(*rgb)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_colorsys.py | 22 rgb = (r, g, b) 24 rgb, 25 colorsys.hsv_to_rgb(*colorsys.rgb_to_hsv(*rgb)) 30 # rgb, hsv 41 for (rgb, hsv) in values: 42 self.assertTripleEqual(hsv, colorsys.rgb_to_hsv(*rgb)) 43 self.assertTripleEqual(rgb, colorsys.hsv_to_rgb(*hsv)) 49 rgb = (r, g, b) 51 rgb, 52 colorsys.hls_to_rgb(*colorsys.rgb_to_hls(*rgb)) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_colorsys.py | 22 rgb = (r, g, b) 24 rgb, 25 colorsys.hsv_to_rgb(*colorsys.rgb_to_hsv(*rgb)) 30 # rgb, hsv 41 for (rgb, hsv) in values: 42 self.assertTripleEqual(hsv, colorsys.rgb_to_hsv(*rgb)) 43 self.assertTripleEqual(rgb, colorsys.hsv_to_rgb(*hsv)) 49 rgb = (r, g, b) 51 rgb, 52 colorsys.hls_to_rgb(*colorsys.rgb_to_hls(*rgb)) [all...] |
/external/pdfium/core/fpdfapi/render/ |
cpdf_transferfunc.cpp | 17 FX_COLORREF CPDF_TransferFunc::TranslateColor(FX_COLORREF rgb) const { 18 return FXSYS_RGB(m_Samples[FXSYS_GetRValue(rgb)], 19 m_Samples[256 + FXSYS_GetGValue(rgb)], 20 m_Samples[512 + FXSYS_GetBValue(rgb)]);
|
/external/tensorflow/tensorflow/examples/android/jni/ |
rgb2yuv.cc | 16 // These utility functions allow for the conversion of RGB data to YUV data. 61 const uint32_t rgb = *in++; local 63 const int nB = (rgb >> 8) & 0xFF; 64 const int nG = (rgb >> 16) & 0xFF; 65 const int nR = (rgb >> 24) & 0xFF; 67 const int nR = (rgb >> 16) & 0xFF; 68 const int nG = (rgb >> 8) & 0xFF; 69 const int nB = rgb & 0xFF; 84 const uint32_t rgb = *in++; local 86 const int r5 = ((rgb >> 11) & 0x1F) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
TestColor.java | 24 public TestColor(int rgb) { 25 this.mRgb = rgb;
|