We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 35f534a + bc8efbd commit fe0a52bCopy full SHA for fe0a52b
labgrid/driver/usbvideodriver.py
@@ -28,6 +28,12 @@ def get_qualities(self):
28
("mid", "image/jpeg,width=1280,height=720,framerate=15/2"),
29
("high", "image/jpeg,width=1920,height=1080,framerate=10/1"),
30
])
31
+ if match == (0x046d, 0x08e5): # Logitech HD Pro Webcam C920
32
+ return ("mid", [
33
+ ("low", "image/jpeg,width=640,height=360,framerate=5/1"),
34
+ ("mid", "image/jpeg,width=1280,height=720,framerate=15/2"),
35
+ ("high", "image/jpeg,width=1920,height=1080,framerate=10/1"),
36
+ ])
37
if match == (0x534d, 0x2109): # MacroSilicon
38
return ("mid", [
39
("low", "image/jpeg,width=720,height=480,framerate=10/1"),
@@ -54,6 +60,9 @@ def get_pipeline(self, path, caps, controls=None):
54
60
elif match == (0x046d, 0x0892):
55
61
controls = controls or "focus_auto=1"
56
62
inner = None
63
+ elif match == (0x046d, 0x08e5):
64
+ controls = controls or "focus_auto=1"
65
+ inner = None
57
66
elif match == (0x534d, 0x2109):
58
67
inner = None # just forward the jpeg frames
59
68
else:
0 commit comments