Home
last modified time | relevance | path

Searched refs:gray (Results 1 – 25 of 60) sorted by relevance

123

/external/libpng/
Dpngrtran.c781 png_ptr->background.gray = png_ptr->background.red; in png_init_read_transformations()
794 png_ptr->background.gray *= (png_uint_16)0xff; in png_init_read_transformations()
796 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations()
799 png_ptr->trans_values.gray *= (png_uint_16)0xff; in png_init_read_transformations()
801 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations()
806 png_ptr->background.gray *= (png_uint_16)0x55; in png_init_read_transformations()
808 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations()
811 png_ptr->trans_values.gray *= (png_uint_16)0x55; in png_init_read_transformations()
813 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations()
818 png_ptr->background.gray *= (png_uint_16)0x11; in png_init_read_transformations()
[all …]
Dpngwtran.c243 shift_start[channels] = row_info->bit_depth - bit_depth->gray; in png_do_shift()
244 shift_dec[channels] = bit_depth->gray; in png_do_shift()
262 if (bit_depth->gray == 1 && row_info->bit_depth == 2) in png_do_shift()
264 else if (row_info->bit_depth == 4 && bit_depth->gray == 3) in png_do_shift()
DTODO23 background and doing rgb-to-gray transformation.
/external/qemu/distrib/libpng-1.2.19/
Dpngrtran.c761 png_ptr->background.gray = png_ptr->background.red; in png_init_read_transformations()
774 png_ptr->background.gray *= (png_uint_16)0xff; in png_init_read_transformations()
776 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations()
779 png_ptr->trans_values.gray *= (png_uint_16)0xff; in png_init_read_transformations()
781 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations()
785 png_ptr->background.gray *= (png_uint_16)0x55; in png_init_read_transformations()
787 = png_ptr->background.blue = png_ptr->background.gray; in png_init_read_transformations()
790 png_ptr->trans_values.gray *= (png_uint_16)0x55; in png_init_read_transformations()
792 = png_ptr->trans_values.blue = png_ptr->trans_values.gray; in png_init_read_transformations()
796 png_ptr->background.gray *= (png_uint_16)0x11; in png_init_read_transformations()
[all …]
Dpngwtran.c240 shift_start[channels] = row_info->bit_depth - bit_depth->gray; in png_do_shift()
241 shift_dec[channels] = bit_depth->gray; in png_do_shift()
259 if (bit_depth->gray == 1 && row_info->bit_depth == 2) in png_do_shift()
261 else if (row_info->bit_depth == 4 && bit_depth->gray == 3) in png_do_shift()
/external/webkit/WebKitTools/DumpRenderTree/qt/
DImageDiff.cpp106 int gray = distance * qreal(255); in main() local
107 diffImage.setPixel(x, y, qRgb(gray, gray, gray)); in main()
/external/libpng/contrib/gregbook/
Dreadpng.c187 *red = *green = *blue = pBackground->gray? 255 : 0; in readpng_get_bgcolor()
189 *red = *green = *blue = (255/3) * pBackground->gray; in readpng_get_bgcolor()
191 *red = *green = *blue = (255/15) * pBackground->gray; in readpng_get_bgcolor()
Dreadpng2.c443 mainprog_ptr->bg_blue = pBackground->gray? 255 : 0; in readpng2_info_callback()
446 mainprog_ptr->bg_blue = (255/3) * pBackground->gray; in readpng2_info_callback()
449 mainprog_ptr->bg_blue = (255/15) * pBackground->gray; in readpng2_info_callback()
Drpng2-x.c1215 double freq, rotate, saturate, gray, intensity; in rpng2_x_load_bg_image() local
1238 gray = 0.0; in rpng2_x_load_bg_image()
1248 gray = (double)MAX(ABS(y), ABS(x)) / grayspot; in rpng2_x_load_bg_image()
1249 gray = MIN(1.0, gray); in rpng2_x_load_bg_image()
1252 gray * saturate; in rpng2_x_load_bg_image()
1255 s = gray * ((double)(ABS(x)+ABS(y)) / (double)(hw + hh)); in rpng2_x_load_bg_image()
1984 double freq, rotate, saturate, gray, intensity; in rpng2_x_reload_bg_image() local
2003 gray = 0.0; in rpng2_x_reload_bg_image()
2013 gray = (double)MAX(ABS(y), ABS(x)) / grayspot; in rpng2_x_reload_bg_image()
2014 gray = MIN(1.0, gray); in rpng2_x_reload_bg_image()
[all …]
Drpng2-win.c945 double freq, rotate, saturate, gray, intensity; in rpng2_win_load_bg_image() local
968 gray = 0.0; in rpng2_win_load_bg_image()
978 gray = (double)MAX(ABS(y), ABS(x)) / grayspot; in rpng2_win_load_bg_image()
979 gray = MIN(1.0, gray); in rpng2_win_load_bg_image()
982 gray * saturate; in rpng2_win_load_bg_image()
985 s = gray * ((double)(ABS(x)+ABS(y)) / (double)(hw + hh)); in rpng2_win_load_bg_image()
/external/bzip2/
Dbzip.css7 #626262 dark gray pre border
8 #eeeeee very light gray pre background
/external/libpng/contrib/pngminus/
Dpnm2png.bat15 REM -- gray with alpha-channel
35 REM -- gray with alpha-channel
Dpng2pnm.bat15 REM -- gray with alpha-channel
35 REM -- gray with alpha-channel
/external/skia/src/images/
DSkScaledBitmapSampler.cpp115 unsigned gray = src[0] >> 4; in Sample_Gray_D4444() local
116 dst[x] = SkPackARGB4444(0xF, gray, gray, gray); in Sample_Gray_D4444()
DSkImageDecoder_libpng.cpp268 theTranspColor = SkPackARGB32(0xFF, transpColor->gray >> 8, in onDecode()
269 transpColor->gray >> 8, transpColor->gray >> 8); in onDecode()
271 theTranspColor = SkPackARGB32(0xFF, transpColor->gray, in onDecode()
272 transpColor->gray, transpColor->gray); in onDecode()
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/
Dc1035pf.cpp209 *pInd = (tmp & 0x8) | gray[tmp & 0x7]; in q_p()
213 *pInd = gray[tmp & 0x7]; in q_p()
Dc1035pf.h88 extern Word16 gray[];
Dc4_17pf.cpp127 extern const Word16 gray[];
792 index = gray[index]; in build_code()
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/src/
Dgray_tbl.cpp86 extern const Word16 gray[8] = {0, 1, 3, 2, 6, 4, 5, 7};
/external/libpng/contrib/pngsuite/
DREADME33 basn4a08.png 8-bit gray with alpha
34 basn4a16.png 16-bit gray with alpha
/external/webkit/WebCore/css/
Dwml.css62 border-color: gray
182 border: 1px inset gray;
Dhtml.css169 border-color: gray
472 border: 1px inset gray;
504 border: 1px inset gray;
/external/jpeg/
Dusage.doc17 and gray-scale images. JPEG is designed to handle "real-world" scenes,
60 PGM (PBMPLUS gray-scale format), BMP, Targa, and RLE (Utah Raster Toolkit
69 -gray or -gr. Most of the "basic" switches can be abbreviated to as little as
86 whether a BMP file uses only shades of gray. By
226 -grayscale Force gray-scale output even if JPEG file is color.
238 is specified, or if the JPEG file is gray-scale;
248 is specified, or if the JPEG file is gray-scale;
253 gray-scale or if -grayscale is specified; otherwise
259 emitted if the JPEG file is gray-scale or if
301 the one-pass method is always used for gray-scale
/external/proguard/src/proguard/gui/splash/
DSplashPanel.java220 new ColorSprite(new ConstantColor(Color.gray), in main()
/external/webkit/WebCore/platform/graphics/
DColor.h129 static const RGBA32 gray = 0xFFA0A0A0; variable

123