Home
last modified time | relevance | path

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

12

/external/pdfium/third_party/libjpeg/
Dfpdfapi_jdcolor.c317 case JCS_GRAYSCALE: in jinit_color_deconverter()
346 case JCS_GRAYSCALE: in jinit_color_deconverter()
348 if (cinfo->jpeg_color_space == JCS_GRAYSCALE || in jinit_color_deconverter()
363 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
Dfpdfapi_jcparam.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()
Dfpdfapi_jccolor.c365 case JCS_GRAYSCALE: in jinit_color_converter()
396 case JCS_GRAYSCALE: in jinit_color_converter()
399 if (cinfo->in_color_space == JCS_GRAYSCALE) in jinit_color_converter()
Dfpdfapi_jdapimin.c121 cinfo->jpeg_color_space = JCS_GRAYSCALE; in default_decompress_parms()
122 cinfo->out_color_space = JCS_GRAYSCALE; in default_decompress_parms()
/external/libjpeg-turbo/
Djdcolor.c764 case JCS_GRAYSCALE: in jinit_color_deconverter()
793 case JCS_GRAYSCALE: in jinit_color_deconverter()
795 if (cinfo->jpeg_color_space == JCS_GRAYSCALE || in jinit_color_deconverter()
827 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
851 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
862 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
Djcparam.c283 case JCS_GRAYSCALE: in jpeg_default_colorspace()
284 jpeg_set_colorspace(cinfo, JCS_GRAYSCALE); in jpeg_default_colorspace()
350 case JCS_GRAYSCALE: in jpeg_set_colorspace()
Dwrtarga.c68 if (cinfo->out_color_space == JCS_GRAYSCALE) { in write_header()
166 if (cinfo->out_color_space == JCS_GRAYSCALE) { in start_output_tga()
Dwrppm.c166 case JCS_GRAYSCALE: in start_output_ppm()
235 else if (cinfo->out_color_space == JCS_GRAYSCALE) in jinit_write_ppm()
Djdapimin.c133 cinfo->jpeg_color_space = JCS_GRAYSCALE; in default_decompress_parms()
134 cinfo->out_color_space = JCS_GRAYSCALE; in default_decompress_parms()
Dwrgif.c375 if (cinfo->out_color_space != JCS_GRAYSCALE && in jinit_write_gif()
380 if (cinfo->out_color_space != JCS_GRAYSCALE || cinfo->data_precision > 8) { in jinit_write_gif()
Djccolor.c548 case JCS_GRAYSCALE: in jinit_color_converter()
587 case JCS_GRAYSCALE: in jinit_color_converter()
590 if (cinfo->in_color_space == JCS_GRAYSCALE) in jinit_color_converter()
Drdppm.c341 cinfo->in_color_space = JCS_GRAYSCALE; in start_input_ppm()
357 cinfo->in_color_space = JCS_GRAYSCALE; in start_input_ppm()
Dwrrle.c105 if (cinfo->out_color_space != JCS_GRAYSCALE && in start_output_rle()
Dturbojpeg.c182 cinfo->in_color_space=JCS_GRAYSCALE; break; in setCompDefaults()
249 jpeg_set_colorspace(cinfo, JCS_GRAYSCALE); in setCompDefaults()
282 dinfo->out_color_space=JCS_GRAYSCALE; break; in setDecompDefaults()
340 if(dinfo->num_components==1 && dinfo->jpeg_color_space==JCS_GRAYSCALE) in getSubsamp()
1281 case JCS_GRAYSCALE: *jpegColorspace=TJCS_GRAY; break; in tjDecompressHeader3()
1459 dinfo->jpeg_color_space=JCS_GRAYSCALE; in setDecodeDefaults()
Drdrle.c148 cinfo->in_color_space = JCS_GRAYSCALE; in start_input_rle()
Dbmp.c276 dinfo.out_color_space=JCS_GRAYSCALE; in savebmp()
Drdtarga.c412 cinfo->in_color_space = JCS_GRAYSCALE; in start_input_tga()
/external/opencv3/3rdparty/libjpeg/
Djdcolor.c512 case JCS_GRAYSCALE: in jinit_color_deconverter()
545 case JCS_GRAYSCALE: in jinit_color_deconverter()
547 if (cinfo->jpeg_color_space == JCS_GRAYSCALE || in jinit_color_deconverter()
575 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
Djcparam.c387 case JCS_GRAYSCALE: in jpeg_default_colorspace()
388 jpeg_set_colorspace(cinfo, JCS_GRAYSCALE); in jpeg_default_colorspace()
444 case JCS_GRAYSCALE: in jpeg_set_colorspace()
Djdapimin.c122 cinfo->jpeg_color_space = JCS_GRAYSCALE; in default_decompress_parms()
123 cinfo->out_color_space = JCS_GRAYSCALE; in default_decompress_parms()
Djccolor.c436 case JCS_GRAYSCALE: in jinit_color_converter()
469 case JCS_GRAYSCALE: in jinit_color_converter()
472 if (cinfo->in_color_space == JCS_GRAYSCALE || in jinit_color_converter()
/external/skia/src/images/
DSkImageDecoder_libjpeg.cpp230 if (JCS_GRAYSCALE == cinfo->jpeg_color_space) { in getBitmapColorType()
240 if (cinfo->jpeg_color_space != JCS_GRAYSCALE) { in getBitmapColorType()
266 case JCS_GRAYSCALE: in getBitmapColorType()
268 cinfo->out_color_space = JCS_GRAYSCALE; in getBitmapColorType()
345 JCS_GRAYSCALE == cinfo.out_color_space) { in get_src_config()
/external/skia/src/codec/
DSkJpegDecoderMgr.cpp39 case JCS_GRAYSCALE: in getColorType()
/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/opencv3/modules/imgcodecs/src/
Dgrfmt_jpeg.cpp437 cinfo->out_color_space = JCS_GRAYSCALE; in readData()
598 cinfo.in_color_space = channels > 1 ? JCS_RGB : JCS_GRAYSCALE; in write()

12