This patch adds following improvements to the camerav4l2 driver:
- AMD Geode SoC camera support (with source switching capabilities over i2c)
- YUYV to RGB decoding
- faster BA81, RGBP, YUYV code (if depth fits, one mem copy less)
Do you want to add an author to geode.c/h?
The most of geode.c code I've taken from v4l2.c code and tweaked for Geode needs. This v4l2.c code is mine, I have written it years before I published camerav4l2 driver and it was used (with many changes) in more of my camera-related projects. If author information is required, I can add it to each of those files as soon as I have access to my host.
Tweaked code is not even similar to the code I looked at to see how v4l2 is used for Geode - it simply wouldn't fit to Player. All I2C related ioctls was worked out by me: I didn't want to use any wrapping libraries for it so I figured out how to do that directly.
with author info
It's not required, I was just asking as a courtesy. I'll go ahead and apply the patch as-is.
It's not required, I was just asking as a courtesy. I've applied the patch to SVN head, thanks for the great work!