@@ -532,7 +532,7 @@ pipe_configure() {
format_v4l2_to_mbus() {
case $1 in
RGB332 | ARGB555 | XRGB555 | RGB565 | BGR24 | RGB24 | XBGR32 | XRGB32 | ABGR32 | ARGB32)
- echo "ARGB32";
+ echo "ARGB8888_1X32";
;;
HSV24 | HSV32)
@@ -540,7 +540,7 @@ format_v4l2_to_mbus() {
;;
UYVY | VYUY | YUYV | YVYU | NV12M | NV16M | NV21M | NV61M | YUV420M | YUV422M | YUV444M | YVU420M | YVU422M | YVU444M)
- echo "AYUV32"
+ echo "AYUV8_1X32"
;;
*)
@@ -558,7 +558,7 @@ format_v4l2_to_mbus() {
format_v4l2_is_yuv() {
local format=$(format_v4l2_to_mbus $1)
- [ $format = 'AYUV32' ]
+ [ $format = 'AYUV8_1X32' ]
}
format_rpf() {
The media-ctl utility names media bus codes by stripping the MEDIA_BUS_FMT_ prefix from the kernel macro name. For a small set of formats, alternative names are supported for historical reasons. Their usage is discouraged, so use the canonical names in the tests. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- scripts/vsp-lib.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)