Lines Matching refs:in_color_space
237 switch (cinfo->in_color_space) {
286 switch (cinfo->in_color_space) {
332 switch (cinfo->in_color_space) {
546 /* Make sure input_components agrees with in_color_space */
547 switch (cinfo->in_color_space) {
564 if (cinfo->input_components != rgb_pixelsize[cinfo->in_color_space])
590 if (cinfo->in_color_space == JCS_GRAYSCALE)
592 else if (cinfo->in_color_space == JCS_RGB ||
593 cinfo->in_color_space == JCS_EXT_RGB ||
594 cinfo->in_color_space == JCS_EXT_RGBX ||
595 cinfo->in_color_space == JCS_EXT_BGR ||
596 cinfo->in_color_space == JCS_EXT_BGRX ||
597 cinfo->in_color_space == JCS_EXT_XBGR ||
598 cinfo->in_color_space == JCS_EXT_XRGB ||
599 cinfo->in_color_space == JCS_EXT_RGBA ||
600 cinfo->in_color_space == JCS_EXT_BGRA ||
601 cinfo->in_color_space == JCS_EXT_ABGR ||
602 cinfo->in_color_space == JCS_EXT_ARGB) {
609 } else if (cinfo->in_color_space == JCS_YCbCr)
618 if (rgb_red[cinfo->in_color_space] == 0 &&
619 rgb_green[cinfo->in_color_space] == 1 &&
620 rgb_blue[cinfo->in_color_space] == 2 &&
621 rgb_pixelsize[cinfo->in_color_space] == 3) {
628 } else if (cinfo->in_color_space == JCS_RGB ||
629 cinfo->in_color_space == JCS_EXT_RGB ||
630 cinfo->in_color_space == JCS_EXT_RGBX ||
631 cinfo->in_color_space == JCS_EXT_BGR ||
632 cinfo->in_color_space == JCS_EXT_BGRX ||
633 cinfo->in_color_space == JCS_EXT_XBGR ||
634 cinfo->in_color_space == JCS_EXT_XRGB ||
635 cinfo->in_color_space == JCS_EXT_RGBA ||
636 cinfo->in_color_space == JCS_EXT_BGRA ||
637 cinfo->in_color_space == JCS_EXT_ABGR ||
638 cinfo->in_color_space == JCS_EXT_ARGB)
647 if (cinfo->in_color_space == JCS_RGB ||
648 cinfo->in_color_space == JCS_EXT_RGB ||
649 cinfo->in_color_space == JCS_EXT_RGBX ||
650 cinfo->in_color_space == JCS_EXT_BGR ||
651 cinfo->in_color_space == JCS_EXT_BGRX ||
652 cinfo->in_color_space == JCS_EXT_XBGR ||
653 cinfo->in_color_space == JCS_EXT_XRGB ||
654 cinfo->in_color_space == JCS_EXT_RGBA ||
655 cinfo->in_color_space == JCS_EXT_BGRA ||
656 cinfo->in_color_space == JCS_EXT_ABGR ||
657 cinfo->in_color_space == JCS_EXT_ARGB) {
664 } else if (cinfo->in_color_space == JCS_YCbCr) {
678 if (cinfo->in_color_space == JCS_CMYK) {
692 if (cinfo->in_color_space == JCS_CMYK) {
695 } else if (cinfo->in_color_space == JCS_YCCK) {
707 if (cinfo->jpeg_color_space != cinfo->in_color_space ||