diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-06-16 02:08:19 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-06-19 15:26:01 +0300 |
commit | fc93dfb01e1d0ad6b638b0a576fab23f7a2a7e47 (patch) | |
tree | a2b76ea900b2c69e636fedddd1c6485a2c4852dd /tests | |
parent | 4566bd7e4bd4e2c32ed174c450b3b85ac3a930ca (diff) |
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 <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/vsp-unit-test-0002.sh | 6 | ||||
-rwxr-xr-x | tests/vsp-unit-test-0003.sh | 2 | ||||
-rwxr-xr-x | tests/vsp-unit-test-0004.sh | 2 | ||||
-rwxr-xr-x | tests/vsp-unit-test-0007.sh | 4 |
4 files changed, 7 insertions, 7 deletions
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 } |