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>
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
}
source vsp-lib.sh
features="rpf.0 uds wpf.0"
-formats="RGB24 UYVY"
+formats="RGB24 YUV444M"
test_scale() {
format=$1
source vsp-lib.sh
features="hgo rpf.0 wpf.0"
-formats="RGB24 UYVY"
+formats="RGB24 YUV444M"
test_histogram() {
test_start "histogram in $format"
source vsp-lib.sh
features="rpf.0 rpf.1 bru wpf.0"
-formats="RGB24 UYVY"
+formats="RGB24 YUV444M"
test_bru() {
format=$1
done
$vsp_runner $mdev output 0 $format
- result=$(compare_frames fuzzy)
+ result=$(compare_frames exact)
test_complete $result
}