From 26af36611ed23e9fa08b2ba92053f4ad42078343 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Mon, 5 Sep 2022 10:08:15 +0100 Subject: uvc-gadget.sh: Add additional frame sizes for MJPEG format Add a new frame describing a 640x480 frame size, and 640x360 frame size for MJPEG format. Reviewed-by: Kieran Bingham Signed-off-by: Daniel Scally --- scripts/uvc-gadget.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/uvc-gadget.sh') diff --git a/scripts/uvc-gadget.sh b/scripts/uvc-gadget.sh index c21f52b..dceecd9 100755 --- a/scripts/uvc-gadget.sh +++ b/scripts/uvc-gadget.sh @@ -122,6 +122,8 @@ create_uvc() { create_frame $FUNCTION 1280 720 uncompressed u create_frame $FUNCTION 320 180 uncompressed u create_frame $FUNCTION 1920 1080 mjpeg m + create_frame $FUNCTION 640 480 mjpeg m + create_frame $FUNCTION 640 360 mjpeg m mkdir functions/$FUNCTION/streaming/header/h cd functions/$FUNCTION/streaming/header/h -- cgit v1.2.3