Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-01-29 04:32:30 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-01-29 05:42:31 +0400
commit931ec4a2f64143c7029bc8699534268ae0a8946e (patch)
tree33f07f74fa6e03ee629c655f96fcc9930076b7ef /tests
parent6bcc8275a1c74265679c41bd2758e0834f0b8d69 (diff)
fate: add R210 encoding/decoding test
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/codec-regression.sh5
-rw-r--r--tests/ref/vsynth1/r2104
-rw-r--r--tests/ref/vsynth2/r2104
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 5871c2d552..3a16a02cdb 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -319,6 +319,11 @@ do_video_encoding rgb.avi "-an -vcodec rawvideo -pix_fmt bgr24"
do_video_decoding "" "-pix_fmt yuv420p"
fi
+if [ -n "$do_r210" ] ; then
+do_video_encoding r210.avi "-an -c:v r210"
+do_video_decoding
+fi
+
if [ -n "$do_v210" ] ; then
do_video_encoding v210.avi "-an -c:v v210"
do_video_decoding "" "-pix_fmt yuv420p"
diff --git a/tests/ref/vsynth1/r210 b/tests/ref/vsynth1/r210
new file mode 100644
index 0000000000..02babd083d
--- /dev/null
+++ b/tests/ref/vsynth1/r210
@@ -0,0 +1,4 @@
+604a34c9f9151891c2d63d2652b75329 *./tests/data/vsynth1/r210.avi
+ 22125260 ./tests/data/vsynth1/r210.avi
+1ac5ec3bbb6bfbdf1ce6316e48e5fd89 *./tests/data/r210.vsynth1.out.yuv
+stddev: 91.79 PSNR: 8.87 MAXDIFF: 254 bytes: 30412800/ 7603200
diff --git a/tests/ref/vsynth2/r210 b/tests/ref/vsynth2/r210
new file mode 100644
index 0000000000..caec7b60eb
--- /dev/null
+++ b/tests/ref/vsynth2/r210
@@ -0,0 +1,4 @@
+d7a6f298e6869a74c0988fc3b30d0351 *./tests/data/vsynth2/r210.avi
+ 22125260 ./tests/data/vsynth2/r210.avi
+3ca229927a09e3d7ecedc0b868c568b0 *./tests/data/r210.vsynth2.out.yuv
+stddev: 82.11 PSNR: 9.84 MAXDIFF: 230 bytes: 30412800/ 7603200