sön 2023-07-02 klockan 18:36 +0200 skrev Tomas Härdin:
> sön 2023-07-02 klockan 12:49 -0300 skrev James Almer:
> > On 7/2/2023 12:28 PM, Tomas Härdin wrote:
> > > 
> > > ---
> > >  tests/fate/vcodec.mak            | 3 +++
> > >  tests/ref/vsynth/vsynth1-smc     | 4 ++++
> > >  tests/ref/vsynth/vsynth2-smc     | 4 ++++
> > >  tests/ref/vsynth/vsynth3-smc     | 4 ++++
> > >  tests/ref/vsynth/vsynth_lena-smc | 4 ++++
> > >  5 files changed, 19 insertions(+)
> > >  create mode 100644 tests/ref/vsynth/vsynth1-smc
> > >  create mode 100644 tests/ref/vsynth/vsynth2-smc
> > >  create mode 100644 tests/ref/vsynth/vsynth3-smc
> > >  create mode 100644 tests/ref/vsynth/vsynth_lena-smc
> > > 
> > > diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
> > > index ef8904613a..833dde86ab 100644
> > > --- a/tests/fate/vcodec.mak
> > > +++ b/tests/fate/vcodec.mak
> > > @@ -404,6 +404,9 @@ FATE_VCODEC-$(call ENCDEC, RV20, RM)    +=
> > > rv20
> > >  fate-vsynth%-rv20:               ENCOPTS = -qscale 10
> > >  fate-vsynth%-rv20:               FMT     = rm
> > >  
> > > +FATE_VCODEC_SCALE-$(call ENCDEC, SMC, MOV) += smc
> > > +fate-vsynth%-smc:                CODEC   = smc
> > 
> > Missing a FMT = mp4 line (or mov if smc is supported in it).
> 
> It already says MOV in the call, and mp4 doesn't support SMC

Oh wait the MOV is just for deps I guess, not the actual format output.
Updated patch attached

/Tomas
From 9cb9b994a162670fbe88fa70fef38c7dd93e19c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <g...@haerdin.se>
Date: Sun, 2 Jul 2023 16:58:11 +0200
Subject: [PATCH] Add SMC vsynth tests

---
 tests/fate/vcodec.mak            | 4 ++++
 tests/ref/vsynth/vsynth1-smc     | 4 ++++
 tests/ref/vsynth/vsynth2-smc     | 4 ++++
 tests/ref/vsynth/vsynth3-smc     | 4 ++++
 tests/ref/vsynth/vsynth_lena-smc | 4 ++++
 5 files changed, 20 insertions(+)
 create mode 100644 tests/ref/vsynth/vsynth1-smc
 create mode 100644 tests/ref/vsynth/vsynth2-smc
 create mode 100644 tests/ref/vsynth/vsynth3-smc
 create mode 100644 tests/ref/vsynth/vsynth_lena-smc

diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index ef8904613a..2839e54de8 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -404,6 +404,10 @@ FATE_VCODEC-$(call ENCDEC, RV20, RM)    += rv20
 fate-vsynth%-rv20:               ENCOPTS = -qscale 10
 fate-vsynth%-rv20:               FMT     = rm
 
+FATE_VCODEC_SCALE-$(call ENCDEC, SMC, MOV) += smc
+fate-vsynth%-smc:                CODEC   = smc
+fate-vsynth%-smc:                FMT     = mov
+
 FATE_VCODEC_SCALE-$(call ENCDEC, SNOW, AVI) += snow snow-hpel
 fate-vsynth%-snow:               ENCOPTS = -qscale 2 -flags +qpel \
                                            -motion_est iter -dia_size 2      \
diff --git a/tests/ref/vsynth/vsynth1-smc b/tests/ref/vsynth/vsynth1-smc
new file mode 100644
index 0000000000..09f4bd4ce1
--- /dev/null
+++ b/tests/ref/vsynth/vsynth1-smc
@@ -0,0 +1,4 @@
+b92226742d745515732a5e7b8a03e7b7 *tests/data/fate/vsynth1-smc.mov
+4613320 tests/data/fate/vsynth1-smc.mov
+f142ee03bf9f37bb2e1902fe32366bbf *tests/data/fate/vsynth1-smc.out.rawvideo
+stddev:    8.69 PSNR: 29.34 MAXDIFF:   64 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth2-smc b/tests/ref/vsynth/vsynth2-smc
new file mode 100644
index 0000000000..3ce6478e56
--- /dev/null
+++ b/tests/ref/vsynth/vsynth2-smc
@@ -0,0 +1,4 @@
+6e97e428fb20e96a5b8fc8a21f427504 *tests/data/fate/vsynth2-smc.mov
+3475261 tests/data/fate/vsynth2-smc.mov
+df26a524cad8ebf0cf5ba4376c5f115f *tests/data/fate/vsynth2-smc.out.rawvideo
+stddev:    7.57 PSNR: 30.54 MAXDIFF:   35 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth/vsynth3-smc b/tests/ref/vsynth/vsynth3-smc
new file mode 100644
index 0000000000..ed9efd92e2
--- /dev/null
+++ b/tests/ref/vsynth/vsynth3-smc
@@ -0,0 +1,4 @@
+e4eb9909095e02577b59004e209ad8ec *tests/data/fate/vsynth3-smc.mov
+65521 tests/data/fate/vsynth3-smc.mov
+fa6042492a3116c1ae9a32b487caa677 *tests/data/fate/vsynth3-smc.out.rawvideo
+stddev:    8.88 PSNR: 29.16 MAXDIFF:   51 bytes:    86700/    86700
diff --git a/tests/ref/vsynth/vsynth_lena-smc b/tests/ref/vsynth/vsynth_lena-smc
new file mode 100644
index 0000000000..2f9f5c1e87
--- /dev/null
+++ b/tests/ref/vsynth/vsynth_lena-smc
@@ -0,0 +1,4 @@
+037fa90a1ac659ff4dca22fb375dc7e1 *tests/data/fate/vsynth_lena-smc.mov
+3502732 tests/data/fate/vsynth_lena-smc.mov
+db453693ceae6f65c173dd716ee2662e *tests/data/fate/vsynth_lena-smc.out.rawvideo
+stddev:    8.07 PSNR: 29.99 MAXDIFF:   32 bytes:  7603200/  7603200
-- 
2.39.2

_______________________________________________
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".

Reply via email to