Home
last modified time | relevance | path

Searched refs:out_color_space (Results 1 – 25 of 33) sorted by relevance

12

/external/libjpeg-turbo/
Djdmaster.c42 (cinfo->out_color_space != JCS_RGB && in use_merged_upsample()
43 cinfo->out_color_space != JCS_RGB565 && in use_merged_upsample()
44 cinfo->out_color_space != JCS_EXT_RGB && in use_merged_upsample()
45 cinfo->out_color_space != JCS_EXT_RGBX && in use_merged_upsample()
46 cinfo->out_color_space != JCS_EXT_BGR && in use_merged_upsample()
47 cinfo->out_color_space != JCS_EXT_BGRX && in use_merged_upsample()
48 cinfo->out_color_space != JCS_EXT_XBGR && in use_merged_upsample()
49 cinfo->out_color_space != JCS_EXT_XRGB && in use_merged_upsample()
50 cinfo->out_color_space != JCS_EXT_RGBA && in use_merged_upsample()
51 cinfo->out_color_space != JCS_EXT_BGRA && in use_merged_upsample()
[all …]
Dwrbmp.c107 if (cinfo->out_color_space == JCS_RGB565) { in put_pixel_rows()
207 if (cinfo->out_color_space == JCS_RGB) { in write_bmp_header()
217 } else if (cinfo->out_color_space == JCS_RGB565) { in write_bmp_header()
275 if (cinfo->out_color_space == JCS_RGB) { in write_os2_header()
285 } else if (cinfo->out_color_space == JCS_RGB565) { in write_os2_header()
443 if (cinfo->out_color_space == JCS_GRAYSCALE) { in jinit_write_bmp()
445 } else if (cinfo->out_color_space == JCS_RGB) { in jinit_write_bmp()
450 } else if (cinfo->out_color_space == JCS_RGB565) { in jinit_write_bmp()
460 if (cinfo->out_color_space == JCS_RGB565) { in jinit_write_bmp()
469 if (cinfo->out_color_space == JCS_RGB565) { in jinit_write_bmp()
Djdcolor.c258 switch (cinfo->out_color_space) { in ycc_rgb_convert()
444 switch (cinfo->out_color_space) { in gray_rgb_convert()
490 switch (cinfo->out_color_space) { in rgb_rgb_convert()
793 switch (cinfo->out_color_space) { in jinit_color_deconverter()
820 cinfo->out_color_components = rgb_pixelsize[cinfo->out_color_space]; in jinit_color_deconverter()
831 if (rgb_red[cinfo->out_color_space] == 0 && in jinit_color_deconverter()
832 rgb_green[cinfo->out_color_space] == 1 && in jinit_color_deconverter()
833 rgb_blue[cinfo->out_color_space] == 2 && in jinit_color_deconverter()
834 rgb_pixelsize[cinfo->out_color_space] == 3) in jinit_color_deconverter()
885 if (cinfo->out_color_space == cinfo->jpeg_color_space) { in jinit_color_deconverter()
Djdapimin.c134 cinfo->out_color_space = JCS_GRAYSCALE; in default_decompress_parms()
169 cinfo->out_color_space = JCS_RGB; in default_decompress_parms()
190 cinfo->out_color_space = JCS_CMYK; in default_decompress_parms()
195 cinfo->out_color_space = JCS_UNKNOWN; in default_decompress_parms()
Dwrgif.c266 if (dinfo->cinfo->out_color_space == JCS_RGB) { in emit_header()
387 if (cinfo->out_color_space != JCS_GRAYSCALE && in jinit_write_gif()
388 cinfo->out_color_space != JCS_RGB) in jinit_write_gif()
392 if (cinfo->out_color_space != JCS_GRAYSCALE || cinfo->data_precision > 8) { in jinit_write_gif()
Dwrtarga.c69 if (cinfo->out_color_space == JCS_GRAYSCALE) { in write_header()
167 if (cinfo->out_color_space == JCS_GRAYSCALE) { in start_output_tga()
175 } else if (cinfo->out_color_space == JCS_RGB) { in start_output_tga()
Djdmerge.c265 if (cinfo->out_color_space == JCS_RGB565) in merged_2v_upsample()
340 switch (cinfo->out_color_space) { in h2v1_merged_upsample()
386 switch (cinfo->out_color_space) { in h2v2_merged_upsample()
596 if (cinfo->out_color_space == JCS_RGB565) { in jinit_merged_upsampler()
613 if (cinfo->out_color_space == JCS_RGB565) { in jinit_merged_upsampler()
Dwrppm.c180 switch (cinfo->out_color_space) { in start_output_ppm()
264 else if (cinfo->out_color_space == JCS_GRAYSCALE) in jinit_write_ppm()
Djquant1.c197 RGB_order[0] = rgb_green[cinfo->out_color_space]; in select_ncolors()
198 RGB_order[1] = rgb_red[cinfo->out_color_space]; in select_ncolors()
199 RGB_order[2] = rgb_blue[cinfo->out_color_space]; in select_ncolors()
231 j = (cinfo->out_color_space == JCS_RGB ? RGB_order[i] : i); in select_ncolors()
Dturbojpeg.c283 dinfo->out_color_space=JCS_GRAYSCALE; break; in setDecompDefaults()
286 dinfo->out_color_space=JCS_EXT_RGB; break; in setDecompDefaults()
288 dinfo->out_color_space=JCS_EXT_BGR; break; in setDecompDefaults()
290 dinfo->out_color_space=JCS_EXT_RGBX; break; in setDecompDefaults()
292 dinfo->out_color_space=JCS_EXT_BGRX; break; in setDecompDefaults()
294 dinfo->out_color_space=JCS_EXT_XRGB; break; in setDecompDefaults()
296 dinfo->out_color_space=JCS_EXT_XBGR; break; in setDecompDefaults()
299 dinfo->out_color_space=JCS_EXT_RGBA; break; in setDecompDefaults()
301 dinfo->out_color_space=JCS_EXT_BGRA; break; in setDecompDefaults()
303 dinfo->out_color_space=JCS_EXT_ARGB; break; in setDecompDefaults()
[all …]
Dwrrle.c106 if (cinfo->out_color_space != JCS_GRAYSCALE && in start_output_rle()
107 cinfo->out_color_space != JCS_RGB) in start_output_rle()
Ddjpeg.c296 cinfo->out_color_space = JCS_GRAYSCALE; in parse_switches()
300 cinfo->out_color_space = JCS_RGB; in parse_switches()
304 cinfo->out_color_space = JCS_RGB565; in parse_switches()
Dbmp.c283 dinfo.out_color_space=JCS_GRAYSCALE; in savebmp()
288 dinfo.out_color_space=JCS_RGB; in savebmp()
Djquant2.c81 #define C0_SCALE c_scales[rgb_red[cinfo->out_color_space]]
82 #define C1_SCALE c_scales[rgb_green[cinfo->out_color_space]]
83 #define C2_SCALE c_scales[rgb_blue[cinfo->out_color_space]]
436 if (rgb_red[cinfo->out_color_space] == 0) { in median_cut()
/external/libvncserver/common/
Dturbojpeg.c213 dinfo->out_color_space=JCS_GRAYSCALE; break; in setDecompDefaults()
216 dinfo->out_color_space=JCS_EXT_RGB; break; in setDecompDefaults()
218 dinfo->out_color_space=JCS_EXT_BGR; break; in setDecompDefaults()
220 dinfo->out_color_space=JCS_EXT_RGBX; break; in setDecompDefaults()
222 dinfo->out_color_space=JCS_EXT_BGRX; break; in setDecompDefaults()
224 dinfo->out_color_space=JCS_EXT_XRGB; break; in setDecompDefaults()
226 dinfo->out_color_space=JCS_EXT_XBGR; break; in setDecompDefaults()
229 dinfo->out_color_space=JCS_EXT_RGBA; break; in setDecompDefaults()
231 dinfo->out_color_space=JCS_EXT_BGRA; break; in setDecompDefaults()
233 dinfo->out_color_space=JCS_EXT_ARGB; break; in setDecompDefaults()
[all …]
/external/skia/src/codec/
DSkJpegCodec.cpp313 const size_t colorBytes = (dinfo->out_color_space == JCS_RGB565) ? 2 : in get_row_bytes()
406 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in setOutputColorSpace()
412 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in setOutputColorSpace()
414 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_BGRA; in setOutputColorSpace()
419 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in setOutputColorSpace()
422 fDecoderMgr->dinfo()->out_color_space = JCS_RGB565; in setOutputColorSpace()
430 fDecoderMgr->dinfo()->out_color_space = JCS_GRAYSCALE; in setOutputColorSpace()
439 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in setOutputColorSpace()
448 fDecoderMgr->dinfo()->out_color_space = JCS_CMYK; in setOutputColorSpace()
605 if (needs_swizzler_to_convert_from_cmyk(dinfo->out_color_space, this->getInfo(), in onGetPixels()
[all …]
/external/skqp/src/codec/
DSkJpegCodec.cpp312 const size_t colorBytes = (dinfo->out_color_space == JCS_RGB565) ? 2 : in get_row_bytes()
405 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in setOutputColorSpace()
411 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in setOutputColorSpace()
413 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_BGRA; in setOutputColorSpace()
418 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in setOutputColorSpace()
421 fDecoderMgr->dinfo()->out_color_space = JCS_RGB565; in setOutputColorSpace()
429 fDecoderMgr->dinfo()->out_color_space = JCS_GRAYSCALE; in setOutputColorSpace()
438 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in setOutputColorSpace()
447 fDecoderMgr->dinfo()->out_color_space = JCS_CMYK; in setOutputColorSpace()
604 if (needs_swizzler_to_convert_from_cmyk(dinfo->out_color_space, this->getInfo(), in onGetPixels()
[all …]
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem.cc133 cinfo.out_color_space = JCS_GRAYSCALE; in UncompressLow()
140 cinfo.out_color_space = JCS_CMYK; in UncompressLow()
142 cinfo.out_color_space = JCS_RGB; in UncompressLow()
248 const bool use_cmyk = (cinfo.out_color_space == JCS_CMYK); in UncompressLow()
385 if (cinfo.out_color_space == JCS_CMYK) { in UncompressLow()
/external/libjpeg-turbo/simd/
Djsimd_powerpc.c300 switch(cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
544 switch(cinfo->out_color_space) { in jsimd_h2v2_merged_upsample()
583 switch(cinfo->out_color_space) { in jsimd_h2v1_merged_upsample()
Djsimd_x86_64.c209 switch(cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
455 switch(cinfo->out_color_space) { in jsimd_h2v2_merged_upsample()
494 switch(cinfo->out_color_space) { in jsimd_h2v1_merged_upsample()
Djsimd_mips.c286 switch(cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
614 switch(cinfo->out_color_space) { in jsimd_h2v2_merged_upsample()
655 switch(cinfo->out_color_space) { in jsimd_h2v1_merged_upsample()
Djsimd_i386.c252 switch(cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
558 switch(cinfo->out_color_space) { in jsimd_h2v2_merged_upsample()
609 switch(cinfo->out_color_space) { in jsimd_h2v1_merged_upsample()
Djsimd_arm.c253 switch(cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
Djsimd_arm64.c289 switch(cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
/external/ImageMagick/coders/
Djpeg.c935 switch (jpeg_info->out_color_space) in JPEGSetImageSamplingFactor()
975 jpeg_info->out_color_space); in JPEGSetImageSamplingFactor()
1105 jpeg_info.out_color_space=JCS_YCbCr; in ReadJPEGImage()
1124 (jpeg_info.out_color_space != JCS_YCbCr)) in ReadJPEGImage()
1230 switch (jpeg_info.out_color_space) in ReadJPEGImage()
1257 jpeg_info.out_color_space=JCS_YCbCr; in ReadJPEGImage()
1289 jpeg_info.out_color_space); in ReadJPEGImage()
1334 if (jpeg_info.out_color_space == JCS_GRAYSCALE) in ReadJPEGImage()

12