summaryrefslogtreecommitdiff
path: root/tests/vsp-unit-test-0002.sh
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-06-16 02:08:19 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-06-19 15:26:01 +0300
commitfc93dfb01e1d0ad6b638b0a576fab23f7a2a7e47 (patch)
treea2b76ea900b2c69e636fedddd1c6485a2c4852dd /tests/vsp-unit-test-0002.sh
parent4566bd7e4bd4e2c32ed174c450b3b85ac3a930ca (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/vsp-unit-test-0002.sh')
-rwxr-xr-xtests/vsp-unit-test-0002.sh6
1 files changed, 3 insertions, 3 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
}