HomeSort by relevance Sort by last modified time
    Searched refs:rgb (Results 1 - 25 of 674) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /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];
hue.c 23 unsigned char * rgb = (unsigned char * )destination; local
30 int r = rgb[RED];
31 int g = rgb[GREEN];
32 int b = rgb[BLUE];
38 rgb[RED] = clamp((int)rf);
39 rgb[GREEN] = clamp((int)gf);
40 rgb[BLUE] = clamp((int)bf);
  /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/mesa3d/src/gallium/auxiliary/util/
u_format.csv 48 # - 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...]
  /external/pdfium/core/fpdfapi/render/
cpdf_transferfunc.cpp 14 FX_COLORREF CPDF_TransferFunc::TranslateColor(FX_COLORREF rgb) const {
15 return FXSYS_RGB(m_Samples[FXSYS_GetRValue(rgb)],
16 m_Samples[256 + FXSYS_GetGValue(rgb)],
17 m_Samples[512 + FXSYS_GetBValue(rgb)]);
  /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...]
Converters.cpp 34 uint16_t* rgb,
51 *rgb = YUVToRGB565(*Y, nU, nV);
52 Y++; rgb++;
53 *rgb = YUVToRGB565(*Y, nU, nV);
54 Y++; rgb++;
63 uint32_t* rgb,
80 *rgb = YUVToRGB32(*Y, nU, nV);
81 Y++; rgb++;
82 *rgb = YUVToRGB32(*Y, nU, nV);
83 Y++; 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...]
  /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...]
  /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;
  /prebuilts/misc/windows/sdl2/test/
testoverlay2.c 149 /* NOTE: These RGB conversion functions are not intended for speed,
154 RGBtoYUV(Uint8 * rgb, int *yuv, int monochrome, int luminance)
158 yuv[0] = (int)(0.299 * rgb[0] + 0.587 * rgb[1] + 0.114 * rgb[2]);
162 yuv[0] = (int)(0.257 * rgb[0]) + (0.504 * rgb[1]) + (0.098 * rgb[2]) + 16;
168 yuv[0] = (int)(0.299 * rgb[0] + 0.587 * rgb[1] + 0.114 * rgb[2])
363 Uint8 *rgb; local
    [all...]
  /external/syslinux/utils/
ppmtolss16 103 # Get a single RGB token depending on the PNM type
106 my($rgb,$r,$g,$b);
110 return undef unless ( read(STDIN,$rgb,3) == 3 );
111 return unpack("CCC", $rgb);
120 return undef unless ( read(STDIN,$rgb,1) == 1 );
121 $r = unpack("C", $rgb);
130 return undef unless ( read(STDIN,$rgb,1) == 1 );
131 $getrgb_leftover_bit_val = unpack("C", $rgb);
163 my($rgb);
168 $rgb = pack("CCC", $r, $g, $b)
    [all...]
  /developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/rs/
hdr_merge.rs 59 // Convert YUV to RGB, JFIF transform with fixed-point math
64 int4 rgb;
65 rgb.r = mergedPixel.r +
67 rgb.g = mergedPixel.r -
70 rgb.b = mergedPixel.r +
72 rgb.a = 255;
78 uchar4 out = convert_uchar4(clamp(rgb, 0, 255));
  /developers/samples/android/media/HdrViewfinder/Application/src/main/rs/
hdr_merge.rs 59 // Convert YUV to RGB, JFIF transform with fixed-point math
64 int4 rgb;
65 rgb.r = mergedPixel.r +
67 rgb.g = mergedPixel.r -
70 rgb.b = mergedPixel.r +
72 rgb.a = 255;
78 uchar4 out = convert_uchar4(clamp(rgb, 0, 255));
  /development/samples/browseable/HdrViewfinder/src/rs/
hdr_merge.rs 59 // Convert YUV to RGB, JFIF transform with fixed-point math
64 int4 rgb;
65 rgb.r = mergedPixel.r +
67 rgb.g = mergedPixel.r -
70 rgb.b = mergedPixel.r +
72 rgb.a = 255;
78 uchar4 out = convert_uchar4(clamp(rgb, 0, 255));

Completed in 1120 milliseconds

1 2 3 4 5 6 7 8 91011>>