summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-10-24 15:54:41 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-10-24 16:06:31 +0300
commitac88c62c770d74c1dfe136ebc10439f1fd965fd4 (patch)
tree4ecc15033c896b02f0731417e10fae1c98a5b21a
parentd3b6e1ab6e1a02433d5cb1ec115c51cd8bb890d3 (diff)
tests: Add YVU 3-planar formats in RGB and WPF tests
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rwxr-xr-xscripts/vsp-lib.sh5
-rwxr-xr-xtests/vsp-unit-test-0002.sh2
-rwxr-xr-xtests/vsp-unit-test-0014.sh2
3 files changed, 5 insertions, 4 deletions
diff --git a/scripts/vsp-lib.sh b/scripts/vsp-lib.sh
index eea31d4..312fff0 100755
--- a/scripts/vsp-lib.sh
+++ b/scripts/vsp-lib.sh
@@ -466,7 +466,7 @@ format_v4l2_to_mbus() {
echo "AHSV8888_1X32";
;;
- UYVY | VYUY | YUYV | YVYU | NV12M | NV16M | NV21M | NV61M | YUV420M | YUV422M | YUV444M)
+ UYVY | VYUY | YUYV | YVYU | NV12M | NV16M | NV21M | NV61M | YUV420M | YUV422M | YUV444M | YVU420M | YVU422M | YVU444M)
echo "AYUV32"
;;
@@ -477,7 +477,8 @@ format_v4l2_to_mbus() {
\tXBGR32, XRGB32, ABGR32, ARGB32, HSV24, HSV32
\tUYVY, VYUY, YUYV, YVYU,
\tNV12M, NV16M, NV21M, NV61M,
-\tYUV420M, YUV422M, YUV444M" >&2
+\tYUV420M, YUV422M, YUV444M,
+\tYVU420M, YVU422M, YVU444M" >&2
exit 1
esac
}
diff --git a/tests/vsp-unit-test-0002.sh b/tests/vsp-unit-test-0002.sh
index 5979927..cc18126 100755
--- a/tests/vsp-unit-test-0002.sh
+++ b/tests/vsp-unit-test-0002.sh
@@ -9,7 +9,7 @@
source vsp-lib.sh
features="rpf.0 wpf.0"
-formats="NV12M NV16M NV21M NV61M UYVY VYUY YUV420M YUV422M YUV444M YUYV YVYU"
+formats="NV12M NV16M NV21M NV61M UYVY VYUY YUV420M YUV422M YUV444M YVU420M YVU422M YVU444M YUYV YVYU"
test_wpf_packing() {
test_start "WPF packing in $format"
diff --git a/tests/vsp-unit-test-0014.sh b/tests/vsp-unit-test-0014.sh
index 6bc7480..cd3faac 100755
--- a/tests/vsp-unit-test-0014.sh
+++ b/tests/vsp-unit-test-0014.sh
@@ -9,7 +9,7 @@
source vsp-lib.sh
features="rpf.0 wpf.0"
-formats="NV12M NV16M NV21M NV61M UYVY VYUY YUV420M YUV422M YUV444M YUYV YVYU"
+formats="NV12M NV16M NV21M NV61M UYVY VYUY YUV420M YUV422M YUV444M YVU420M YVU422M YVU444M YUYV YVYU"
test_rpf_unpacking() {
test_start "RPF unpacking in $format"