summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2018-06-05 22:47:07 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-06-08 23:06:55 +0300
commitf6760f161dc5f03d5b751798e4aff44e571ff703 (patch)
treee47524942e67deae60cd0a942e0e92ad98d6124d /scripts
parent891e3120b41ae206002ba76e737d9b13bd327a29 (diff)
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 <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/uvc-gadget.sh2
1 files changed, 2 insertions, 0 deletions
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