Home
last modified time | relevance | path

Searched refs:in_color_space (Results 1 – 25 of 37) sorted by relevance

12

/external/libjpeg-turbo/
Djccolor.c237 switch (cinfo->in_color_space) { in rgb_ycc_convert()
286 switch (cinfo->in_color_space) { in rgb_gray_convert()
332 switch (cinfo->in_color_space) { in rgb_rgb_convert()
547 switch (cinfo->in_color_space) { in jinit_color_converter()
564 if (cinfo->input_components != rgb_pixelsize[cinfo->in_color_space]) in jinit_color_converter()
590 if (cinfo->in_color_space == JCS_GRAYSCALE) in jinit_color_converter()
592 else if (cinfo->in_color_space == JCS_RGB || in jinit_color_converter()
593 cinfo->in_color_space == JCS_EXT_RGB || in jinit_color_converter()
594 cinfo->in_color_space == JCS_EXT_RGBX || in jinit_color_converter()
595 cinfo->in_color_space == JCS_EXT_BGR || in jinit_color_converter()
[all …]
Djcstest.c89 cinfo.in_color_space = JCS_EXT_RGB; in main()
113 cinfo.in_color_space = JCS_EXT_RGBA; in main()
Drdppm.c341 cinfo->in_color_space = JCS_GRAYSCALE; in start_input_ppm()
349 cinfo->in_color_space = JCS_RGB; in start_input_ppm()
357 cinfo->in_color_space = JCS_GRAYSCALE; in start_input_ppm()
372 cinfo->in_color_space = JCS_RGB; in start_input_ppm()
Dexample.c128 cinfo.in_color_space = JCS_RGB; /* colorspace of input image */ in write_JPEG_file()
Drdrle.c148 cinfo->in_color_space = JCS_GRAYSCALE; in start_input_rle()
151 cinfo->in_color_space = JCS_RGB; in start_input_rle()
Drdtarga.c383 cinfo->in_color_space = JCS_RGB; in start_input_tga()
412 cinfo->in_color_space = JCS_GRAYSCALE; in start_input_tga()
Dturbojpeg.c182 cinfo->in_color_space=JCS_GRAYSCALE; break; in setCompDefaults()
185 cinfo->in_color_space=JCS_EXT_RGB; break; in setCompDefaults()
187 cinfo->in_color_space=JCS_EXT_BGR; break; in setCompDefaults()
190 cinfo->in_color_space=JCS_EXT_RGBX; break; in setCompDefaults()
193 cinfo->in_color_space=JCS_EXT_BGRX; break; in setCompDefaults()
196 cinfo->in_color_space=JCS_EXT_XRGB; break; in setCompDefaults()
199 cinfo->in_color_space=JCS_EXT_XBGR; break; in setCompDefaults()
211 cinfo->in_color_space=JCS_RGB; pixelFormat=TJPF_RGB; in setCompDefaults()
215 cinfo->in_color_space=JCS_CMYK; break; in setCompDefaults()
Djctrans.c81 dstinfo->in_color_space = srcinfo->jpeg_color_space; in jpeg_copy_critical_parameters()
Dbmp.c211 if(cinfo.input_components==1 && cinfo.in_color_space==JCS_RGB) in loadbmp()
Djcparam.c282 switch (cinfo->in_color_space) { in jpeg_default_colorspace()
Drdbmp.c442 cinfo->in_color_space = JCS_RGB; in start_input_bmp()
Dcjpeg.c525 cinfo.in_color_space = JCS_RGB; /* arbitrary guess */ in main()
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jccolor.c364 switch (cinfo->in_color_space) { in jinit_color_converter()
399 if (cinfo->in_color_space == JCS_GRAYSCALE) in jinit_color_converter()
401 else if (cinfo->in_color_space == JCS_RGB) { in jinit_color_converter()
404 } else if (cinfo->in_color_space == JCS_YCbCr) in jinit_color_converter()
413 if (cinfo->in_color_space == JCS_RGB && RGB_PIXELSIZE == 3) in jinit_color_converter()
422 if (cinfo->in_color_space == JCS_RGB) { in jinit_color_converter()
425 } else if (cinfo->in_color_space == JCS_YCbCr) in jinit_color_converter()
434 if (cinfo->in_color_space == JCS_CMYK) in jinit_color_converter()
443 if (cinfo->in_color_space == JCS_CMYK) { in jinit_color_converter()
446 } else if (cinfo->in_color_space == JCS_YCCK) in jinit_color_converter()
[all …]
Dfpdfapi_jctrans.c78 dstinfo->in_color_space = srcinfo->jpeg_color_space; in jpeg_copy_critical_parameters()
Dfpdfapi_jcparam.c361 switch (cinfo->in_color_space) { in jpeg_default_colorspace()
/external/opencv3/3rdparty/libjpeg/
Djccolor.c435 switch (cinfo->in_color_space) { in jinit_color_converter()
472 if (cinfo->in_color_space == JCS_GRAYSCALE || in jinit_color_converter()
473 cinfo->in_color_space == JCS_YCbCr) in jinit_color_converter()
475 else if (cinfo->in_color_space == JCS_RGB) { in jinit_color_converter()
485 if (cinfo->in_color_space == JCS_RGB) { in jinit_color_converter()
504 if (cinfo->in_color_space == JCS_RGB) { in jinit_color_converter()
507 } else if (cinfo->in_color_space == JCS_YCbCr) in jinit_color_converter()
516 if (cinfo->in_color_space == JCS_CMYK) in jinit_color_converter()
525 if (cinfo->in_color_space == JCS_CMYK) { in jinit_color_converter()
528 } else if (cinfo->in_color_space == JCS_YCCK) in jinit_color_converter()
[all …]
Djctrans.c79 dstinfo->in_color_space = srcinfo->jpeg_color_space; in jpeg_copy_critical_parameters()
/external/libvncserver/common/
Dturbojpeg.c148 cinfo->in_color_space=JCS_GRAYSCALE; break; in setCompDefaults()
151 cinfo->in_color_space=JCS_EXT_RGB; break; in setCompDefaults()
153 cinfo->in_color_space=JCS_EXT_BGR; break; in setCompDefaults()
156 cinfo->in_color_space=JCS_EXT_RGBX; break; in setCompDefaults()
159 cinfo->in_color_space=JCS_EXT_BGRX; break; in setCompDefaults()
162 cinfo->in_color_space=JCS_EXT_XRGB; break; in setCompDefaults()
165 cinfo->in_color_space=JCS_EXT_XBGR; break; in setCompDefaults()
177 cinfo->in_color_space=JCS_RGB; pixelFormat=TJPF_RGB; in setCompDefaults()
/external/opencv3/3rdparty/libtiff/
Dtif_jpeg.c1515 sp->cinfo.c.in_color_space = JCS_UNKNOWN; in JPEGSetupEncode()
1681 sp->cinfo.c.in_color_space = JCS_RGB; in JPEGPreEncode()
1683 sp->cinfo.c.in_color_space = JCS_YCbCr; in JPEGPreEncode()
1697 sp->cinfo.c.in_color_space = JCS_GRAYSCALE; in JPEGPreEncode()
1699 sp->cinfo.c.in_color_space = JCS_RGB; in JPEGPreEncode()
1701 sp->cinfo.c.in_color_space = JCS_CMYK; in JPEGPreEncode()
1703 sp->cinfo.c.in_color_space = JCS_UNKNOWN; in JPEGPreEncode()
1704 if (!TIFFjpeg_set_colorspace(sp, sp->cinfo.c.in_color_space)) in JPEGPreEncode()
1710 sp->cinfo.c.in_color_space = JCS_UNKNOWN; in JPEGPreEncode()
/external/libjpeg-turbo/simd/
Djsimd_x86_64.c96 switch(cinfo->in_color_space) { in jsimd_rgb_ycc_convert()
134 switch(cinfo->in_color_space) { in jsimd_rgb_gray_convert()
Djsimd_mips.c194 switch(cinfo->in_color_space) { in jsimd_rgb_ycc_convert()
235 switch(cinfo->in_color_space) { in jsimd_rgb_gray_convert()
Djsimd_i386.c147 switch(cinfo->in_color_space) { in jsimd_rgb_ycc_convert()
197 switch(cinfo->in_color_space) { in jsimd_rgb_gray_convert()
Djsimd_arm.c202 switch(cinfo->in_color_space) { in jsimd_rgb_ycc_convert()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpeg.cpp179 cinfo.in_color_space = JCS_GRAYSCALE; in _JpegEncode()
181 cinfo.in_color_space = JCS_RGB; in _JpegEncode()
183 cinfo.in_color_space = JCS_CMYK; in _JpegEncode()
/external/pdfium/third_party/libtiff/
Dtif_jpeg.c1612 sp->cinfo.c.in_color_space = JCS_RGB; in JPEGSetupEncode()
1614 sp->cinfo.c.in_color_space = JCS_YCbCr; in JPEGSetupEncode()
1618 sp->cinfo.c.in_color_space = JCS_GRAYSCALE; in JPEGSetupEncode()
1620 sp->cinfo.c.in_color_space = JCS_RGB; in JPEGSetupEncode()
1622 sp->cinfo.c.in_color_space = JCS_CMYK; in JPEGSetupEncode()
1624 sp->cinfo.c.in_color_space = JCS_UNKNOWN; in JPEGSetupEncode()
1628 sp->cinfo.c.in_color_space = JCS_UNKNOWN; in JPEGSetupEncode()
1805 if (!TIFFjpeg_set_colorspace(sp, sp->cinfo.c.in_color_space)) in JPEGPreEncode()

12