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

1 2

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/
ColorChecker.java 55 /** Returns patch RGB triplet for patch (x, y), or null if the pattern wasn't
65 float[] rgb = { local
70 return rgb;
  /external/skia/src/images/
SkImageDecoder_libbmp.cpp 74 uint8_t* rgb() const { return fRGB.begin(); } function in class:SkBmpDecoderCallback
95 // Now decode the BMP into callback's rgb() array [r,g,b, r,g,b, ...]
139 const uint8_t* srcRow = callback.rgb();
SkImageDecoder_libwebp.cpp 385 static void ARGB_8888_To_RGB(const uint8_t* in, uint8_t* rgb, int width,
390 rgb[0] = SkGetPackedR32(c);
391 rgb[1] = SkGetPackedG32(c);
392 rgb[2] = SkGetPackedB32(c);
393 rgb += 3;
397 static void RGB_565_To_RGB(const uint8_t* in, uint8_t* rgb, int width,
402 rgb[0] = SkPacked16ToR32(c);
403 rgb[1] = SkPacked16ToG32(c);
404 rgb[2] = SkPacked16ToB32(c);
405 rgb += 3
491 uint8_t* rgb = new uint8_t[rgb_stride * pic.height]; local
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/
Color.h 114 RGBA32 rgb() const { return m_color; } // Preserve the alpha. function in class:WebCore::Color
116 void setRGB(RGBA32 rgb) { m_color = rgb; m_valid = true; }
155 static bool parseHexColor(const String& name, RGBA32& rgb);
156 static bool parseHexColor(const UChar* name, unsigned length, RGBA32& rgb);
183 return a.rgb() == b.rgb() && a.isValid() == b.isValid();
  /external/webkit/Source/WebCore/platform/graphics/chromium/
ShaderChromium.cpp 287 vec3 rgb = cc_matrix * yuv; local
288 gl_FragColor = vec4(rgb, float(1)) * alpha;
  /frameworks/base/opengl/libagl/
mipmap.cpp 73 uint32_t rgb = (grb & 0xFFFF) | (grb >> 16); local
74 dst[x + y*stride] = rgb;
  /sdk/traceview/src/com/android/traceview/
ColorController.java 25 import org.eclipse.swt.graphics.RGB;
34 private static RGB[] rgbColors = { new RGB(90, 90, 255), // blue
35 new RGB(0, 240, 0), // green
36 new RGB(255, 0, 0), // red
37 new RGB(0, 255, 255), // cyan
38 new RGB(255, 80, 255), // magenta
39 new RGB(200, 200, 0), // yellow
40 new RGB(40, 0, 200), // dark blue
41 new RGB(150, 255, 150), // light gree
94 RGB rgb = rgbColors[nextColorIndex]; local
    [all...]
  /development/tools/emulator/system/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...]
  /external/jpeg/
jdcolor.c 21 /* Private state for YCC->RGB conversion */
51 /**************** YCbCr -> RGB conversion: most common case **************/
86 * Initialize tables for YCC->RGB colorspace conversion.
240 INT32 rgb; local
255 rgb = PACK_SHORT_565(r,g,b);
256 *(INT16*)outptr = rgb;
267 rgb = PACK_SHORT_565(r,g,b);
275 rgb = PACK_TWO_PIXELS(rgb, PACK_SHORT_565(r,g,b));
276 WRITE_TWO_ALIGNED_PIXELS(outptr, rgb);
313 INT32 rgb; local
408 INT32 rgb; local
461 INT32 rgb; local
608 INT32 rgb; local
647 INT32 rgb; local
    [all...]
jdmerge.c 26 * YCbCr => RGB color conversion only.
70 /* Private state for YCC->RGB conversion */
96 * Initialize tables for YCC->RGB colorspace conversion.
326 INT32 rgb; local
346 rgb = PACK_SHORT_565(r,g,b);
351 rgb = PACK_TWO_PIXELS(rgb, PACK_SHORT_565(r,g,b));
352 WRITE_TWO_PIXELS(outptr, rgb);
366 rgb = PACK_SHORT_565(r,g,b);
367 *(INT16*)outptr = rgb;
392 INT32 rgb; local
540 INT32 rgb; local
628 INT32 rgb; local
    [all...]
  /external/neven/
FaceDetector_jni.cpp 229 uint16_t rgb = src[x]; local
230 int r = rgb >> 11;
231 int g2 = (rgb >> 5) & 0x3F;
232 int b = rgb & 0x1F;
  /external/skia/src/utils/
SkParseColor.cpp 42 int rgb; member in struct:SkNameRGB
223 SkDebugf("0x%08x, ", nameRGB.rgb);
515 SkASSERT(result == (SkColor) (nameRGB.rgb | 0xFF000000));
  /frameworks/base/graphics/java/android/graphics/
Color.java 92 public static int rgb(int red, int green, int blue) { method in class:Color
307 * Convert RGB components to HSV.
  /frameworks/base/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);
  /sdk/assetstudio/tests/src/com/android/assetstudiolib/
