Home
last modified time | relevance | path

Searched refs:JCS_GRAYSCALE (Results 1 – 25 of 35) sorted by relevance

12

/external/skia/src/codec/
DSkJpegDecoderMgr.cpp66 case JCS_GRAYSCALE: in getColorType()
67 fDInfo.out_color_space = JCS_GRAYSCALE; in getColorType()
DSkJpegCodec.cpp52 if (1 == dinfo.out_color_components && JCS_GRAYSCALE == dinfo.out_color_space) { in get_src_config()
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jdcolor.c318 case JCS_GRAYSCALE: in jinit_color_deconverter()
347 case JCS_GRAYSCALE: in jinit_color_deconverter()
349 if (cinfo->jpeg_color_space == JCS_GRAYSCALE || in jinit_color_deconverter()
364 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
Dfpdfapi_jcparam.c363 case JCS_GRAYSCALE: in jpeg_default_colorspace()
364 jpeg_set_colorspace(cinfo, JCS_GRAYSCALE); in jpeg_default_colorspace()
420 case JCS_GRAYSCALE: in jpeg_set_colorspace()
Dfpdfapi_jccolor.c366 case JCS_GRAYSCALE: in jinit_color_converter()
397 case JCS_GRAYSCALE: in jinit_color_converter()
400 if (cinfo->in_color_space == JCS_GRAYSCALE) in jinit_color_converter()
Dfpdfapi_jdapimin.c122 cinfo->jpeg_color_space = JCS_GRAYSCALE; in default_decompress_parms()
123 cinfo->out_color_space = JCS_GRAYSCALE; in default_decompress_parms()
Dfpdfapi_jdmaster.c175 case JCS_GRAYSCALE: in jpeg_calc_output_dimensions()
/external/jpeg/
Dwrtarga.c75 if (cinfo->out_color_space == JCS_GRAYSCALE) { in write_header()
173 if (cinfo->out_color_space == JCS_GRAYSCALE) { in start_output_tga()
Djdcolor.c763 case JCS_GRAYSCALE: in jinit_color_deconverter()
792 case JCS_GRAYSCALE: in jinit_color_deconverter()
794 if (cinfo->jpeg_color_space == JCS_GRAYSCALE || in jinit_color_deconverter()
809 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
831 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
853 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
864 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
Djcparam.c362 case JCS_GRAYSCALE: in jpeg_default_colorspace()
363 jpeg_set_colorspace(cinfo, JCS_GRAYSCALE); in jpeg_default_colorspace()
419 case JCS_GRAYSCALE: in jpeg_set_colorspace()
Dwrppm.c182 case JCS_GRAYSCALE: in start_output_ppm()
251 else if (cinfo->out_color_space == JCS_GRAYSCALE) in jinit_write_ppm()
Djdapimin.c122 cinfo->jpeg_color_space = JCS_GRAYSCALE; in default_decompress_parms()
123 cinfo->out_color_space = JCS_GRAYSCALE; in default_decompress_parms()
Djccolor.c433 case JCS_GRAYSCALE: in jinit_color_converter()
464 case JCS_GRAYSCALE: in jinit_color_converter()
467 if (cinfo->in_color_space == JCS_GRAYSCALE) in jinit_color_converter()
Dwrgif.c373 if (cinfo->out_color_space != JCS_GRAYSCALE && in jinit_write_gif()
378 if (cinfo->out_color_space != JCS_GRAYSCALE || cinfo->data_precision > 8) { in jinit_write_gif()
Drdppm.c340 cinfo->in_color_space = JCS_GRAYSCALE; in start_input_ppm()
356 cinfo->in_color_space = JCS_GRAYSCALE; in start_input_ppm()
Dwrrle.c103 if (cinfo->out_color_space != JCS_GRAYSCALE && in start_output_rle()
Drdrle.c146 cinfo->in_color_space = JCS_GRAYSCALE; in start_input_rle()
Dcjpeg.c288 jpeg_set_colorspace(cinfo, JCS_GRAYSCALE); in parse_switches()
Ddjpeg.c264 cinfo->out_color_space = JCS_GRAYSCALE; in parse_switches()
Dwrbmp.c403 if (cinfo->out_color_space == JCS_GRAYSCALE) { in jinit_write_bmp()
Dtransupp.c748 (dstinfo->jpeg_color_space == JCS_GRAYSCALE && in jtransform_adjust_parameters()
752 jpeg_set_colorspace(dstinfo, JCS_GRAYSCALE); in jtransform_adjust_parameters()
/external/skia/src/images/
DSkImageDecoder_libjpeg.cpp436 if (JCS_GRAYSCALE == cinfo->jpeg_color_space) { in getBitmapColorType()
446 if (cinfo->jpeg_color_space != JCS_GRAYSCALE) { in getBitmapColorType()
472 case JCS_GRAYSCALE: in getBitmapColorType()
474 cinfo->out_color_space = JCS_GRAYSCALE; in getBitmapColorType()
551 JCS_GRAYSCALE == cinfo.out_color_space) { in get_src_config()
/external/libvncserver/common/
Dturbojpeg.c148 cinfo->in_color_space=JCS_GRAYSCALE; break; in setCompDefaults()
191 jpeg_set_colorspace(cinfo, JCS_GRAYSCALE); in setCompDefaults()
213 dinfo->out_color_space=JCS_GRAYSCALE; break; in setDecompDefaults()
/external/libvpx/libvpx/third_party/libyuv/source/
Dmjpeg_decoder.cc47 const int MJpegDecoder::kColorSpaceGrayscale = JCS_GRAYSCALE;
/external/libyuv/files/source/
Dmjpeg_decoder.cc40 const int MJpegDecoder::kColorSpaceGrayscale = JCS_GRAYSCALE;

12