439{
441
445
447
448
452 ERREXIT(cinfo, JERR_BAD_IN_COLORSPACE);
453 break;
454
457#if RGB_PIXELSIZE != 3
459 ERREXIT(cinfo, JERR_BAD_IN_COLORSPACE);
460 break;
461#endif
462
466 ERREXIT(cinfo, JERR_BAD_IN_COLORSPACE);
467 break;
468
472 ERREXIT(cinfo, JERR_BAD_IN_COLORSPACE);
473 break;
474
475 default:
477 ERREXIT(cinfo, JERR_BAD_IN_COLORSPACE);
478 }
479
480
484 ERREXIT(cinfo, JERR_CONVERSION_NOTIMPL);
485
486
490 ERREXIT(cinfo, JERR_BAD_J_COLORSPACE);
496 break;
500 break;
501 default:
502 ERREXIT(cinfo, JERR_CONVERSION_NOTIMPL);
503 }
504 break;
505
509 ERREXIT(cinfo, JERR_BAD_J_COLORSPACE);
511 ERREXIT(cinfo, JERR_CONVERSION_NOTIMPL);
515 break;
518 break;
519 default:
520 ERREXIT(cinfo, JERR_CONVERSION_NOTIMPL);
521 }
522 break;
523
526 ERREXIT(cinfo, JERR_BAD_J_COLORSPACE);
531 break;
534 break;
535 default:
536 ERREXIT(cinfo, JERR_CONVERSION_NOTIMPL);
537 }
538 break;
539
542 ERREXIT(cinfo, JERR_BAD_J_COLORSPACE);
545
546
547
548
549
550
553
556 break;
558
561
563
565 break;
566 default:
567 ERREXIT(cinfo, JERR_CONVERSION_NOTIMPL);
568 }
569 break;
570
573 ERREXIT(cinfo, JERR_BAD_J_COLORSPACE);
575 ERREXIT(cinfo, JERR_CONVERSION_NOTIMPL);
577 break;
578
581 ERREXIT(cinfo, JERR_BAD_J_COLORSPACE);
586 break;
589 break;
590 default:
591 ERREXIT(cinfo, JERR_CONVERSION_NOTIMPL);
592 }
593 break;
594
595 default:
598 ERREXIT(cinfo, JERR_CONVERSION_NOTIMPL);
600 }
601}
rgb_ycc_start(j_compress_ptr cinfo)
grayscale_convert(j_compress_ptr cinfo, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, JDIMENSION output_row, int num_rows)
cmyk_ycck_convert(j_compress_ptr cinfo, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, JDIMENSION output_row, int num_rows)
null_convert(j_compress_ptr cinfo, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, JDIMENSION output_row, int num_rows)
rgb_rgb1_convert(j_compress_ptr cinfo, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, JDIMENSION output_row, int num_rows)
rgb_convert(j_compress_ptr cinfo, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, JDIMENSION output_row, int num_rows)
rgb_gray_convert(j_compress_ptr cinfo, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, JDIMENSION output_row, int num_rows)
null_method(j_compress_ptr cinfo)
rgb_ycc_convert(j_compress_ptr cinfo, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, JDIMENSION output_row, int num_rows)
struct jpeg_common_struct * j_common_ptr
J_COLOR_TRANSFORM color_transform
jpeg_component_info * comp_info
J_COLOR_SPACE jpeg_color_space
J_COLOR_SPACE in_color_space
struct jpeg_color_converter pub