Changes from v3: - Wrapped two previous commits into one. - Removed case logic with regard to s->progressive and !s->progressive, now all should be treated the same way, at michaelni's recommendation. - All RGB jpegs are now decoded in RGB order and then the buffers are pivoted into GBR-order at the end, so no extensive documentation is needed on which buffers are in which order at what times with what pixel formats.
Current version passes samples in the provided fate tests as well as those in #10190, and #4045, #1651, and #850. Leo Izen (2): avcodec/mjpegdec: fix remaining RGB JPEGs fate: add tests for RGB jpegs libavcodec/mjpegdec.c | 9 +++------ tests/fate/image.mak | 9 +++++++++ tests/ref/fate/jpg-rgb-221 | 6 ++++++ tests/ref/fate/jpg-rgb-baseline | 6 ++++++ tests/ref/fate/jpg-rgb-progressive | 6 ++++++ 5 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 tests/ref/fate/jpg-rgb-221 create mode 100644 tests/ref/fate/jpg-rgb-baseline create mode 100644 tests/ref/fate/jpg-rgb-progressive -- 2.40.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".