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] add HDR image format test coverage
@ 2022-07-17 14:51 Paul B Mahol
  2022-07-18 11:16 ` Anton Khirnov
  0 siblings, 1 reply; 3+ messages in thread
From: Paul B Mahol @ 2022-07-17 14:51 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

[-- Attachment #1: Type: text/plain, Size: 16 bytes --]

Patch attached.

[-- Attachment #2: 0001-fate-add-Radiance-HDR-image-test.patch --]
[-- Type: text/x-patch, Size: 1272 bytes --]

From 7080795a572f8f741d4a00b2db02c8e00ce6aaf2 Mon Sep 17 00:00:00 2001
From: Paul B Mahol <onemda@gmail.com>
Date: Sun, 17 Jul 2022 15:12:12 +0200
Subject: [PATCH] fate: add Radiance HDR image test

Signed-off-by: Paul B Mahol <onemda@gmail.com>
---
 tests/fate/lavf-image.mak | 1 +
 tests/ref/lavf/hdr        | 3 +++
 2 files changed, 4 insertions(+)
 create mode 100644 tests/ref/lavf/hdr

diff --git a/tests/fate/lavf-image.mak b/tests/fate/lavf-image.mak
index 38d3689abf..6a87ad25a4 100644
--- a/tests/fate/lavf-image.mak
+++ b/tests/fate/lavf-image.mak
@@ -52,6 +52,7 @@ FATE_LAVF_IMAGES-$(call LAVF_IMAGES,         XWD) += rgb8.xwd
 FATE_LAVF_IMAGES-$(call LAVF_IMAGES,         XWD) += rgb4_byte.xwd
 FATE_LAVF_IMAGES-$(call LAVF_IMAGES,         XWD) += gray.xwd
 FATE_LAVF_IMAGES-$(call LAVF_IMAGES,         XWD) += monow.xwd
+FATE_LAVF_IMAGES-$(call LAVF_IMAGES,         HDR) += hdr
 
 FATE_LAVF_IMAGES = $(FATE_LAVF_IMAGES-yes:%=fate-lavf-%)
 
diff --git a/tests/ref/lavf/hdr b/tests/ref/lavf/hdr
new file mode 100644
index 0000000000..129c309197
--- /dev/null
+++ b/tests/ref/lavf/hdr
@@ -0,0 +1,3 @@
+95961d2136160b39d71858305226f5f2 *tests/data/images/hdr/02.hdr
+tests/data/images/hdr/%02d.hdr CRC=0x1a5ee73b
+326788 tests/data/images/hdr/02.hdr
-- 
2.36.1


[-- Attachment #3: Type: text/plain, Size: 251 bytes --]

_______________________________________________
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] 3+ messages in thread

* Re: [FFmpeg-devel] [PATCH] add HDR image format test coverage
  2022-07-17 14:51 [FFmpeg-devel] [PATCH] add HDR image format test coverage Paul B Mahol
@ 2022-07-18 11:16 ` Anton Khirnov
  2022-07-18 11:50   ` Paul B Mahol
  0 siblings, 1 reply; 3+ messages in thread
From: Anton Khirnov @ 2022-07-18 11:16 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

Quoting Paul B Mahol (2022-07-17 16:51:20)
> Patch attached.
> 
> From 7080795a572f8f741d4a00b2db02c8e00ce6aaf2 Mon Sep 17 00:00:00 2001
> From: Paul B Mahol <onemda@gmail.com>
> Date: Sun, 17 Jul 2022 15:12:12 +0200
> Subject: [PATCH] fate: add Radiance HDR image test
> 
> Signed-off-by: Paul B Mahol <onemda@gmail.com>
> ---
>  tests/fate/lavf-image.mak | 1 +
>  tests/ref/lavf/hdr        | 3 +++
>  2 files changed, 4 insertions(+)
>  create mode 100644 tests/ref/lavf/hdr
> 
> diff --git a/tests/fate/lavf-image.mak b/tests/fate/lavf-image.mak
> index 38d3689abf..6a87ad25a4 100644
> --- a/tests/fate/lavf-image.mak
> +++ b/tests/fate/lavf-image.mak
> @@ -52,6 +52,7 @@ FATE_LAVF_IMAGES-$(call LAVF_IMAGES,         XWD) += rgb8.xwd
>  FATE_LAVF_IMAGES-$(call LAVF_IMAGES,         XWD) += rgb4_byte.xwd
>  FATE_LAVF_IMAGES-$(call LAVF_IMAGES,         XWD) += gray.xwd
>  FATE_LAVF_IMAGES-$(call LAVF_IMAGES,         XWD) += monow.xwd
> +FATE_LAVF_IMAGES-$(call LAVF_IMAGES,         HDR) += hdr
>  
>  FATE_LAVF_IMAGES = $(FATE_LAVF_IMAGES-yes:%=fate-lavf-%)
>  
> diff --git a/tests/ref/lavf/hdr b/tests/ref/lavf/hdr
> new file mode 100644
> index 0000000000..129c309197
> --- /dev/null
> +++ b/tests/ref/lavf/hdr
> @@ -0,0 +1,3 @@
> +95961d2136160b39d71858305226f5f2 *tests/data/images/hdr/02.hdr
> +tests/data/images/hdr/%02d.hdr CRC=0x1a5ee73b
> +326788 tests/data/images/hdr/02.hdr
> -- 
> 2.36.1

The codec seems to be floating point, will this be bitexact everywhere?

-- 
Anton Khirnov
_______________________________________________
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] 3+ messages in thread

* Re: [FFmpeg-devel] [PATCH] add HDR image format test coverage
  2022-07-18 11:16 ` Anton Khirnov
