Skip to contentSkip to conversation

USB Video Class device emulation.

RFC PATCH New Raphael Lisicki 1 participant 1 message Jun 6, 2021

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 USB Video Class device emulation.

This continues work started by Natalia Portillo <[email protected]>, as submitted here: https://lists.nongnu.org/archive/html/qemu-devel/2010-06/msg01126.html

I have updated the changes so that the patch now applies to v4.2.1. Video input has been expanded to support user-mode buffers so that an UVC device itself can be used as input for this module.

My work on this has already stalled some weeks ago and I am submitting it in case somebody might be interested.

Best regards
Raphael

---
 hw/usb/Makefile.objs |    1 +
 hw/usb/usb-uvc.c     | 1435 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 1436 insertions(+)
 create mode 100644 hw/usb/usb-uvc.c
hw/usb/Makefile.objs +1 -0
index 303ac084a0..83e460af8a 100644
@@ -26,6 +26,7 @@ common-obj-$(CONFIG_USB_AUDIO)        += dev-audio.o
 common-obj-$(CONFIG_USB_SERIAL)       += dev-serial.o
 common-obj-$(CONFIG_USB_NETWORK)      += dev-network.o
 common-obj-$(CONFIG_USB_BLUETOOTH)    += dev-bluetooth.o
+common-obj-$(CONFIG_LINUX)            += usb-uvc.o
 
 ifeq ($(CONFIG_USB_SMARTCARD),y)
 common-obj-y                          += dev-smartcard-reader.o
hw/usb/usb-uvc.c new file +1435 -0

1,435 lines not on this page · raw message

Signature · 1 line
2.17.1