Home
last modified time | relevance | path

Searched refs:jpeg_color_space (Results 1 – 25 of 42) sorted by relevance

12

/external/pdfium/third_party/libjpeg/
Dfpdfapi_jdapimin.c121 cinfo->jpeg_color_space = JCS_GRAYSCALE; in default_decompress_parms()
127 cinfo->jpeg_color_space = JCS_YCbCr; /* JFIF implies YCbCr */ in default_decompress_parms()
131 cinfo->jpeg_color_space = JCS_RGB; in default_decompress_parms()
134 cinfo->jpeg_color_space = JCS_YCbCr; in default_decompress_parms()
138 cinfo->jpeg_color_space = JCS_YCbCr; /* assume it's YCbCr */ in default_decompress_parms()
148 cinfo->jpeg_color_space = JCS_YCbCr; /* assume JFIF w/out marker */ in default_decompress_parms()
150 cinfo->jpeg_color_space = JCS_RGB; /* ASCII 'R', 'G', 'B' */ in default_decompress_parms()
153 cinfo->jpeg_color_space = JCS_YCbCr; /* assume it's YCbCr */ in default_decompress_parms()
164 cinfo->jpeg_color_space = JCS_CMYK; in default_decompress_parms()
167 cinfo->jpeg_color_space = JCS_YCCK; in default_decompress_parms()
[all …]
Dfpdfapi_jdcolor.c316 switch (cinfo->jpeg_color_space) { in jinit_color_deconverter()
348 if (cinfo->jpeg_color_space == JCS_GRAYSCALE || in jinit_color_deconverter()
349 cinfo->jpeg_color_space == JCS_YCbCr) { in jinit_color_deconverter()
360 if (cinfo->jpeg_color_space == JCS_YCbCr) { in jinit_color_deconverter()
363 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
365 } else if (cinfo->jpeg_color_space == JCS_RGB && RGB_PIXELSIZE == 3) { in jinit_color_deconverter()
373 if (cinfo->jpeg_color_space == JCS_YCCK) { in jinit_color_deconverter()
376 } else if (cinfo->jpeg_color_space == JCS_CMYK) { in jinit_color_deconverter()
384 if (cinfo->out_color_space == cinfo->jpeg_color_space) { in jinit_color_deconverter()
Dfpdfapi_jcparam.c413 cinfo->jpeg_color_space = colorspace; in jpeg_set_colorspace()
548 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression()
576 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression()
Dfpdfapi_jctrans.c78 dstinfo->in_color_space = srcinfo->jpeg_color_space; in jpeg_copy_critical_parameters()
84 jpeg_set_colorspace(dstinfo, srcinfo->jpeg_color_space); in jpeg_copy_critical_parameters()
Dfpdfapi_jccolor.c395 switch (cinfo->jpeg_color_space) { in jinit_color_converter()
453 if (cinfo->jpeg_color_space != cinfo->in_color_space || in jinit_color_converter()
Djpeglib.h399 J_COLOR_SPACE jpeg_color_space; /* colorspace of JPEG image */ member
525 J_COLOR_SPACE jpeg_color_space; /* colorspace of JPEG image */ member
/external/opencv3/3rdparty/libjpeg/
Djdapimin.c122 cinfo->jpeg_color_space = JCS_GRAYSCALE; in default_decompress_parms()
128 cinfo->jpeg_color_space = JCS_YCbCr; /* JFIF implies YCbCr */ in default_decompress_parms()
132 cinfo->jpeg_color_space = JCS_RGB; in default_decompress_parms()
135 cinfo->jpeg_color_space = JCS_YCbCr; in default_decompress_parms()
139 cinfo->jpeg_color_space = JCS_YCbCr; /* assume it's YCbCr */ in default_decompress_parms()
149 cinfo->jpeg_color_space = JCS_YCbCr; /* assume JFIF w/out marker */ in default_decompress_parms()
151 cinfo->jpeg_color_space = JCS_RGB; /* ASCII 'R', 'G', 'B' */ in default_decompress_parms()
154 cinfo->jpeg_color_space = JCS_YCbCr; /* assume it's YCbCr */ in default_decompress_parms()
165 cinfo->jpeg_color_space = JCS_CMYK; in default_decompress_parms()
168 cinfo->jpeg_color_space = JCS_YCCK; in default_decompress_parms()
[all …]
Djdcolor.c511 switch (cinfo->jpeg_color_space) { in jinit_color_deconverter()
536 if (cinfo->color_transform && cinfo->jpeg_color_space != JCS_RGB) in jinit_color_deconverter()
547 if (cinfo->jpeg_color_space == JCS_GRAYSCALE || in jinit_color_deconverter()
548 cinfo->jpeg_color_space == JCS_YCbCr) { in jinit_color_deconverter()
553 } else if (cinfo->jpeg_color_space == JCS_RGB) { in jinit_color_deconverter()
572 if (cinfo->jpeg_color_space == JCS_YCbCr) { in jinit_color_deconverter()
575 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
577 } else if (cinfo->jpeg_color_space == JCS_RGB) { in jinit_color_deconverter()
595 if (cinfo->jpeg_color_space == JCS_YCCK) { in jinit_color_deconverter()
598 } else if (cinfo->jpeg_color_space == JCS_CMYK) { in jinit_color_deconverter()
[all …]
Djcparam.c438 cinfo->jpeg_color_space = colorspace; in jpeg_set_colorspace()
575 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression()
603 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression()
Djccolor.c464 if (cinfo->color_transform && cinfo->jpeg_color_space != JCS_RGB) in jinit_color_converter()
468 switch (cinfo->jpeg_color_space) { in jinit_color_converter()
535 if (cinfo->jpeg_color_space != cinfo->in_color_space || in jinit_color_converter()
Djctrans.c79 dstinfo->in_color_space = srcinfo->jpeg_color_space; in jpeg_copy_critical_parameters()
92 jpeg_set_colorspace(dstinfo, srcinfo->jpeg_color_space); in jpeg_copy_critical_parameters()
Djpeglib.h324 J_COLOR_SPACE jpeg_color_space; /* colorspace of JPEG image */ member
464 J_COLOR_SPACE jpeg_color_space; /* colorspace of JPEG image */ member
Djdmaster.c52 if (cinfo->jpeg_color_space != JCS_YCbCr || cinfo->num_components != 3 || in use_merged_upsample()
/external/libjpeg-turbo/
Djdapimin.c133 cinfo->jpeg_color_space = JCS_GRAYSCALE; in default_decompress_parms()
139 cinfo->jpeg_color_space = JCS_YCbCr; /* JFIF implies YCbCr */ in default_decompress_parms()
143 cinfo->jpeg_color_space = JCS_RGB; in default_decompress_parms()
146 cinfo->jpeg_color_space = JCS_YCbCr; in default_decompress_parms()
150 cinfo->jpeg_color_space = JCS_YCbCr; /* assume it's YCbCr */ in default_decompress_parms()
160 cinfo->jpeg_color_space = JCS_YCbCr; /* assume JFIF w/out marker */ in default_decompress_parms()
162 cinfo->jpeg_color_space = JCS_RGB; /* ASCII 'R', 'G', 'B' */ in default_decompress_parms()
165 cinfo->jpeg_color_space = JCS_YCbCr; /* assume it's YCbCr */ in default_decompress_parms()
176 cinfo->jpeg_color_space = JCS_CMYK; in default_decompress_parms()
179 cinfo->jpeg_color_space = JCS_YCCK; in default_decompress_parms()
[all …]
Djdcolor.c763 switch (cinfo->jpeg_color_space) { in jinit_color_deconverter()
795 if (cinfo->jpeg_color_space == JCS_GRAYSCALE || in jinit_color_deconverter()
796 cinfo->jpeg_color_space == JCS_YCbCr) { in jinit_color_deconverter()
801 } else if (cinfo->jpeg_color_space == JCS_RGB) { in jinit_color_deconverter()
820 if (cinfo->jpeg_color_space == JCS_YCbCr) { in jinit_color_deconverter()
827 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
829 } else if (cinfo->jpeg_color_space == JCS_RGB) { in jinit_color_deconverter()
844 if (cinfo->jpeg_color_space == JCS_YCbCr) { in jinit_color_deconverter()
851 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
853 } else if (cinfo->jpeg_color_space == JCS_RGB) { in jinit_color_deconverter()
[all …]
Djcparam.c344 cinfo->jpeg_color_space = colorspace; in jpeg_set_colorspace()
479 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression()
507 if (ncomps == 3 && cinfo->jpeg_color_space == JCS_YCbCr) { in jpeg_simple_progression()
Djctrans.c81 dstinfo->in_color_space = srcinfo->jpeg_color_space; in jpeg_copy_critical_parameters()
93 jpeg_set_colorspace(dstinfo, srcinfo->jpeg_color_space); in jpeg_copy_critical_parameters()
Djpeglib.h338 J_COLOR_SPACE jpeg_color_space; /* colorspace of JPEG image */ member
483 J_COLOR_SPACE jpeg_color_space; /* colorspace of JPEG image */ member
Dturbojpeg.c340 if(dinfo->num_components==1 && dinfo->jpeg_color_space==JCS_GRAYSCALE) in getSubsamp()
346 || ((dinfo->jpeg_color_space==JCS_YCCK in getSubsamp()
347 || dinfo->jpeg_color_space==JCS_CMYK) in getSubsamp()
357 if(dinfo->jpeg_color_space==JCS_YCCK && k==3) in getSubsamp()
1279 switch(dinfo->jpeg_color_space) in tjDecompressHeader3()
1459 dinfo->jpeg_color_space=JCS_GRAYSCALE; in setDecodeDefaults()
1464 dinfo->jpeg_color_space=JCS_YCbCr; in setDecodeDefaults()
Djccolor.c586 switch (cinfo->jpeg_color_space) { in jinit_color_converter()
707 if (cinfo->jpeg_color_space != cinfo->in_color_space || in jinit_color_converter()
/external/skia/src/codec/
DSkJpegDecoderMgr.cpp38 switch (fDInfo.jpeg_color_space) { in getColorType()
DSkJpegCodec.cpp184 J_COLOR_SPACE colorSpace = fDecoderMgr->dinfo()->jpeg_color_space; in setOutputColorSpace()
549 if (JCS_YCbCr != dinfo->jpeg_color_space) { in is_yuv_supported()
/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()
257 switch (cinfo->jpeg_color_space) { in getBitmapColorType()
567 return (info.jpeg_color_space == JCS_YCbCr) in appears_to_be_yuv()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpeg.cpp298 cinfo.jpeg_color_space == JCS_YCbCr || cinfo.jpeg_color_space == JCS_YCCK; in _JpegLoadInfo()
389 cinfo.out_color_space = cinfo.jpeg_color_space; in InitDecode()
/external/libyuv/files/source/
Dmjpeg_decoder.cc190 return decompress_struct_->jpeg_color_space; in GetColorSpace()

12