I started with sourcecode for usb webcams (uncompressed format, YUV2) currently driven by the ehci periodic scheduler and the usb video class:
http://sourceforge.net/p/prettyos/code/ ... sb_video.c
http://sourceforge.net/p/prettyos/code/ ... hciQHqTD.c (cf. ehci_addToPeriodicScheduler)
It runs fine now, but I could not find tutorials, comparable code, discussions and hints at this forum, therefore I am interested to discuss the features of webcams and how to handle the different parameters, formats, etc.
I currently get best results with the Logitech C270, but want to use all kinds of webcams.
usb webcam with ehci periodic scheduler
usb webcam with ehci periodic scheduler
http://www.henkessoft.de/OS_Dev/OS_Dev3.htm (OSDEV)
http://www.c-plusplus.de/forum/viewforu ... is-62.html
irc.euirc.net #PrettyOS
http://www.c-plusplus.de/forum/viewforu ... is-62.html
irc.euirc.net #PrettyOS
Re: usb webcam with ehci periodic scheduler
Very cool. You need to add some information to the wiki. The USB page is pretty good, but it would be nice to have some details on the different usb device class interfaces.
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
- DavidCooper
- Member
- Posts: 1150
- Joined: Wed Oct 27, 2010 4:53 pm
- Location: Scotland
Re: usb webcam with ehci periodic scheduler
The latest edition of Benjamin Lunt's book on USB (http://www.fysnet.net/the_universal_serial_bus.htm - written specifically for OS developers like us) has a section (part 5) on using USB video devices which may be helpful.
Help the people of Laos by liking - https://www.facebook.com/TheSBInitiative/?ref=py_c
MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming
MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming