Home
last modified time | relevance | path

Searched defs:g (Results 1 – 17 of 17) sorted by relevance

/development/tools/emulator/system/camera/
DConverters.h94 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(b) << 6) | g) << 5) | r) argument
96 #define RGB32(r, g, b) static_cast<uint32_t>((((static_cast<uint32_t>(b) << 8) | g) << 8) | r) argument
111 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(r) << 6) | g) << 5) | b) argument
113 #define RGB32(r, g, b) static_cast<uint32_t>((((static_cast<uint32_t>(r) << 8) | g) << 8) | b) argument
122 uint8_t r; uint8_t g; uint8_t b; uint8_t a; member
147 #define RGB2Y(r, g, b) (uint8_t)(((66 * (r) + 129 * (g) + 25 * (b) + 128) >> 8) + 16) argument
148 #define RGB2U(r, g, b) (uint8_t)(((-38 * (r) - 74 * (g) + 112 * (b) + 128) >> 8) + 128) argument
149 #define RGB2V(r, g, b) (uint8_t)(((112 * (r) - 94 * (g) - 18 * (b) + 128) >> 8) + 128) argument
153 R8G8B8ToYUV(uint8_t r, uint8_t g, uint8_t b, uint8_t* y, uint8_t* u, uint8_t* v) in R8G8B8ToYUV()
211 const uint16_t g = (YUV2GO(y,u,v) >> 2) & 0x3f; in YUVToRGB565() local
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DBitmapPixels.java53 private static int pack8888(int r, int g, int b, int a) { in pack8888()
57 private static short pack565(int r, int g, int b) { in pack565()
61 private static short pack4444(int r, int g, int b, int a) { in pack4444()
75 int g = Color.green(c); in premultiplyColor() local
90 int g = getG32(from) << 23; in makeRamp() local
DCreateBitmap.java43 int g = y * 255 / (HEIGHT - 1); in createColors() local
DColorPickerDialog.java133 int g = ave(Color.green(c0), Color.green(c1), p); in interpColor() local
142 int g = Color.green(color); in rotateColor() local
DMeasureText.java41 int g = y * 255 / (HEIGHT - 1); in createColors() local
DPurgeableBitmapView.java72 int g = y * 255 / (HEIGHT - 1); in createColors() local
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGallery2.java53 Gallery g = (Gallery) findViewById(R.id.gallery); in onCreate() local
DGrid2.java42 GridView g = (GridView) findViewById(R.id.myGrid); in onCreate() local
DImageSwitcher1.java54 Gallery g = (Gallery) findViewById(R.id.gallery); in onCreate() local
DGallery1.java46 Gallery g = (Gallery) findViewById(R.id.gallery); in onCreate() local
/development/ide/xcode/ports/
DSkBitmap_Mac.cpp32 unsigned g = SkPacked16ToG32(c); in convert565_to_32() local
49 unsigned g = SkGetPackedG4444(c); in convert4444_to_555() local
/development/tools/yuv420sp2rgb/
Dyuv420sp2rgb.c121 unsigned char g, in rgb16_cb()
131 unsigned char g, in common_rgb_cb()
175 unsigned char g, in rgb24_cb()
184 unsigned char g, in argb_cb()
/development/ndk/platforms/android-5/samples/hello-gl2/src/com/android/gl2jni/
DGL2JNIView.java135 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { in ConfigChooser()
199 int g = findConfigAttrib(egl, display, config, in chooseConfig() local
/development/ndk/platforms/android-9/arch-x86/include/asm/
Ddesc_defs.h23 unsigned limit : 4, avl : 1, l : 1, d : 1, g : 1, base2 : 8; member
58 unsigned limit1 : 4, zero0 : 3, g : 1, base2 : 8; member
/development/tools/emulator/opengl/host/libs/Translator/GLcommon/
Detc1.cpp167 void decode_subblock(etc1_byte* pOut, int r, int g, int b, const int* table, in decode_subblock()
250 int g = 0; in etc_average_colors_subblock() local
307 int g = pBaseColors[1]; in chooseModifier() local
599 etc1_byte g = *q++; in etc1_decode_image() local
/development/tools/emulator/opengl/host/libs/Translator/EGL/
DEglX11Api.cpp200 int r,g,b,x,y; in checkWindowPixelFormatMatch() local
212 int r,g,b,x,y; in checkPixmapPixelFormatMatch() local
DEglMacApi.cpp122 int r,g,b; in checkWindowPixelFormatMatch() local