From fc93dfb01e1d0ad6b638b0a576fab23f7a2a7e47 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 16 Jun 2016 02:08:19 +0300 Subject: tests: Use YUV444M instead of UYVY for YUV input formats Depending on the test this lowers the conversion errors or ensures a pixel-perfect match between the reference frame generator and the hardware. In the latter case we can now use the faster exact output verification method. Signed-off-by: Laurent Pinchart --- tests/vsp-unit-test-0002.sh | 6 +++--- tests/vsp-unit-test-0003.sh | 2 +- tests/vsp-unit-test-0004.sh | 2 +- tests/vsp-unit-test-0007.sh | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'tests') diff --git a/tests/vsp-unit-test-0002.sh b/tests/vsp-unit-test-0002.sh index 14a45b0..a354c32 100755 --- a/tests/vsp-unit-test-0002.sh +++ b/tests/vsp-unit-test-0002.sh @@ -15,12 +15,12 @@ test_wpf_packing() { test_start "WPF packing in $format" pipe_configure rpf-wpf 0 0 - format_configure rpf-wpf 0 0 YUYV 1024x768 $format + format_configure rpf-wpf 0 0 YUV444M 1024x768 $format - $vsp_runner $mdev input 0 YUYV & + $vsp_runner $mdev input 0 YUV444M & $vsp_runner $mdev output 0 $format - result=$(compare_frames fuzzy) + result=$(compare_frames exact) test_complete $result } diff --git a/tests/vsp-unit-test-0003.sh b/tests/vsp-unit-test-0003.sh index b986632..ee6dbdc 100755 --- a/tests/vsp-unit-test-0003.sh +++ b/tests/vsp-unit-test-0003.sh @@ -8,7 +8,7 @@ source vsp-lib.sh features="rpf.0 uds wpf.0" -formats="RGB24 UYVY" +formats="RGB24 YUV444M" test_scale() { format=$1 diff --git a/tests/vsp-unit-test-0004.sh b/tests/vsp-unit-test-0004.sh index 12a2545..b6e1345 100755 --- a/tests/vsp-unit-test-0004.sh +++ b/tests/vsp-unit-test-0004.sh @@ -8,7 +8,7 @@ source vsp-lib.sh features="hgo rpf.0 wpf.0" -formats="RGB24 UYVY" +formats="RGB24 YUV444M" test_histogram() { test_start "histogram in $format" diff --git a/tests/vsp-unit-test-0007.sh b/tests/vsp-unit-test-0007.sh index 0004ac8..03ed614 100755 --- a/tests/vsp-unit-test-0007.sh +++ b/tests/vsp-unit-test-0007.sh @@ -7,7 +7,7 @@ source vsp-lib.sh features="rpf.0 rpf.1 bru wpf.0" -formats="RGB24 UYVY" +formats="RGB24 YUV444M" test_bru() { format=$1 @@ -23,7 +23,7 @@ test_bru() { done $vsp_runner $mdev output 0 $format - result=$(compare_frames fuzzy) + result=$(compare_frames exact) test_complete $result } -- cgit v1.2.3