From c120e551d0f222bb444ee1b454c07f4eb3d39ad1 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 16 Jun 2016 01:52:04 +0300 Subject: tests: Perform scaling verification in fuzzy mode The reference frame generator scaling algorithm doesn't match the VSP scaler in a pixel-perfect fashion, use fuzzy comparision of the result. Signed-off-by: Laurent Pinchart --- tests/vsp-unit-test-0003.sh | 2 +- tests/vsp-unit-test-0008.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/vsp-unit-test-0003.sh b/tests/vsp-unit-test-0003.sh index ee6dbdc..64180c4 100755 --- a/tests/vsp-unit-test-0003.sh +++ b/tests/vsp-unit-test-0003.sh @@ -23,7 +23,7 @@ test_scale() { $vsp_runner $mdev input 0 $format & $vsp_runner $mdev output 0 $format - result=$(compare_frames exact) + result=$(compare_frames fuzzy) test_complete $result } diff --git a/tests/vsp-unit-test-0008.sh b/tests/vsp-unit-test-0008.sh index 566cef5..6c20df2 100755 --- a/tests/vsp-unit-test-0008.sh +++ b/tests/vsp-unit-test-0008.sh @@ -8,7 +8,7 @@ source vsp-lib.sh features="bru rpf.0 uds wpf.0" -formats="RGB24 UYVY" +formats="RGB24 YUV444M" test_scale() { format=$1 @@ -30,7 +30,7 @@ test_scale() { $vsp_runner $mdev input 0 $format & $vsp_runner $mdev output 0 $format - result=$(compare_frames exact) + result=$(compare_frames fuzzy) test_complete $result } -- cgit v1.2.3