From f6760f161dc5f03d5b751798e4aff44e571ff703 Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Tue, 5 Jun 2018 22:47:07 +0900 Subject: uvc-gadget.sh: add new default frame sizes Create a couple more frame sizes through configfs. This is so that we can test by default with multiple frame sizes. The frame sizes are instantiated in a non-sorted order purposefully to test and make sure that bFrameIndex parsing is done properly by all involved components. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- scripts/uvc-gadget.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/uvc-gadget.sh b/scripts/uvc-gadget.sh index 6c528f5..daf85c2 100755 --- a/scripts/uvc-gadget.sh +++ b/scripts/uvc-gadget.sh @@ -117,6 +117,8 @@ create_uvc() { mkdir functions/$FUNCTION create_frame $FUNCTION 640 360 + create_frame $FUNCTION 1280 720 + create_frame $FUNCTION 320 180 mkdir functions/$FUNCTION/streaming/header/h cd functions/$FUNCTION/streaming/header/h -- cgit v1.2.3