Home
last modified time | relevance | path

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

/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.c750 switch (cinfo->jpeg_color_space) { in jinit_color_deconverter()
782 if (cinfo->jpeg_color_space == JCS_GRAYSCALE || in jinit_color_deconverter()
783 cinfo->jpeg_color_space == JCS_YCbCr) { in jinit_color_deconverter()
788 } else if (cinfo->jpeg_color_space == JCS_RGB) { in jinit_color_deconverter()
807 if (cinfo->jpeg_color_space == JCS_YCbCr) { in jinit_color_deconverter()
814 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
816 } else if (cinfo->jpeg_color_space == JCS_RGB) { in jinit_color_deconverter()
831 if (cinfo->jpeg_color_space == JCS_YCbCr) { in jinit_color_deconverter()
838 } else if (cinfo->jpeg_color_space == JCS_GRAYSCALE) { in jinit_color_deconverter()
840 } else if (cinfo->jpeg_color_space == JCS_RGB) { in jinit_color_deconverter()
[all …]
Djcparam.c346 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()
Dturbojpeg.c315 if (dinfo->num_components == 1 && dinfo->jpeg_color_space == JCS_GRAYSCALE) in getSubsamp()
320 ((dinfo->jpeg_color_space == JCS_YCCK || in getSubsamp()
321 dinfo->jpeg_color_space == JCS_CMYK) && in getSubsamp()
330 if ((dinfo->jpeg_color_space == JCS_YCCK || in getSubsamp()
331 dinfo->jpeg_color_space == JCS_CMYK) && k == 3) { in getSubsamp()
352 if ((dinfo->jpeg_color_space == JCS_YCCK || in getSubsamp()
353 dinfo->jpeg_color_space == JCS_CMYK) && k == 3) { in getSubsamp()
1187 switch (dinfo->jpeg_color_space) { in tjDecompressHeader3()
1344 dinfo->jpeg_color_space = JCS_GRAYSCALE; in setDecodeDefaults()
1347 dinfo->jpeg_color_space = JCS_YCbCr; in setDecodeDefaults()
Djpeglib.h339 J_COLOR_SPACE jpeg_color_space; /* colorspace of JPEG image */ member
484 J_COLOR_SPACE jpeg_color_space; /* colorspace of JPEG image */ member
Djdmaster.c41 if (cinfo->jpeg_color_space != JCS_YCbCr || cinfo->num_components != 3 || in use_merged_upsample()
78 jsimd_can_ycc_rgb() && cinfo->jpeg_color_space == JCS_YCbCr && in use_merged_upsample()
Djccolor.c578 switch (cinfo->jpeg_color_space) { in jinit_color_converter()
699 if (cinfo->jpeg_color_space != cinfo->in_color_space || in jinit_color_converter()
Dtransupp.c906 srcinfo->jpeg_color_space == JCS_YCbCr && in jtransform_request_workspace()
1355 if (((dstinfo->jpeg_color_space == JCS_YCbCr && in jtransform_adjust_parameters()
1357 (dstinfo->jpeg_color_space == JCS_GRAYSCALE && in jtransform_adjust_parameters()
Djcmarker.c419 switch (cinfo->jpeg_color_space) { in emit_adobe_app14()
Dlibjpeg.txt890 Sets the JPEG file's colorspace (field jpeg_color_space) as specified,
995 J_COLOR_SPACE jpeg_color_space
1183 J_COLOR_SPACE jpeg_color_space Colorspace of image
1204 based on jpeg_color_space; typically it will be RGB or grayscale.
1366 by jpeg_color_space. jpeg_set_defaults() chooses a reasonable JPEG color
1385 jpeg_color_space to JCS_YCbCr; use JCS_UNKNOWN. You may want to write an
1394 For decompression, the JPEG file's color space is given in jpeg_color_space,
1396 jpeg_read_header's setting of jpeg_color_space can be relied on if the file
1399 jpeg_read_header's guess by setting jpeg_color_space. jpeg_read_header also
1400 selects a default output color space based on (its guess of) jpeg_color_space;
[all …]
Djdmarker.c221 cinfo->jpeg_color_space = JCS_UNKNOWN; in get_soi()
/external/skia/src/codec/
DSkJpegDecoderMgr.cpp54 switch (fDInfo.jpeg_color_space) { in getEncodedColor()
DSkJpegCodec.cpp194 switch (decoderMgr->dinfo()->jpeg_color_space) { in ReadHeader()
351 J_COLOR_SPACE encodedColorType = fDecoderMgr->dinfo()->jpeg_color_space; in conversionSupported()
753 if (JCS_YCbCr != dinfo->jpeg_color_space) { in is_yuv_supported()
/external/skqp/src/codec/
DSkJpegDecoderMgr.cpp54 switch (fDInfo.jpeg_color_space) { in getEncodedColor()
DSkJpegCodec.cpp244 switch (decoderMgr->dinfo()->jpeg_color_space) { in ReadHeader()
401 J_COLOR_SPACE encodedColorType = fDecoderMgr->dinfo()->jpeg_color_space; in conversionSupported()
794 if (JCS_YCbCr != dinfo->jpeg_color_space) { in is_yuv_supported()
/external/pdfium/core/fxcodec/jpeg/
Djpegmodule.cpp184 cinfo.jpeg_color_space == JCS_YCbCr || cinfo.jpeg_color_space == JCS_YCCK; in JpegLoadInfo()
324 m_Cinfo.out_color_space = m_Cinfo.jpeg_color_space; in InitDecode()
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem.cc147 if (cinfo.jpeg_color_space == JCS_CMYK || in UncompressLow()
148 cinfo.jpeg_color_space == JCS_YCCK) { in UncompressLow()
/external/libaom/libaom/third_party/libyuv/source/
Dmjpeg_decoder.cc179 return decompress_struct_->jpeg_color_space; in GetColorSpace()
/external/libyuv/files/source/
Dmjpeg_decoder.cc181 return decompress_struct_->jpeg_color_space; in GetColorSpace()
/external/libvpx/libvpx/third_party/libyuv/source/
Dmjpeg_decoder.cc180 return decompress_struct_->jpeg_color_space; in GetColorSpace()
/external/pdfium/third_party/libtiff/
Dtif_jpeg.c1282 sp->cinfo.d.jpeg_color_space = JCS_YCbCr; in JPEGPreDecode()
1286 sp->cinfo.d.jpeg_color_space = JCS_UNKNOWN; in JPEGPreDecode()
Dtif_ojpeg.c1295 sp->libjpeg_jpeg_decompress_struct.jpeg_color_space=JCS_UNKNOWN; in OJPEGWriteHeaderInfo()