Searched refs:JCS_GRAYSCALE (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djdcolor.c320 case JCS_GRAYSCALE:
348 case JCS_GRAYSCALE:
350 if (cinfo->jpeg_color_space == JCS_GRAYSCALE ||
365 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) {
H A Djdapimin.c125 cinfo->jpeg_color_space = JCS_GRAYSCALE;
126 cinfo->out_color_space = JCS_GRAYSCALE;
H A Djccolor.c368 case JCS_GRAYSCALE:
399 case JCS_GRAYSCALE:
402 if (cinfo->in_color_space == JCS_GRAYSCALE)
H A Djcparam.c366 case JCS_GRAYSCALE:
367 jpeg_set_colorspace(cinfo, JCS_GRAYSCALE);
423 case JCS_GRAYSCALE:
H A Djdmaster.c178 case JCS_GRAYSCALE:
H A Djpegdecoder.c569 grayscale = (cinfo.out_color_space == JCS_GRAYSCALE);
H A Djpeglib.h212 JCS_GRAYSCALE, /* monochrome */ enumerator in enum:__anon731
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/
H A DJPEGImageReader.java802 case JPEG.JCS_GRAYSCALE:
808 list.add(getImageType(JPEG.JCS_GRAYSCALE));
847 list.add(getImageType(JPEG.JCS_GRAYSCALE));
903 case JPEG.JCS_GRAYSCALE: // Its gray in the file
919 setOutColorSpace(structPointer, JPEG.JCS_GRAYSCALE);
922 outColorSpaceCode = JPEG.JCS_GRAYSCALE;
1777 case JPEG.JCS_GRAYSCALE:
H A DJPEG.java189 public static final int JCS_GRAYSCALE = 1; // monochrome field in class:JPEG
H A DJPEGImageWriter.java729 outCsType = JPEG.JCS_GRAYSCALE;
910 if ((outCsType == JPEG.JCS_GRAYSCALE)
1527 retval = JPEG.JCS_GRAYSCALE;
1566 retval = JPEG.JCS_GRAYSCALE;
1612 retval = JPEG.JCS_GRAYSCALE;

Completed in 3386 milliseconds