@ 2022-07-18 11:50   ` Paul B Mahol
  0 siblings, 0 replies; 3+ messages in thread
From: Paul B Mahol @ 2022-07-18 11:50 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

On Mon, Jul 18, 2022 at 1:16 PM Anton Khirnov <anton@khirnov.net> wrote:

> Quoting Paul B Mahol (2022-07-17 16:51:20)
> > Patch attached.
> >
> > From 7080795a572f8f741d4a00b2db02c8e00ce6aaf2 Mon Sep 17 00:00:00 2001
> > From: Paul B Mahol <onemda@gmail.com>
> > Date: Sun, 17 Jul 2022 15:12:12 +0200
> > Subject: [PATCH] fate: add Radiance HDR image test
> >
> > Signed-off-by: Paul B Mahol <onemda@gmail.com>
> > ---
> >  tests/fate/lavf-image.mak | 1 +
> >  tests/ref/lavf/hdr        | 3 +++
> >  2 files changed, 4 insertions(+)
> >  create mode 100644 tests/ref/lavf/hdr
> >
> > diff --git a/tests/fate/lavf-image.mak b/tests/fate/lavf-image.mak
> > index 38d3689abf..6a87ad25a4 100644
> > --- a/tests/fate/lavf-image.mak
> > +++ b/tests/fate/lavf-image.mak
> > @@ -52,6 +52,7 @@ FATE_LAVF_IMAGES-$(call LAVF_IMAGES,         XWD) +=
> rgb8.xwd
> >  FATE_LAVF_IMAGES-$(call LAVF_IMAGES,         XWD) += rgb4_byte.xwd
> >  FATE_LAVF_IMAGES-$(call LAVF_IMAGES,         XWD) += gray.xwd
> >  FATE_LAVF_IMAGES-$(call LAVF_IMAGES,         XWD) += monow.xwd
> > +FATE_LAVF_IMAGES-$(call LAVF_IMAGES,         HDR) += hdr
> >
> >  FATE_LAVF_IMAGES = $(FATE_LAVF_IMAGES-yes:%=fate-lavf-%)
> >
> > diff --git a/tests/ref/lavf/hdr b/tests/ref/lavf/hdr
> > new file mode 100644
> > index 0000000000..129c309197
> > --- /dev/null
> > +++ b/tests/ref/lavf/hdr
> > @@ -0,0 +1,3 @@
> > +95961d2136160b39d71858305226f5f2 *tests/data/images/hdr/02.hdr
> > +tests/data/images/hdr/%02d.hdr CRC=0x1a5ee73b
> > +326788 tests/data/images/hdr/02.hdr
> > --
> > 2.36.1
>
> The codec seems to be floating point, will this be bitexact everywhere?
>
>
Look at results on patchwork.


> --
> Anton Khirnov
> _______________________________________________
> 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".
>
_______________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2022-07-18 11:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-17 14:51 [FFmpeg-devel] [PATCH] add HDR image format test coverage Paul B Mahol
2022-07-18 11:16 ` Anton Khirnov
2022-07-18 11:50   ` Paul B Mahol

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