/external/chromium_org/third_party/skia/gm/ |
H A D | texdata.cpp | 45 static const SkPMColor gray = SkPackARGB32(0x40, 0x40, 0x40, 0x40); local 56 gTextureData[offset + y * stride + x] = gray; 77 gTextureData[offset + y * stride + x] = gray;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/draw2d/ |
H A D | IColorConstants.java | 68 Color gray = new Color(null, 128, 128, 128); field in interface:IColorConstants
|
/external/skia/gm/ |
H A D | texdata.cpp | 45 static const SkPMColor gray = SkPackARGB32(0x40, 0x40, 0x40, 0x40); local 56 gTextureData[offset + y * stride + x] = gray; 77 gTextureData[offset + y * stride + x] = gray;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | Color.cpp | 43 const RGBA32 Color::gray; member in class:blink::Color
|
H A D | Color.h | 132 static const RGBA32 gray = 0xFFA0A0A0; member in class:blink::Color
|
/external/deqp/framework/common/ |
H A D | tcuRGBA.hpp | 99 const static RGBA gray; member in class:tcu::RGBA
|
/external/chromium_org/third_party/skia/bench/ |
H A D | GradientBench.cpp | 370 const int gray = i % 256; local 371 const int alpha = fHasAlpha ? gray : 0xFF; 374 SkColorSetARGB(alpha, gray, gray, gray),
|
/external/chromium_org/third_party/skia/src/images/ |
H A D | SkScaledBitmapSampler.cpp | 205 unsigned gray = src[0] >> 4; local 206 dst[x] = SkPackARGB4444(0xF, gray, gray, gray); 649 NULL, // gray to index
|
/external/skia/bench/ |
H A D | GradientBench.cpp | 371 const int gray = i % 256; local 372 const int alpha = fHasAlpha ? gray : 0xFF; 375 SkColorSetARGB(alpha, gray, gray, gray),
|
/external/skia/src/images/ |
H A D | SkScaledBitmapSampler.cpp | 205 unsigned gray = src[0] >> 4; local 206 dst[x] = SkPackARGB4444(0xF, gray, gray, gray); 649 NULL, // gray to index
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/voronoi/ |
H A D | voronoi.cc | 244 const uint32_t gray = MakeBGRA(128, 128, 128, 255); local 245 color = gray; 399 const uint32_t gray = MakeBGRA(192, 192, 192, 255); local 402 screen_positions_[i].x, screen_positions_[i].y, white, gray);
|
/external/chromium_org/third_party/skia/src/ports/ |
H A D | SkFontHost_FreeType_common.cpp | 56 static uint16_t grayToRGB16(U8CPU gray) { argument 58 gray = SkTMax(gray, (U8CPU)0x40); 60 return SkPack888ToRGB16(gray, gray, gray);
|
/external/opencv/cvaux/src/ |
H A D | cvsegment.cpp | 483 CvMat* gray = 0; local 505 CV_CALL( gray = cvCreateMat( size.height, size.width, CV_8UC1 )); 511 cvCvtColor( src, gray, CV_BGR2GRAY ); 512 cvCanny( gray, canny, 0/*canny_threshold*0.4*/, canny_threshold, 3 ); 578 cvReleaseMat( &gray );
|
/external/opencv/otherlibs/highgui/ |
H A D | utils.cpp | 84 uchar* gray, int gray_step, 89 for( ; size.height--; gray += gray_step ) 94 gray[i] = (uchar)t; 103 ushort* gray, int gray_step, 108 for( ; size.height--; gray += gray_step ) 113 gray[i] = (ushort)t; 122 uchar* gray, int gray_step, 127 for( ; size.height--; gray += gray_step ) 132 gray[i] = (uchar)t; 140 void icvCvt_Gray2BGR_8u_C1C3R( const uchar* gray, in argument 83 icvCvt_BGR2Gray_8u_C3C1R( const uchar* rgb, int rgb_step, uchar* gray, int gray_step, CvSize size, int _swap_rb ) argument 102 icvCvt_BGR2Gray_16u_C3C1R( const ushort* rgb, int rgb_step, ushort* gray, int gray_step, CvSize size, int _swap_rb ) argument 121 icvCvt_BGRA2Gray_8u_C4C1R( const uchar* rgba, int rgba_step, uchar* gray, int gray_step, CvSize size, int _swap_rb ) argument 230 icvCvt_BGR5552Gray_8u_C2C1R( const uchar* bgr555, int bgr555_step, uchar* gray, int gray_step, CvSize size ) argument 247 icvCvt_BGR5652Gray_8u_C2C1R( const uchar* bgr565, int bgr565_step, uchar* gray, int gray_step, CvSize size ) argument 320 icvCvt_CMYK2Gray_8u_C4C1R( const uchar* cmyk, int cmyk_step, uchar* gray, int gray_step, CvSize size ) argument [all...] |
/external/skia/src/ports/ |
H A D | SkFontHost_FreeType_common.cpp | 56 static uint16_t grayToRGB16(U8CPU gray) { argument 58 gray = SkTMax(gray, (U8CPU)0x40); 60 return SkPack888ToRGB16(gray, gray, gray);
|
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/ |
H A D | voronoi.cc | 250 const uint32_t gray = MakeBGRA(128, 128, 128, 255); local 251 color = gray; 402 const uint32_t gray = MakeBGRA(192, 192, 192, 255); local 405 screen_positions_[i].x, screen_positions_[i].y, white, gray);
|
/external/chromium_org/third_party/skia/third_party/lua/src/ |
H A D | lstate.h | 30 ** mark objects referred by them. (They are always gray, so they must 131 GCObject *gray; /* list of gray objects */ member in struct:global_State
|
/external/pdfium/core/src/fxge/dib/ |
H A D | fx_dib_convert.cpp | 327 FX_BYTE gray[2];
local 343 pIccModule->TranslateScanline(pIccTransform, gray, (FX_LPCBYTE)plt, 2);
360 gray[0] = FXRGB2GRAY(reset_r, reset_g, reset_b);
361 gray[1] = FXRGB2GRAY(set_r, set_g, set_b);
365 FXSYS_memset8(dest_scan, gray[0], width);
369 *dest_scan = gray[1];
380 FX_BYTE gray[256];
local 396 pIccModule->TranslateScanline(pIccTransform, gray, (FX_LPCBYTE)plt, 256);
403 gray[i] = FXRGB2GRAY(r, g, b);
407 gray[ [all...] |
/external/chromium_org/third_party/libpng/ |
H A D | pngrtran.c | 798 /* Detect gray background and attempt to enable optimization 799 * for gray --> RGB case 803 * background color might actually be gray yet not be flagged as such. 819 png_ptr->background.gray = png_ptr->background.red; 832 png_ptr->background.gray *= (png_uint_16)0xff; 834 = png_ptr->background.blue = png_ptr->background.gray; 837 png_ptr->trans_values.gray *= (png_uint_16)0xff; 839 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; 844 png_ptr->background.gray *= (png_uint_16)0x55; 846 = png_ptr->background.blue = png_ptr->background.gray; 3857 png_uint_16 gray = (png_uint_16)(trans_value ? trans_value->gray : 0); local [all...] |
/external/chromium_org/third_party/qcms/src/ |
H A D | transform.c | 337 uint16_t gray; local 342 gray = linear * PRECACHE_OUTPUT_MAX; 344 dest[r_out] = transform->output_table_r->data[gray]; 345 dest[1] = transform->output_table_g->data[gray]; 346 dest[b_out] = transform->output_table_b->data[gray]; 361 uint16_t gray; local 366 gray = linear * PRECACHE_OUTPUT_MAX; 368 dest[r_out] = transform->output_table_r->data[gray]; 369 dest[1] = transform->output_table_g->data[gray]; 370 dest[b_out] = transform->output_table_b->data[gray]; [all...] |
/external/libpng/contrib/gregbook/ |
H A D | rpng2-win.c | 968 double freq, rotate, saturate, gray, intensity; local 991 gray = 0.0; 1001 gray = (double)MAX(ABS(y), ABS(x)) / grayspot; 1002 gray = MIN(1.0, gray); 1005 gray * saturate; 1008 s = gray * ((double)(ABS(x)+ABS(y)) / (double)(hw + hh));
|
H A D | rpng2-x.c | 32 - 1.23: added -bgpat 0 mode (std white/gray checkerboard, 8x8 squares) 223 {192, 192, 192} /* 16: Netscape/Mosaic gray */ 251 {0, 1,1, 16,16}, /* checkered: white vs. light gray (basic) */ 1195 double freq, rotate, saturate, gray, intensity; local 1218 gray = 0.0; 1228 gray = (double)MAX(ABS(y), ABS(x)) / grayspot; 1229 gray = MIN(1.0, gray); 1232 gray * saturate; 1235 s = gray * ((doubl 1964 double freq, rotate, saturate, gray, intensity; local [all...] |
/external/libpng/ |
H A D | pngread.c | 1959 /* This is set if the color isn't gray but the output is. */ 2130 * selected by six levels of alpha. One transparent entry, 6 gray 2140 * entry = (231 * gray + 128) >> 8; 2150 * entry = PNG_DIV51(gray); 2156 unsigned int gray = (i * 256 + 115) / 231; local 2157 png_create_colormap_entry(display, i++, gray, gray, gray, 255, P_sRGB); 2311 png_error(png_ptr, "gray[8] color-map: too few entries"); 2321 trans = png_ptr->trans_color.gray; 2409 png_uint_32 gray = back_g; local 2513 png_uint_32 gray = back_g; local 2555 png_uint_32 gray = (i * 256 + 115) / 231; local 2600 png_uint_32 gray = png_sRGB_table[g*51] * alpha; local 2689 png_uint_32 gray = back_g; local 3128 unsigned int gray = *inrow++; local 3156 png_byte gray = *inrow++; local [all...] |
H A D | pngrtran.c | 1046 png_fixed(png_ptr, red, "rgb to gray red coefficient"), 1047 png_fixed(png_ptr, green, "rgb to gray green coefficient")); 1230 int gray = png_ptr->background.gray; local 1231 int trans_gray = png_ptr->trans_color.gray; 1236 gray *= 0xff; 1241 gray *= 0x55; 1246 gray *= 0x11; 1261 png_ptr->background.blue = (png_uint_16)gray; 1412 /* Make sure the coefficients for the rgb to gray conversio 4356 unsigned int gray = trans_color ? trans_color->gray : 0; local [all...] |
/external/opencv/cv/src/ |
H A D | cvlkpyramid.cpp | 1150 CvMat* gray = 0; local 1199 CV_CALL( gray = cvCreateMat( sz0.height, sz0.width, CV_8UC1 )); 1201 if( gray ) 1203 cvCvtColor( A, gray, CV_BGR2GRAY ); 1204 cvResize( gray, sA, CV_INTER_AREA ); 1205 cvCvtColor( B, gray, CV_BGR2GRAY ); 1206 cvResize( gray, sB, CV_INTER_AREA ); 1210 cvResize( gray, sA, CV_INTER_AREA ); 1211 cvResize( gray, sB, CV_INTER_AREA ); 1215 cvCvtColor( A, gray, CV_BGR2GRA [all...] |