On 22.06.2015 14:59, Michael Niedermayer wrote:
On Mon, Jun 22, 2015 at 09:38:43AM +0200, Tobias Rapp wrote:
Attached patch adds some FATE tests for FFV1 level 3 with different
bits-per-sample.
fate/vcodec.mak |6 +-
ref/vsynth/vsynth1-ffv1.3-420|4
ref/vsynth/vsynth1-ffv1.3-422p10 |4
ref/vsynth/vsynth1-ffv1.3-444p16 |4
ref/vsynth/vsynth1-ffv1.3-bgr|4
ref/vsynth/vsynth2-ffv1.3-420|4
ref/vsynth/vsynth2-ffv1.3-422p10 |4
ref/vsynth/vsynth2-ffv1.3-444p16 |4
ref/vsynth/vsynth2-ffv1.3-bgr|4
ref/vsynth/vsynth3-ffv1.3-420|4
ref/vsynth/vsynth3-ffv1.3-422p10 |4
ref/vsynth/vsynth3-ffv1.3-444p16 |4
ref/vsynth/vsynth3-ffv1.3-bgr|4
ref/vsynth/vsynth_lena-ffv1.3-420|4
ref/vsynth/vsynth_lena-ffv1.3-422p10 |4
ref/vsynth/vsynth_lena-ffv1.3-444p16 |4
ref/vsynth/vsynth_lena-ffv1.3-bgr|4
17 files changed, 69 insertions(+), 1 deletion(-)
09d8d05b6b5cded64fc6e6698e503584daad057c
0001-fate-add-some-tests-for-ffv1-level-3-with-8-10-16-bp.patch
From aee3721703e8530bb71f85daf4b4438ed170f612 Mon Sep 17 00:00:00 2001
From: Tobias Rapp t.r...@noa-audio.com
Date: Fri, 19 Jun 2015 14:30:27 +0200
Subject: [PATCH] fate: add some tests for ffv1 level 3 with 8/10/16 bps
fails on MIPS
you are possibly missing some swscale bitexact flag or something
Attached a new version of the patch with -sws_flags neighbor+bitexact
added to 10/16 bit YUV and RGB. Looking at fate-run.sh the bitexact flag
might be redundant, though.
Noticed that the stddev of all YUV output files is 0.00 now (but not for
RGB).
Regards,
Tobias
From 0ac4ba5ea07c8cb168ba3ff23b0f30d86b25cef8 Mon Sep 17 00:00:00 2001
From: Tobias Rapp t.r...@noa-audio.com
Date: Fri, 19 Jun 2015 14:30:27 +0200
Subject: [PATCH] fate: add some tests for ffv1 level 3 with 8/10/16 bps
---
tests/fate/vcodec.mak | 12 +++-
tests/ref/vsynth/vsynth1-ffv1.3-420| 4
tests/ref/vsynth/vsynth1-ffv1.3-422p10 | 4
tests/ref/vsynth/vsynth1-ffv1.3-444p16 | 4
tests/ref/vsynth/vsynth1-ffv1.3-bgr| 4
tests/ref/vsynth/vsynth2-ffv1.3-420| 4
tests/ref/vsynth/vsynth2-ffv1.3-422p10 | 4
tests/ref/vsynth/vsynth2-ffv1.3-444p16 | 4
tests/ref/vsynth/vsynth2-ffv1.3-bgr| 4
tests/ref/vsynth/vsynth3-ffv1.3-420| 4
tests/ref/vsynth/vsynth3-ffv1.3-422p10 | 4
tests/ref/vsynth/vsynth3-ffv1.3-444p16 | 4
tests/ref/vsynth/vsynth3-ffv1.3-bgr| 4
tests/ref/vsynth/vsynth_lena-ffv1.3-420| 4
tests/ref/vsynth/vsynth_lena-ffv1.3-422p10 | 4
tests/ref/vsynth/vsynth_lena-ffv1.3-444p16 | 4
tests/ref/vsynth/vsynth_lena-ffv1.3-bgr| 4
17 files changed, 75 insertions(+), 1 deletion(-)
create mode 100644 tests/ref/vsynth/vsynth1-ffv1.3-420
create mode 100644 tests/ref/vsynth/vsynth1-ffv1.3-422p10
create mode 100644 tests/ref/vsynth/vsynth1-ffv1.3-444p16
create mode 100644 tests/ref/vsynth/vsynth1-ffv1.3-bgr
create mode 100644 tests/ref/vsynth/vsynth2-ffv1.3-420
create mode 100644 tests/ref/vsynth/vsynth2-ffv1.3-422p10
create mode 100644 tests/ref/vsynth/vsynth2-ffv1.3-444p16
create mode 100644 tests/ref/vsynth/vsynth2-ffv1.3-bgr
create mode 100644 tests/ref/vsynth/vsynth3-ffv1.3-420
create mode 100644 tests/ref/vsynth/vsynth3-ffv1.3-422p10
create mode 100644 tests/ref/vsynth/vsynth3-ffv1.3-444p16
create mode 100644 tests/ref/vsynth/vsynth3-ffv1.3-bgr
create mode 100644 tests/ref/vsynth/vsynth_lena-ffv1.3-420
create mode 100644 tests/ref/vsynth/vsynth_lena-ffv1.3-422p10
create mode 100644 tests/ref/vsynth/vsynth_lena-ffv1.3-444p16
create mode 100644 tests/ref/vsynth/vsynth_lena-ffv1.3-bgr
diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index 1ad5e96..f282d1c 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -68,9 +68,19 @@ fate-vsynth%-dv-50: ENCOPTS = -dct int -s pal -pix_fmt yuv422p \
fate-vsynth%-dv-50: DECOPTS = -sws_flags neighbor
fate-vsynth%-dv-50: FMT = dv
-FATE_VCODEC-$(call ENCDEC, FFV1, AVI) += ffv1 ffv1.0
+FATE_VCODEC-$(call ENCDEC, FFV1, AVI) += ffv1 ffv1.0 ffv1.3-420 ffv1.3-422p10 ffv1.3-444p16 ffv1.3-bgr
fate-vsynth%-ffv1: ENCOPTS = -slices 4
fate-vsynth%-ffv1.0: CODEC = ffv1
+fate-vsynth%-ffv1.3-420: ENCOPTS = -vcodec ffv1 -level 3 -pix_fmt yuv420p
+fate-vsynth%-ffv1.3-422p10: ENCOPTS = -vcodec ffv1 -level 3 -pix_fmt yuv422p10le \
+ -sws_flags neighbor+bitexact
+fate-vsynth%-ffv1.3-422p10: DECOPTS = -sws_flags neighbor+bitexact
+fate-vsynth%-ffv1.3-444p16: ENCOPTS = -vcodec ffv1 -level 3 -pix_fmt yuv444p16le \
+