Searched refs:grayscale (Results 1 - 25 of 37) sorted by relevance

12

/external/skia/include/effects/
H A DSkHighContrastFilter.h34 SkHighContrastConfig(bool grayscale, argument
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/
H A DSkHighContrastFilter.h34 SkHighContrastConfig(bool grayscale, argument
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/skia/gm/
H A Dcolorfilterimagefilter.cpp135 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/
H A Dcolorfilterimagefilter.cpp135 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/
H A Dtestclient.c53 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 outpu
389 make_raster_file(ipp_t *response, int grayscale, char *tempname, size_t tempsize, const char **format) argument
[all...]
/external/ImageMagick/www/api/
H A Dchannel.php66 <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 =&gt; Red, 2 =&gt; Green, 3 =&gt; 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>
H A Dcolorspace.php90 <p>SetImageGray() returns MagickTrue if all the pixels in the image have the same red, green, and blue intensities and changes the type of the image to bi-level or grayscale.</p>
H A Dattribute.php136 <p>IdentifyImageGray() returns grayscale if all the pixels in the image have the same red, green, and blue intensities, and bi-level is the intensity is either 0 or QuantumRange. Otherwise undefined is returned.</p>
223 <p>IsImageGray() returns MagickTrue if the type of the image is grayscale or bi-level.</p>
H A Denhance.php388 <p>GrayscaleImage() converts the image to grayscale.</p>
643 <p>NegateImage() negates the colors in the reference image. The grayscale option means that only grayscale values within the image are negated.</p>
649 const MagickBooleanType grayscale,ExceptionInfo *exception)
663 <dt>grayscale</dt>
664 <dd>If MagickTrue, only negate grayscale pixels within the image. </dd>
H A Dconstitute.php89 <dd> This string reflects the expected ordering of the pixel array. It can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent), O = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. </dd>
/external/brotli/research/
H A DREADME.md17 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/
H A DColorFilterBench.cpp131 sk_sp<SkImageFilter> grayscale(make_grayscale(nullptr));
132 paint.setImageFilter(make_brightness(0.9f, std::move(grayscale)));
/external/skqp/bench/
H A DColorFilterBench.cpp131 sk_sp<SkImageFilter> grayscale(make_grayscale(nullptr));
132 paint.setImageFilter(make_brightness(0.9f, std::move(grayscale)));
/external/freetype/src/truetype/
H A Dttgload.c1428 * For simplicity, FreeType uses (1) for grayscale subpixel hinting and
1436 FT_Bool grayscale = 0; local
1449 grayscale = loader->exec ? loader->exec->grayscale
1458 grayscale = loader->exec ? loader->exec->grayscale_cleartype
1463 use_aw_2 = (FT_Bool)( subpixel_hinting && grayscale );
2382 FT_Bool grayscale = TRUE; local
2455 grayscale = FALSE;
2458 grayscale = TRUE;
2462 grayscale
[all...]
H A Dttinterp.h251 FT_Bool grayscale; /* bi-level hinting and */ member in struct:TT_ExecContextRec_
252 /* grayscale rendering */
386 /* ClearType hinting and grayscale rendering, as used by Universal */
390 /* grayscale rendering, the old mode from Win9x days that roughly */
413 /* grayscale rendering */
/external/libjpeg-turbo/
H A Dtjexampletest.in39 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
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
H A Dtjbenchtest.in78 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}
223 runme $EXEDIR/tjbench $OUTDIR/${basename}_${samp}_Q95.jpg $BMPARG -$xform -tile -quiet -benchtime 0.01 -warmup 0 -grayscale $YUVARG $ALLOCARG
H A Dtjbenchtest.java.in68 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
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/
H A Dvga.h199 __u32 grayscale; /* != 0 Graylevels instead of colors */ member in struct:screeninfo
/external/libjpeg-turbo/simd/
H A Djcgray-mmx.asm2 ; jcgray.asm - grayscale colorspace conversion (MMX)
H A Djcgray-sse2-64.asm2 ; jcgray.asm - grayscale colorspace conversion (64-bit SSE2)
H A Djcgray-sse2.asm2 ; jcgray.asm - grayscale colorspace conversion (SSE2)
/external/kernel-headers/original/uapi/linux/
H A Dfb.h250 __u32 grayscale; /* 0 = color, 1 = grayscale, */ member in struct:fb_var_screeninfo
/external/tensorflow/tensorflow/python/keras/_impl/keras/preprocessing/
H A Dimage.py330 # 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,
1124 color_mode: One of `"rgb"`, `"grayscale"`. Color mode to read images.
1176 if color_mode not in {'rgb', 'grayscale'}:
1178 '; expected "rgb" or "grayscale".')
1251 grayscale
[all...]
H A Dimage_test.py133 # Test grayscale
146 # Test grayscale
193 _ = keras.preprocessing.image.load_img(fname, grayscale=True)

Completed in 675 milliseconds

12