diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-06-16 01:50:27 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-06-19 15:26:01 +0300 |
commit | fd30af3f493394ec72b3d942f759c43d8167cacb (patch) | |
tree | 746c562c9d1181b8e79c7362044db27c4f2f5894 | |
parent | fef6a90d2b2f21d885b2ec2d348bfcdb7751c118 (diff) |
vsp-lib: Add YUV422M and YUV444M support
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rwxr-xr-x | scripts/vsp-lib.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/vsp-lib.sh b/scripts/vsp-lib.sh index 2c9e729..c5db772 100755 --- a/scripts/vsp-lib.sh +++ b/scripts/vsp-lib.sh @@ -127,7 +127,7 @@ compare_frame_exact() { # the whole frame with no more than 5% of the pixels differing. # compare_frame_fuzzy() { - fmt=$(echo $1 | sed 's/M$//') + fmt=$(echo $1 | sed 's/M$/P/') size=$2 img_a=$3 img_b=$4 @@ -310,7 +310,7 @@ format_v4l2_to_mbus() { echo "ARGB32"; ;; - NV12M | NV16M | NV21M | NV61M | UYVY | VYUY | YUV420M | YUYV | YVYU) + UYVY | VYUY | YUYV | YVYU | NV12M | NV16M | NV21M | NV61M | YUV420M | YUV422M | YUV444M) echo "AYUV32" ;; @@ -319,7 +319,9 @@ format_v4l2_to_mbus() { echo -e "Valid formats are \tRGB332, ARGB555, XRGB555, RGB565, BGR24, RGB24, \tXBGR32, XRGB32, ABGR32, ARGB32, -\tNV12M, NV16M, NV21M, NV61M, UYVY, VYUY, YUV420M, YUYV, YVYU" >&2 +\tUYVY, VYUY, YUYV, YVYU, +\tNV12M, NV16M, NV21M, NV61M, +\tYUV420M, YUV422M, YUV444M" >&2 exit 1 esac } |