Home
last modified time | relevance | path

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

12

/external/libjpeg-turbo/
Djdmaster.c41 (cinfo->out_color_space != JCS_RGB && in use_merged_upsample()
42 cinfo->out_color_space != JCS_RGB565 && in use_merged_upsample()
43 cinfo->out_color_space != JCS_EXT_RGB && in use_merged_upsample()
44 cinfo->out_color_space != JCS_EXT_RGBX && in use_merged_upsample()
45 cinfo->out_color_space != JCS_EXT_BGR && in use_merged_upsample()
46 cinfo->out_color_space != JCS_EXT_BGRX && in use_merged_upsample()
47 cinfo->out_color_space != JCS_EXT_XBGR && in use_merged_upsample()
48 cinfo->out_color_space != JCS_EXT_XRGB && in use_merged_upsample()
49 cinfo->out_color_space != JCS_EXT_RGBA && in use_merged_upsample()
50 cinfo->out_color_space != JCS_EXT_BGRA && in use_merged_upsample()
[all …]
Dwrbmp.c106 if(cinfo->out_color_space == JCS_RGB565) { in put_pixel_rows()
206 if (cinfo->out_color_space == JCS_RGB) { in write_bmp_header()
216 } else if (cinfo->out_color_space == JCS_RGB565) { in write_bmp_header()
274 if (cinfo->out_color_space == JCS_RGB) { in write_os2_header()
284 } else if (cinfo->out_color_space == JCS_RGB565) { in write_os2_header()
441 if (cinfo->out_color_space == JCS_GRAYSCALE) { in jinit_write_bmp()
443 } else if (cinfo->out_color_space == JCS_RGB) { in jinit_write_bmp()
448 } else if(cinfo->out_color_space == JCS_RGB565 ) { in jinit_write_bmp()
458 if (cinfo->out_color_space == JCS_RGB565) { in jinit_write_bmp()
467 if (cinfo->out_color_space == JCS_RGB565) { in jinit_write_bmp()
Djdcolor.c257 switch (cinfo->out_color_space) { in ycc_rgb_convert()
443 switch (cinfo->out_color_space) { in gray_rgb_convert()
489 switch (cinfo->out_color_space) { in rgb_rgb_convert()
792 switch (cinfo->out_color_space) { in jinit_color_deconverter()
819 cinfo->out_color_components = rgb_pixelsize[cinfo->out_color_space]; in jinit_color_deconverter()
830 if (rgb_red[cinfo->out_color_space] == 0 && in jinit_color_deconverter()
831 rgb_green[cinfo->out_color_space] == 1 && in jinit_color_deconverter()
832 rgb_blue[cinfo->out_color_space] == 2 && in jinit_color_deconverter()
833 rgb_pixelsize[cinfo->out_color_space] == 3) in jinit_color_deconverter()
884 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.c265 if (dinfo->cinfo->out_color_space == JCS_RGB) { in emit_header()
375 if (cinfo->out_color_space != JCS_GRAYSCALE && in jinit_write_gif()
376 cinfo->out_color_space != JCS_RGB) in jinit_write_gif()
380 if (cinfo->out_color_space != JCS_GRAYSCALE || cinfo->data_precision > 8) { in jinit_write_gif()
Dwrtarga.c68 if (cinfo->out_color_space == JCS_GRAYSCALE) { in write_header()
166 if (cinfo->out_color_space == JCS_GRAYSCALE) { in start_output_tga()
174 } 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()
339 switch (cinfo->out_color_space) { in h2v1_merged_upsample()
385 switch (cinfo->out_color_space) { in h2v2_merged_upsample()
595 if (cinfo->out_color_space == JCS_RGB565) { in jinit_merged_upsampler()
612 if (cinfo->out_color_space == JCS_RGB565) { in jinit_merged_upsampler()
Dwrppm.c165 switch (cinfo->out_color_space) { in start_output_ppm()
235 else if (cinfo->out_color_space == JCS_GRAYSCALE) in jinit_write_ppm()
Djquant1.c196 RGB_order[0] = rgb_green[cinfo->out_color_space]; in select_ncolors()
197 RGB_order[1] = rgb_red[cinfo->out_color_space]; in select_ncolors()
198 RGB_order[2] = rgb_blue[cinfo->out_color_space]; in select_ncolors()
230 j = (cinfo->out_color_space == JCS_RGB ? RGB_order[i] : i); in select_ncolors()
Dturbojpeg.c282 dinfo->out_color_space=JCS_GRAYSCALE; break; in setDecompDefaults()
285 dinfo->out_color_space=JCS_EXT_RGB; break; in setDecompDefaults()
287 dinfo->out_color_space=JCS_EXT_BGR; break; in setDecompDefaults()
289 dinfo->out_color_space=JCS_EXT_RGBX; break; in setDecompDefaults()
291 dinfo->out_color_space=JCS_EXT_BGRX; break; in setDecompDefaults()
293 dinfo->out_color_space=JCS_EXT_XRGB; break; in setDecompDefaults()
295 dinfo->out_color_space=JCS_EXT_XBGR; break; in setDecompDefaults()
298 dinfo->out_color_space=JCS_EXT_RGBA; break; in setDecompDefaults()
300 dinfo->out_color_space=JCS_EXT_BGRA; break; in setDecompDefaults()
302 dinfo->out_color_space=JCS_EXT_ARGB; break; in setDecompDefaults()
[all …]
Dwrrle.c105 if (cinfo->out_color_space != JCS_GRAYSCALE && in start_output_rle()
106 cinfo->out_color_space != JCS_RGB) in start_output_rle()
Ddjpeg.c294 cinfo->out_color_space = JCS_GRAYSCALE; in parse_switches()
298 cinfo->out_color_space = JCS_RGB; in parse_switches()
302 cinfo->out_color_space = JCS_RGB565; in parse_switches()
Dbmp.c276 dinfo.out_color_space=JCS_GRAYSCALE; in savebmp()
281 dinfo.out_color_space=JCS_RGB; in savebmp()
/external/skia/src/codec/
DSkJpegCodec.cpp91 const size_t colorBytes = (dinfo->out_color_space == JCS_RGB565) ? 2 : in get_row_bytes()
191 fDecoderMgr->dinfo()->out_color_space = JCS_CMYK; in setOutputColorSpace()
197 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in setOutputColorSpace()
199 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_BGRA; in setOutputColorSpace()
202 fDecoderMgr->dinfo()->out_color_space = JCS_RGB; in setOutputColorSpace()
208 fDecoderMgr->dinfo()->out_color_space = JCS_CMYK; in setOutputColorSpace()
212 fDecoderMgr->dinfo()->out_color_space = JCS_RGB565; in setOutputColorSpace()
214 fDecoderMgr->dinfo()->out_color_space = JCS_RGB; in setOutputColorSpace()
224 fDecoderMgr->dinfo()->out_color_space = JCS_GRAYSCALE; in setOutputColorSpace()
307 J_COLOR_SPACE colorSpace = dinfo->out_color_space; in onGetPixels()
[all …]
/external/skia/src/images/
DSkImageDecoder_libjpeg.cpp264 cinfo->out_color_space = JCS_CMYK; in getBitmapColorType()
268 cinfo->out_color_space = JCS_GRAYSCALE; in getBitmapColorType()
274 cinfo->out_color_space = JCS_RGB; in getBitmapColorType()
290 if (JCS_CMYK == cinfo->out_color_space) { in adjust_out_color_space_and_dither()
295 cinfo->out_color_space = JCS_RGBA_8888; in adjust_out_color_space_and_dither()
298 cinfo->out_color_space = JCS_RGB_565; in adjust_out_color_space_and_dither()
328 if (JCS_CMYK == cinfo.out_color_space) { in get_src_config()
333 } else if (3 == cinfo.out_color_components && JCS_RGB == cinfo.out_color_space) { in get_src_config()
337 } else if (JCS_RGBA_8888 == cinfo.out_color_space) { in get_src_config()
340 } else if (JCS_RGB_565 == cinfo.out_color_space) { in get_src_config()
[all …]
/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/pdfium/third_party/libjpeg/
Dfpdfapi_jdapimin.c122 cinfo->out_color_space = JCS_GRAYSCALE; in default_decompress_parms()
157 cinfo->out_color_space = JCS_RGB; in default_decompress_parms()
178 cinfo->out_color_space = JCS_CMYK; in default_decompress_parms()
183 cinfo->out_color_space = JCS_UNKNOWN; in default_decompress_parms()
Dfpdfapi_jdcolor.c345 switch (cinfo->out_color_space) { in jinit_color_deconverter()
384 if (cinfo->out_color_space == cinfo->jpeg_color_space) { in jinit_color_deconverter()
Dfpdfapi_jdmaster.c52 cinfo->out_color_space != JCS_RGB || in use_merged_upsample()
173 switch (cinfo->out_color_space) { in jpeg_calc_output_dimensions()
/external/opencv3/3rdparty/libjpeg/
Djdapimin.c123 cinfo->out_color_space = JCS_GRAYSCALE; in default_decompress_parms()
158 cinfo->out_color_space = JCS_RGB; in default_decompress_parms()
179 cinfo->out_color_space = JCS_CMYK; in default_decompress_parms()
184 cinfo->out_color_space = JCS_UNKNOWN; in default_decompress_parms()
Djdmaster.c53 cinfo->out_color_space != JCS_RGB || in use_merged_upsample()
156 switch (cinfo->out_color_space) { in jpeg_calc_output_dimensions()
/external/opencv3/modules/imgcodecs/src/
Dgrfmt_jpeg.cpp424 cinfo->out_color_space = JCS_RGB; in readData()
429 cinfo->out_color_space = JCS_CMYK; in readData()
437 cinfo->out_color_space = JCS_GRAYSCALE; in readData()
442 cinfo->out_color_space = JCS_CMYK; in readData()
/external/libjpeg-turbo/simd/
Djsimd_x86_64.c172 switch(cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
386 switch(cinfo->out_color_space) { in jsimd_h2v2_merged_upsample()
425 switch(cinfo->out_color_space) { in jsimd_h2v1_merged_upsample()
Djsimd_mips.c275 switch(cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
603 switch(cinfo->out_color_space) { in jsimd_h2v2_merged_upsample()
644 switch(cinfo->out_color_space) { in jsimd_h2v1_merged_upsample()
Djsimd_i386.c247 switch(cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
553 switch(cinfo->out_color_space) { in jsimd_h2v2_merged_upsample()
604 switch(cinfo->out_color_space) { in jsimd_h2v1_merged_upsample()

12