Skip to content

Commit f428572

Browse files
committed
usb: host: class: add symbol USBH_VIDEO_MULTIPLE_PRIME_COUNT
This new symbol is used to set usb transfer prime count. Signed-off-by: Aiden Hu <[email protected]>
1 parent d12370e commit f428572

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

subsys/usb/host/class/Kconfig.uvc_host

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@ config USBH_VIDEO_MAX_FORMATS
5252
being used. TThe maximum count for each format type (e.g., MJPEG, uncompressed), not the
5353
total number of all formats.
5454

55+
config USBH_VIDEO_MULTIPLE_PRIME_COUNT
56+
int "Number of concurrent USB transfers to initiate when starting stream"
57+
range 1 16
58+
default 1
59+
help
60+
Number of concurrent USB isochronous transfers initiated when video
61+
streaming starts. Higher values improve throughput but use more resources.
62+
Lower values (1-2) suit low frame rates, higher values (4-8) suit high
63+
frame rates.
64+
5565
module = USBH_VIDEO
5666
module-str = usbh uvc
5767
default-count = 1

0 commit comments

Comments
 (0)