Home
last modified time | relevance | path

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

12

/external/libjpeg-turbo/
Dwrbmp.c123 if (cinfo->out_color_space == JCS_EXT_BGR) { in put_pixel_rows()
126 } else if (cinfo->out_color_space == JCS_RGB565) { in put_pixel_rows()
142 } else if (cinfo->out_color_space == JCS_CMYK) { in put_pixel_rows()
150 register int rindex = rgb_red[cinfo->out_color_space]; in put_pixel_rows()
151 register int gindex = rgb_green[cinfo->out_color_space]; in put_pixel_rows()
152 register int bindex = rgb_blue[cinfo->out_color_space]; in put_pixel_rows()
153 register int ps = rgb_pixelsize[cinfo->out_color_space]; in put_pixel_rows()
237 if (IsExtRGB(cinfo->out_color_space)) { in write_bmp_header()
247 } else if (cinfo->out_color_space == JCS_RGB565 || in write_bmp_header()
248 cinfo->out_color_space == JCS_CMYK) { in write_bmp_header()
[all …]
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 …]
Dwrppm.c139 register int rindex = rgb_red[cinfo->out_color_space]; in put_rgb()
140 register int gindex = rgb_green[cinfo->out_color_space]; in put_rgb()
141 register int bindex = rgb_blue[cinfo->out_color_space]; in put_rgb()
142 register int ps = rgb_pixelsize[cinfo->out_color_space]; in put_rgb()
241 switch (cinfo->out_color_space) { in start_output_ppm()
259 if (!IsExtRGB(cinfo->out_color_space) && cinfo->quantize_colors) in start_output_ppm()
294 if (cinfo->out_color_space == JCS_GRAYSCALE) in calc_buffer_dimensions_ppm()
329 (cinfo->out_color_space != JCS_EXT_RGB in jinit_write_ppm()
331 && cinfo->out_color_space != JCS_RGB in jinit_write_ppm()
343 if (IsExtRGB(cinfo->out_color_space)) in jinit_write_ppm()
[all …]
Djdcolor.c257 switch (cinfo->out_color_space) { in ycc_rgb_convert()
438 switch (cinfo->out_color_space) { in gray_rgb_convert()
483 switch (cinfo->out_color_space) { in rgb_rgb_convert()
779 switch (cinfo->out_color_space) { in jinit_color_deconverter()
806 cinfo->out_color_components = rgb_pixelsize[cinfo->out_color_space]; in jinit_color_deconverter()
817 if (rgb_red[cinfo->out_color_space] == 0 && in jinit_color_deconverter()
818 rgb_green[cinfo->out_color_space] == 1 && in jinit_color_deconverter()
819 rgb_blue[cinfo->out_color_space] == 2 && in jinit_color_deconverter()
820 rgb_pixelsize[cinfo->out_color_space] == 3) in jinit_color_deconverter()
871 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.c264 if (cinfo->out_color_space == JCS_RGB565) in merged_2v_upsample()
337 switch (cinfo->out_color_space) { in h2v1_merged_upsample()
382 switch (cinfo->out_color_space) { in h2v2_merged_upsample()
588 if (cinfo->out_color_space == JCS_RGB565) { in jinit_merged_upsampler()
605 if (cinfo->out_color_space == JCS_RGB565) { in jinit_merged_upsampler()
Djquant1.c198 RGB_order[0] = rgb_green[cinfo->out_color_space]; in select_ncolors()
199 RGB_order[1] = rgb_red[cinfo->out_color_space]; in select_ncolors()
200 RGB_order[2] = rgb_blue[cinfo->out_color_space]; in select_ncolors()
232 j = (cinfo->out_color_space == JCS_RGB ? RGB_order[i] : i); in select_ncolors()
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.c304 cinfo->out_color_space = JCS_GRAYSCALE; in parse_switches()
308 cinfo->out_color_space = JCS_RGB; in parse_switches()
312 cinfo->out_color_space = JCS_RGB565; in parse_switches()
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()
Djpeglib.h491 J_COLOR_SPACE out_color_space; /* colorspace for output */ member
/external/skqp/src/codec/
DSkJpegCodec.cpp315 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 conversionSupported()
412 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
414 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_BGRA; in conversionSupported()
419 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
422 fDecoderMgr->dinfo()->out_color_space = JCS_RGB565; in conversionSupported()
431 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
433 fDecoderMgr->dinfo()->out_color_space = JCS_GRAYSCALE; in conversionSupported()
438 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
447 fDecoderMgr->dinfo()->out_color_space = JCS_CMYK; in conversionSupported()
[all …]
/external/skia/src/codec/
DSkJpegCodec.cpp315 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 conversionSupported()
412 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
414 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_BGRA; in conversionSupported()
419 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
422 fDecoderMgr->dinfo()->out_color_space = JCS_RGB565; in conversionSupported()
431 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
433 fDecoderMgr->dinfo()->out_color_space = JCS_GRAYSCALE; in conversionSupported()
438 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
447 fDecoderMgr->dinfo()->out_color_space = JCS_CMYK; in conversionSupported()
[all …]
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem.cc144 cinfo.out_color_space = JCS_GRAYSCALE; in UncompressLow()
151 cinfo.out_color_space = JCS_CMYK; in UncompressLow()
153 cinfo.out_color_space = JCS_RGB; in UncompressLow()
264 const bool use_cmyk = (cinfo.out_color_space == JCS_CMYK); in UncompressLow()
401 if (cinfo.out_color_space == JCS_CMYK) { in UncompressLow()
/external/libjpeg-turbo/simd/powerpc/
Djsimd.c306 switch (cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
540 switch (cinfo->out_color_space) { in jsimd_h2v2_merged_upsample()
577 switch (cinfo->out_color_space) { in jsimd_h2v1_merged_upsample()
/external/libjpeg-turbo/simd/mips/
Djsimd.c285 switch (cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
587 switch (cinfo->out_color_space) { in jsimd_h2v2_merged_upsample()
625 switch (cinfo->out_color_space) { in jsimd_h2v1_merged_upsample()
/external/libjpeg-turbo/simd/x86_64/
Djsimd.c253 switch (cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
552 switch (cinfo->out_color_space) { in jsimd_h2v2_merged_upsample()
600 switch (cinfo->out_color_space) { in jsimd_h2v1_merged_upsample()
/external/libjpeg-turbo/simd/i386/
Djsimd.c289 switch (cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
636 switch (cinfo->out_color_space) { in jsimd_h2v2_merged_upsample()
694 switch (cinfo->out_color_space) { in jsimd_h2v1_merged_upsample()
/external/ImageMagick/coders/
Djpeg.c1006 switch (jpeg_info->out_color_space) in JPEGSetImageSamplingFactor()
1046 jpeg_info->out_color_space); in JPEGSetImageSamplingFactor()
1190 jpeg_info.out_color_space=JCS_YCbCr; in ReadJPEGImage()
1209 (jpeg_info.out_color_space != JCS_YCbCr)) in ReadJPEGImage()
1314 switch (jpeg_info.out_color_space) in ReadJPEGImage()
1341 jpeg_info.out_color_space=JCS_YCbCr; in ReadJPEGImage()
1378 jpeg_info.out_color_space); in ReadJPEGImage()
1433 if (jpeg_info.out_color_space == JCS_GRAYSCALE) in ReadJPEGImage()
/external/libjpeg-turbo/simd/loongson/
Djsimd.c162 switch (cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
/external/libjpeg-turbo/simd/arm/
Djsimd.c257 switch (cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
/external/libjpeg-turbo/simd/arm64/
Djsimd.c292 switch (cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
/external/pdfium/core/fxcodec/codec/
Dfx_codec_jpeg.cpp245 cinfo.out_color_space = cinfo.jpeg_color_space; in InitDecode()

12