diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-06-17 00:22:11 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-06-19 15:26:01 +0300 |
commit | 8f715bbaa867f0928bad6cf1b8595444134afc8f (patch) | |
tree | fa2b51ebb5f3312aab908839db5528217ace5098 /tests | |
parent | c120e551d0f222bb444ee1b454c07f4eb3d39ad1 (diff) |
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 <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/vsp-unit-test-0001.sh | 2 | ||||
-rwxr-xr-x | tests/vsp-unit-test-0002.sh | 2 | ||||
-rwxr-xr-x | tests/vsp-unit-test-0003.sh | 2 | ||||
-rwxr-xr-x | tests/vsp-unit-test-0005.sh | 2 | ||||
-rwxr-xr-x | tests/vsp-unit-test-0007.sh | 2 | ||||
-rwxr-xr-x | tests/vsp-unit-test-0008.sh | 2 | ||||
-rwxr-xr-x | tests/vsp-unit-test-0009.sh | 2 |
7 files changed, 7 insertions, 7 deletions
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 } |