diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-06-16 01:52:04 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-06-19 15:26:01 +0300 |
commit | c120e551d0f222bb444ee1b454c07f4eb3d39ad1 (patch) | |
tree | e0aaa53c122168ce854b5c90cbddb24c14b51204 | |
parent | c26bc3caa4a8e6bf55c3d8270c1a7f940948febe (diff) |
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 <laurent.pinchart@ideasonboard.com>
-rwxr-xr-x | tests/vsp-unit-test-0003.sh | 2 | ||||
-rwxr-xr-x | tests/vsp-unit-test-0008.sh | 4 |
2 files changed, 3 insertions, 3 deletions
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 } |