From 8f715bbaa867f0928bad6cf1b8595444134afc8f Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 17 Jun 2016 00:22:11 +0300 Subject: vsp-lib: Store the scaling configuration internally This allows deciding whether to compare output frames using the exact or fuzzy algorithm internally, removing the need for an explicit argument to the compare_frames function. Signed-off-by: Laurent Pinchart --- tests/vsp-unit-test-0001.sh | 2 +- tests/vsp-unit-test-0002.sh | 2 +- tests/vsp-unit-test-0003.sh | 2 +- tests/vsp-unit-test-0005.sh | 2 +- tests/vsp-unit-test-0007.sh | 2 +- tests/vsp-unit-test-0008.sh | 2 +- tests/vsp-unit-test-0009.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'tests') diff --git a/tests/vsp-unit-test-0001.sh b/tests/vsp-unit-test-0001.sh index 962adc0..887f23a 100755 --- a/tests/vsp-unit-test-0001.sh +++ b/tests/vsp-unit-test-0001.sh @@ -20,7 +20,7 @@ test_wpf_packing() { $vsp_runner $mdev input 0 ARGB32 & $vsp_runner $mdev output 0 $format - result=$(compare_frames exact) + result=$(compare_frames) test_complete $result } diff --git a/tests/vsp-unit-test-0002.sh b/tests/vsp-unit-test-0002.sh index a354c32..35bb0ad 100755 --- a/tests/vsp-unit-test-0002.sh +++ b/tests/vsp-unit-test-0002.sh @@ -20,7 +20,7 @@ test_wpf_packing() { $vsp_runner $mdev input 0 YUV444M & $vsp_runner $mdev output 0 $format - result=$(compare_frames exact) + result=$(compare_frames) test_complete $result } diff --git a/tests/vsp-unit-test-0003.sh b/tests/vsp-unit-test-0003.sh index 64180c4..30bf2df 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 fuzzy) + result=$(compare_frames) test_complete $result } diff --git a/tests/vsp-unit-test-0005.sh b/tests/vsp-unit-test-0005.sh index 6606f60..caf0c9c 100755 --- a/tests/vsp-unit-test-0005.sh +++ b/tests/vsp-unit-test-0005.sh @@ -22,7 +22,7 @@ test_rpf() { $vsp_runner $mdev input $rpf $format & $vsp_runner $mdev output 0 $format - result=$(compare_frames exact) + result=$(compare_frames) test_complete $result } diff --git a/tests/vsp-unit-test-0007.sh b/tests/vsp-unit-test-0007.sh index 03ed614..8d86b66 100755 --- a/tests/vsp-unit-test-0007.sh +++ b/tests/vsp-unit-test-0007.sh @@ -23,7 +23,7 @@ test_bru() { done $vsp_runner $mdev output 0 $format - result=$(compare_frames exact) + result=$(compare_frames) test_complete $result } diff --git a/tests/vsp-unit-test-0008.sh b/tests/vsp-unit-test-0008.sh index 6c20df2..ef3e4c2 100755 --- a/tests/vsp-unit-test-0008.sh +++ b/tests/vsp-unit-test-0008.sh @@ -30,7 +30,7 @@ test_scale() { $vsp_runner $mdev input 0 $format & $vsp_runner $mdev output 0 $format - result=$(compare_frames fuzzy) + result=$(compare_frames) test_complete $result } diff --git a/tests/vsp-unit-test-0009.sh b/tests/vsp-unit-test-0009.sh index b95b06b..9741584 100755 --- a/tests/vsp-unit-test-0009.sh +++ b/tests/vsp-unit-test-0009.sh @@ -22,7 +22,7 @@ test_wpf() { $vsp_runner $mdev input 0 $format & $vsp_runner $mdev output $wpf $format - result=$(compare_frames exact) + result=$(compare_frames) test_complete $result } -- cgit v1.2.3