Re: [FFmpeg-devel] [PATCH] fate/hevc: add skip_loop_filter test

2017-12-05 Thread Michael Niedermayer
On Tue, Dec 05, 2017 at 11:57:07AM +, Stefan _ wrote:
> On 04.12.2017 at 18:49 Michael Niedermayer wrote:
> > will apply
> >
> > can you add a fate test for this ?
> >
> > thanks
> >
> > [...]
> Sure.
> 
> I've picked a random sample where skip_loop_filter={nokey,all} had 
> different output. Hope that's fine.
> 
> 

>  fate/hevc.mak|3 +++
>  ref/fate/hevc-skiploopfilter |   14 ++
>  2 files changed, 17 insertions(+)
> 4a5a55eee404e6fbbc66440bb8577cff91840235  
> 0001-fate-hevc-add-skip_loop_filter-test.patch
> From 2f4e5bf1e37d0fbfce0631ebb8e7011b5f8128f1 Mon Sep 17 00:00:00 2001
> From: sfan5 
> Date: Tue, 5 Dec 2017 12:47:47 +0100
> Subject: [PATCH] fate/hevc: add skip_loop_filter test

will apply

thanks

[...]

-- 
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates


signature.asc
Description: Digital signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


[FFmpeg-devel] [PATCH] fate/hevc: add skip_loop_filter test

2017-12-05 Thread Stefan _
On 04.12.2017 at 18:49 Michael Niedermayer wrote:
> will apply
>
> can you add a fate test for this ?
>
> thanks
>
> [...]
Sure.

I've picked a random sample where skip_loop_filter={nokey,all} had 
different output. Hope that's fine.


From 2f4e5bf1e37d0fbfce0631ebb8e7011b5f8128f1 Mon Sep 17 00:00:00 2001
From: sfan5 
Date: Tue, 5 Dec 2017 12:47:47 +0100
Subject: [PATCH] fate/hevc: add skip_loop_filter test

---
 tests/fate/hevc.mak|  3 +++
 tests/ref/fate/hevc-skiploopfilter | 14 ++
 2 files changed, 17 insertions(+)
 create mode 100644 tests/ref/fate/hevc-skiploopfilter

diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak
index 5a3c156ee6..0e8859307d 100644
--- a/tests/fate/hevc.mak
+++ b/tests/fate/hevc.mak
@@ -239,6 +239,9 @@ fate-hevc-bsf-mp4toannexb: CMD = md5 -i $(TARGET_PATH)/tests/data/hevc-mp4.mov -
 fate-hevc-bsf-mp4toannexb: CMP = oneline
 fate-hevc-bsf-mp4toannexb: REF = 1873662a3af1848c37e4eb25722c8df9
 
+fate-hevc-skiploopfilter: CMD = framemd5 -skip_loop_filter nokey -i $(TARGET_SAMPLES)/hevc-conformance/SAO_D_Samsung_5.bit -sws_flags bitexact
+FATE_HEVC += fate-hevc-skiploopfilter
+
 FATE_HEVC-$(call DEMDEC, HEVC, HEVC) += $(FATE_HEVC)
 
 # this sample has two stsd entries and needs to reload extradata
diff --git a/tests/ref/fate/hevc-skiploopfilter b/tests/ref/fate/hevc-skiploopfilter
new file mode 100644
index 00..9c29909c51
--- /dev/null
+++ b/tests/ref/fate/hevc-skiploopfilter
@@ -0,0 +1,14 @@
+#format: frame checksums
+#version: 2
+#hash: MD5
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1920x1080
+#sar 0: 0/1
+#stream#, dts,pts, duration, size, hash
+0,  0,  0,1,  3110400, 076c9288843ef1197a8cbef7f9a13fee
+0,  1,  1,1,  3110400, 6190eeea952805ebde69d22961aaeb45
+0,  2,  2,1,  3110400, 9aaa5111d5e6b25dcf5ddd19c58f17f7
+0,  3,  3,1,  3110400, 52a487e5f71b314e33e6632b4496f0a6
+0,  4,  4,1,  3110400, 13abb1c78313705b57a8298dc1e6c0e2
-- 
2.15.0

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel