Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH v4 0/2] RGB mjpeg fixes
@ 2023-04-20 16:54 Leo Izen
  2023-04-20 16:54 ` [FFmpeg-devel] [PATCH v4 1/2] avcodec/mjpegdec: fix remaining RGB JPEGs Leo Izen
  2023-04-20 16:55 ` [FFmpeg-devel] [PATCH v4 2/2] fate: add tests for RGB jpegs Leo Izen
  0 siblings, 2 replies; 5+ messages in thread
From: Leo Izen @ 2023-04-20 16:54 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Leo Izen

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-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-04-21 14:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-20 16:54 [FFmpeg-devel] [PATCH v4 0/2] RGB mjpeg fixes Leo Izen
2023-04-20 16:54 ` [FFmpeg-devel] [PATCH v4 1/2] avcodec/mjpegdec: fix remaining RGB JPEGs Leo Izen
2023-04-20 23:53   ` Michael Niedermayer
2023-04-21 14:03     ` Leo Izen
2023-04-20 16:55 ` [FFmpeg-devel] [PATCH v4 2/2] fate: add tests for RGB jpegs Leo Izen

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git