Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/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()
149 register int rindex = rgb_red[cinfo->out_color_space]; in put_pixel_rows()
150 register int gindex = rgb_green[cinfo->out_color_space]; in put_pixel_rows()
151 register int bindex = rgb_blue[cinfo->out_color_space]; in put_pixel_rows()
152 register int ps = rgb_pixelsize[cinfo->out_color_space]; in put_pixel_rows()
235 if (IsExtRGB(cinfo->out_color_space)) { in write_bmp_header()
245 } else if (cinfo->out_color_space == JCS_RGB565 || in write_bmp_header()
246 cinfo->out_color_space == JCS_CMYK) { in write_bmp_header()
[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()
330 (cinfo->out_color_space != JCS_EXT_RGB &&
331 cinfo->out_color_space != JCS_RGB)) {
333 cinfo->out_color_space != JCS_EXT_RGB) {
[all …]
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 …]
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()
778 switch (cinfo->out_color_space) { in jinit_color_deconverter()
805 cinfo->out_color_components = rgb_pixelsize[cinfo->out_color_space]; in jinit_color_deconverter()
816 if (rgb_red[cinfo->out_color_space] == 0 && in jinit_color_deconverter()
817 rgb_green[cinfo->out_color_space] == 1 && in jinit_color_deconverter()
818 rgb_blue[cinfo->out_color_space] == 2 && in jinit_color_deconverter()
819 rgb_pixelsize[cinfo->out_color_space] == 3) in jinit_color_deconverter()
870 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()
Dwrtarga.c69 if (cinfo->out_color_space == JCS_GRAYSCALE) { in write_header()
164 if (cinfo->out_color_space == JCS_GRAYSCALE) { in start_output_tga()
172 } else if (cinfo->out_color_space == JCS_RGB) { in start_output_tga()
Djdmerge.c236 if (cinfo->out_color_space == JCS_RGB565) in merged_2v_upsample()
309 switch (cinfo->out_color_space) { in h2v1_merged_upsample()
354 switch (cinfo->out_color_space) { in h2v2_merged_upsample()
557 if (cinfo->out_color_space == JCS_RGB565) { in jinit_merged_upsampler()
574 if (cinfo->out_color_space == JCS_RGB565) { in jinit_merged_upsampler()
Dwrgif.c296 if (dinfo->cinfo->out_color_space == JCS_RGB) { in emit_header()
538 if (cinfo->out_color_space != JCS_GRAYSCALE && in jinit_write_gif()
539 cinfo->out_color_space != JCS_RGB) in jinit_write_gif()
543 if (cinfo->out_color_space != JCS_GRAYSCALE || cinfo->data_precision > 8) { in jinit_write_gif()
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()
Ddjpeg.c314 cinfo->out_color_space = JCS_GRAYSCALE; in parse_switches()
318 cinfo->out_color_space = JCS_RGB; in parse_switches()
322 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.h497 J_COLOR_SPACE out_color_space; /* colorspace for output */ member
Dturbojpeg.c1317 this->dinfo.out_color_space = pf2cs[pixelFormat]; in tjDecompress2()
1492 this->dinfo.out_color_space = pf2cs[pixelFormat]; in tjDecodeYUVPlanes()
2181 this->dinfo.out_color_space = pf2cs[pixelFormat]; in tjSaveImage()
/third_party/cups-filters/cupsfilters/
Dimage-jpeg.c94 cinfo.out_color_space = JCS_GRAYSCALE; in _cupsImageReadJPEG()
104 cinfo.out_color_space = JCS_CMYK; in _cupsImageReadJPEG()
114 cinfo.out_color_space = JCS_RGB; in _cupsImageReadJPEG()
204 if ((img->colorspace == CUPS_IMAGE_WHITE && cinfo.out_color_space == JCS_GRAYSCALE) || in _cupsImageReadJPEG()
205 (img->colorspace == CUPS_IMAGE_CMYK && cinfo.out_color_space == JCS_CMYK)) in _cupsImageReadJPEG()
231 else if (cinfo.out_color_space == JCS_GRAYSCALE) in _cupsImageReadJPEG()
257 else if (cinfo.out_color_space == JCS_RGB) in _cupsImageReadJPEG()
/third_party/skia/src/codec/
DSkJpegCodec.cpp264 const size_t colorBytes = (dinfo->out_color_space == JCS_RGB565) ? 2 : in get_row_bytes()
355 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
361 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
363 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_BGRA; in conversionSupported()
368 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
371 fDecoderMgr->dinfo()->out_color_space = JCS_RGB565; in conversionSupported()
380 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
382 fDecoderMgr->dinfo()->out_color_space = JCS_GRAYSCALE; in conversionSupported()
387 fDecoderMgr->dinfo()->out_color_space = JCS_EXT_RGBA; in conversionSupported()
396 fDecoderMgr->dinfo()->out_color_space = JCS_CMYK; in conversionSupported()
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch32/
Djsimd.c303 switch (cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
566 switch (cinfo->out_color_space) { in jsimd_h2v2_merged_upsample()
603 switch (cinfo->out_color_space) { in jsimd_h2v1_merged_upsample()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch64/
Djsimd.c350 switch (cinfo->out_color_space) { in jsimd_ycc_rgb_convert()
634 switch (cinfo->out_color_space) { in jsimd_h2v2_merged_upsample()
671 switch (cinfo->out_color_space) { in jsimd_h2v1_merged_upsample()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11videoprocessor.h59 DXGI_COLOR_SPACE_TYPE out_color_space);
Dgstd3d11videoprocessor.cpp309 DXGI_FORMAT out_format, DXGI_COLOR_SPACE_TYPE out_color_space) in gst_d3d11_video_processor_check_format_conversion() argument
321 (in_format, in_color_space, out_format, out_color_space, &supported); in gst_d3d11_video_processor_check_format_conversion()
Dgstd3d11convert.cpp1829 const GstDxgiColorSpace *out_color_space; in gst_d3d11_base_convert_set_info() local
1832 out_color_space = gst_d3d11_video_info_to_dxgi_color_space (out_info); in gst_d3d11_base_convert_set_info()
1834 if (in_color_space && out_color_space) { in gst_d3d11_base_convert_set_info()
1840 (DXGI_COLOR_SPACE_TYPE) out_color_space->dxgi_color_space_type; in gst_d3d11_base_convert_set_info()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/libwebp/imageio/
Djpegdec.c293 dinfo.out_color_space = JCS_RGB; in ReadJPEG()
/third_party/gstreamer/gstplugins_good/ext/jpeg/
Dgstjpegdec.c1194 dec->cinfo.out_color_space = dec->libjpeg_ext_format; in gst_jpeg_dec_prepare_decode()
1199 dec->cinfo.out_color_space = dec->cinfo.jpeg_color_space; in gst_jpeg_dec_prepare_decode()
Dsmokecodec.c652 info->dinfo.out_color_space = JCS_YCbCr; in smokecodec_decode()

12