GeneratorTest.java 127 int rgb = image.getRGB(x, y); local
128 if (goldenRgb == rgb) {
134 if (((goldenRgb & 0xFF000000) == 0) && (rgb & 0xFF000000) == 0) {
139 int deltaR = ((rgb & 0xFF0000) >>> 16) - ((goldenRgb & 0xFF0000) >>> 16);
141 int deltaG = ((rgb & 0x00FF00) >>> 8) - ((goldenRgb & 0x00FF00) >>> 8);
143 int deltaB = (rgb & 0x0000FF) - (goldenRgb & 0x0000FF);
147 + ((rgb & 0xFF000000) >>> 24)) / 2) << 24;
  /external/qemu/distrib/sdl-1.2.12/src/video/gem/
SDL_gemvideo.c 395 short rgb[3]; local
397 vq_color(VDI_handle, i, 0, rgb);
399 VDI_oldpalette[i][0] = rgb[0];
400 VDI_oldpalette[i][1] = rgb[1];
401 VDI_oldpalette[i][2] = rgb[2];
505 short oldrgb[3], rgb[3]={0,0,0}; local
508 vs_color(VDI_handle, vdi_index[0], rgb);
535 short rgb[3]; local
541 rgb[0] = newpal[i][0];
542 rgb[1] = newpal[i][1]
1069 short rgb[3]; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/macdsp/
SDL_dspvideo.c 935 RGBColor rgb = { 0.0, 0.0, 0.0 }; local
954 RGBForeColor (&rgb);
1218 RGBColor rgb; local
    [all...]
  /frameworks/base/opengl/tests/hwc/
hwcTestLib.cpp 798 bool rgb; member in struct:attrib
873 // If needed perform RGB to YUV conversion
875 if (fromAttrib->rgb && toAttrib->yuv) {
892 // If needed perform YUV to RGB conversion
893 // Equations determined from the ITU709 equations for RGB to YUV
912 if (fromAttrib->yuv && toAttrib->rgb) {
918 // Produce black if color is outside the RGB gamut
    [all...]
  /external/libpng/contrib/gregbook/
rpng2-win.c 170 } rgb[] = { variable in typeref:struct:rgb_color
189 static int num_rgb = sizeof(rgb) / sizeof(struct rgb_color);
441 " bg \tdesired background color in 7-character hex RGB format\n"
840 uch r1_min = rgb[bg[pat].rgb1_min].r;
841 uch g1_min = rgb[bg[pat].rgb1_min].g;
842 uch b1_min = rgb[bg[pat].rgb1_min].b;
843 uch r2_min = rgb[bg[pat].rgb2_min].r;
844 uch g2_min = rgb[bg[pat].rgb2_min].g;
845 uch b2_min = rgb[bg[pat].rgb2_min].b;
846 int r1_diff = rgb[bg[pat].rgb1_max].r - r1_min
    [all...]
rpng2-x.c 205 } rgb[] = { variable in typeref:struct:rgb_color
225 static int num_rgb = sizeof(rgb) / sizeof(struct rgb_color);
484 " bg \tdesired background color in 7-character hex RGB format\n"
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
PreviewIconFactory.java 50 import org.eclipse.swt.graphics.RGB;
76 private RGB mBackground;
77 private RGB mForeground;
214 Pair<RGB, RGB> themeColors = getColorsFromTheme();
215 RGB bg = themeColors.getFirst();
216 RGB fg = themeColors.getSecond();
286 Pair<RGB, RGB> themeColors = getColorsFromTheme();
287 RGB bg = themeColors.getFirst()
440 int rgb = image.getRGB(image.getWidth() \/ 2, image.getHeight() \/ 2); local
608 int rgb = ImageUtils.getColor(colorString.trim()); local
613 int rgb = ImageUtils.getColor(colorString.trim()); local
    [all...]
  /external/qemu/android/camera/
camera-format-converters.c 33 * NOTE: RGB and big/little endian considerations. Wherewer in this code RGB
38 * const uint32_t rgb = *reinterpret_cast<const uint32_t*>(framebuffer);
40 * So, if this code runs on the little endian CPU, red color in 'rgb' would be
42 * the code runs on a big endian CPU, the red color in 'rgb' would be masked as
75 * Extracting, and saving color bytes from / to WORD / DWORD RGB.
80 #define R16(rgb) (uint8_t)((rgb) & kRed5)
81 #define G16(rgb) (uint8_t)(((rgb) & kGreen6) >> 5
227 RGB32_t rgb; local
    [all...]
  /external/quake/quake/src/QW/dxsdk/sdk/inc/
d3drmdef.h 125 int rgb; /* if false, pixels are indices into a member in struct:_D3DRMIMAGE
127 RGB values. */
138 unsigned long alpha_mask; /* if rgb is true, these are masks for
149 rgb is false). Must be (1<<depth)
  /external/quake/quake/src/WinQuake/dxsdk/SDK/INC/
D3DRMDEF.H 125 int rgb; /* if false, pixels are indices into a member in struct:_D3DRMIMAGE
127 RGB values. */
138 unsigned long alpha_mask; /* if rgb is true, these are masks for
149 rgb is false). Must be (1<<depth)
  /external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
Context.cpp 2176 unsigned short rgb = *(unsigned short*)(source + 2 * i + j * lock.Pitch); local
    [all...]

Completed in 1073 milliseconds

1 2