/external/skia/include/effects/ |
SkHighContrastFilter.h | 34 SkHighContrastConfig(bool grayscale, 37 : fGrayscale(grayscale), 49 // If true, the color will be converted to grayscale. 55 // After grayscale and inverting, the contrast can be adjusted linearly. 67 * - Conversion to grayscale
|
/external/skqp/include/effects/ |
SkHighContrastFilter.h | 34 SkHighContrastConfig(bool grayscale, 37 : fGrayscale(grayscale), 49 // If true, the color will be converted to grayscale. 55 // After grayscale and inverting, the contrast can be adjusted linearly. 67 * - Conversion to grayscale
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
NotificationUtils.java | 41 boolean grayscale = colorUtil.isGrayscaleIcon(v.getDrawable()); 42 v.setTag(R.id.icon_is_grayscale, grayscale); 43 return grayscale;
|
/frameworks/base/tools/aapt2/compile/ |
PngCrunch.cpp | 308 // - Grayscale 309 // - Grayscale + cheap alpha 310 // - Grayscale + alpha 312 static int PickColorType(int32_t width, int32_t height, bool grayscale, 322 if (grayscale) { 327 // This grayscale has alpha and can fit within a palette. 521 // 1. Every pixel has R == G == B (grayscale) 527 bool grayscale = true; local 540 // For purposes of palettes and grayscale optimization, 558 // Check if the image is indeed grayscale [all...] |
/external/skia/gm/ |
colorfilterimagefilter.cpp | 135 sk_sp<SkImageFilter> grayscale(make_grayscale(std::move(brightness))); 136 paint.setImageFilter(std::move(grayscale)); 141 sk_sp<SkImageFilter> grayscale(make_grayscale(nullptr)); 142 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, std::move(grayscale)));
|
/external/skqp/gm/ |
colorfilterimagefilter.cpp | 135 sk_sp<SkImageFilter> grayscale(make_grayscale(std::move(brightness))); 136 paint.setImageFilter(std::move(grayscale)); 141 sk_sp<SkImageFilter> grayscale(make_grayscale(nullptr)); 142 sk_sp<SkImageFilter> brightness(make_brightness(0.9f, std::move(grayscale)));
|
/external/libcups/filter/ |
testclient.c | 53 static const char *make_raster_file(ipp_t *response, int grayscale, char *tempname, size_t tempsize, const char **format); 76 grayscale = 0, /* Force grayscale? */ local 152 grayscale = 1; 273 if ((printfile = make_raster_file(response, grayscale, tempfile, sizeof(tempfile), &printformat)) == NULL) 390 int grayscale, /* I - Force grayscale? */ 545 else if (!strncmp(val, "SRGB24", 6) && !grayscale) 567 if (!grayscale && ippContainsString(attr, "srgb_8")) 668 * Do grayscale output.. [all...] |
/external/ImageMagick/www/api/ |
channel.php | 66 <dd> For example, to create 3 grayscale images from the red, green, and blue channels of an image, use: </dd> 103 <p>CombineImages() combines one or more images into a single image. The grayscale value of the pixels of each image in the sequence is assigned in order to the specified channels of the combined image. The typical ordering would be image 1 => Red, 2 => Green, 3 => Blue, etc.</p> 156 <p>SeparateImage() separates a channel from the image and returns it as a grayscale image.</p> 187 <p>SeparateImages() returns a separate grayscale image for each channel specified.</p>
|
/external/brotli/research/ |
README.md | 17 This tool generates a visualization of the distribution of backward references stored in `*.dist` file. The original file size has to be specified as a second parameter. The output is a grayscale PGM (binary) image.
|
/external/skia/bench/ |
ColorFilterBench.cpp | 131 sk_sp<SkImageFilter> grayscale(make_grayscale(nullptr)); 132 paint.setImageFilter(make_brightness(0.9f, std::move(grayscale)));
|
/external/skqp/bench/ |
ColorFilterBench.cpp | 131 sk_sp<SkImageFilter> grayscale(make_grayscale(nullptr)); 132 paint.setImageFilter(make_brightness(0.9f, std::move(grayscale)));
|
/external/freetype/src/truetype/ |
ttgload.c | 1436 FT_Bool grayscale = 0; local 2382 FT_Bool grayscale = TRUE; local [all...] |
/external/libjpeg-turbo/ |
tjexampletest.in | 39 runme $EXEDIR/cjpeg -quality 95 -dct fast -grayscale -outfile $OUTDIR/${basename}_GRAY_fast_cjpeg.jpg $IMGDIR/${basename}.bmp 43 runme $EXEDIR/cjpeg -quality 95 -dct int -grayscale -outfile $OUTDIR/${basename}_GRAY_accurate_cjpeg.jpg $IMGDIR/${basename}.bmp 124 # Grayscale transform 127 runme $JAVA TJExample $OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.jpg -$xform -grayscale -crop 16,16,70x60 129 runme $JAVA TJExample $OUTDIR/${basename}_${samp}_fast.jpg $OUTDIR/${basename}_${samp}_${xform}.bmp -$xform -grayscale -crop 16,16,70x60
|
tjbenchtest.in | 78 runme $EXEDIR/cjpeg -quality 95 -dct fast -grayscale -outfile $OUTDIR/${basename}_GRAY_fast_cjpeg.jpg $IMGDIR/${basename}.${EXT} 82 runme $EXEDIR/cjpeg -quality 95 -dct int -grayscale -outfile $OUTDIR/${basename}_GRAY_accurate_cjpeg.jpg $IMGDIR/${basename}.${EXT} 220 # Grayscale transform 223 runme $EXEDIR/tjbench $OUTDIR/${basename}_${samp}_Q95.jpg $BMPARG -$xform -tile -quiet -benchtime 0.01 -warmup 0 -grayscale $YUVARG $ALLOCARG
|
tjbenchtest.java.in | 68 runme $EXEDIR/cjpeg -quality 95 -dct fast -grayscale -outfile $OUTDIR/${basename}_GRAY_fast_cjpeg.jpg $IMGDIR/${basename}.bmp 72 runme $EXEDIR/cjpeg -quality 95 -dct int -grayscale -outfile $OUTDIR/${basename}_GRAY_accurate_cjpeg.jpg $IMGDIR/${basename}.bmp 180 # Grayscale transform 183 runme $JAVA TJBench $OUTDIR/${basename}_${samp}_Q95.jpg -$xform -tile -quiet -benchtime 0.01 -warmup 0 -grayscale $YUVARG
|
/external/syslinux/gpxe/src/arch/i386/include/ |
vga.h | 199 __u32 grayscale; /* != 0 Graylevels instead of colors */ member in struct:screeninfo
|
/prebuilts/go/darwin-x86/src/image/png/ |
reader_test.go | 109 // transparency (in the tRNS chunk) is separate to the color/grayscale/palette 117 "ftbbn0g01": " using grayscale;\n", 118 "ftbbn0g02": " using grayscale;\n", 119 "ftbbn0g04": " using grayscale;\n", 123 "ftbwn0g16": " using grayscale;\n", 166 io.WriteString(w, " using grayscale;\n") 221 // We fake a tRNS chunk. The test files' grayscale and truecolor 480 // The following is an invalid 1x2 grayscale PNG image. The header is OK,
|
/prebuilts/go/linux-x86/src/image/png/ |
reader_test.go | 109 // transparency (in the tRNS chunk) is separate to the color/grayscale/palette 117 "ftbbn0g01": " using grayscale;\n", 118 "ftbbn0g02": " using grayscale;\n", 119 "ftbbn0g04": " using grayscale;\n", 123 "ftbwn0g16": " using grayscale;\n", 166 io.WriteString(w, " using grayscale;\n") 221 // We fake a tRNS chunk. The test files' grayscale and truecolor 480 // The following is an invalid 1x2 grayscale PNG image. The header is OK,
|
/external/libjpeg-turbo/simd/ |
jcgray-mmx.asm | 2 ; jcgray.asm - grayscale colorspace conversion (MMX)
|
jcgray-sse2-64.asm | 2 ; jcgray.asm - grayscale colorspace conversion (64-bit SSE2)
|
jcgray-sse2.asm | 2 ; jcgray.asm - grayscale colorspace conversion (SSE2)
|
/frameworks/support/print/src/main/java/androidx/print/ |
PrintHelper.java | 803 // Create a grayscale bitmap 804 Bitmap grayscale = Bitmap.createBitmap(original.getWidth(), original.getHeight(), local 806 Canvas c = new Canvas(grayscale); 815 return grayscale;
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/preprocessing/ |
image.py | 330 # grayscale 372 def load_img(path, grayscale=False, target_size=None, interpolation='nearest'): 377 grayscale: Boolean, whether to load the image as grayscale. 398 if grayscale: 775 In case of grayscale data, [all...] |
/bionic/libc/kernel/uapi/linux/ |
fb.h | 214 __u32 grayscale; member in struct:fb_var_screeninfo
|
/development/samples/HelloEffects/src/com/example/android/mediafx/ |
HelloEffects.java | 174 case R.id.grayscale:
|