It supports Bayer RGGB8, which should be basically unprocessed data
off of the CMOS. I can't imagine it being useful though. It would
require unBayerizing it to display, even though the XO's display is
also Bayer (I assume pixel offsets and swizzling would mess it up,
even if the colors are in the same order). You're better off letting
the camera do the heavy processing and just get packed RGB back.
On Sat, Sep 6, 2008 at 10:15 AM, Christoph Derndorfer
[EMAIL PROTECTED] wrote:
IIRC the camera also supports a RAW mode, right?
Is this another feature that we could integrate into an advanced camera
activity that also includes the features mentioned below?
On Fri, Sep 5, 2008 at 4:26 PM, Nirav Patel [EMAIL PROTECTED] wrote:
I don't know about integrating it into Record, but the other issues
are fairly easy to resolve. I wrote a Python module over the summer
to interface v4l2 cameras that returns Pygame surfaces. Capturing
images is near instant (~20ms for 640x480 RGB). Autogain and
autowhitebalance can be disabled using v4l2 camera controls. There is
support in my module for the hflip and vflip controls, but adding
additional controls is trivial.
Alternately, we could just use a little utility in C to access any
v4l2 camera control. Since the module I wrote is for Pygame and is
eventually going to be cross platform, adding v4l2 specific stuff to
it is probably not the greatest idea.
It may just be better to skip sticking it in Record and make a
standalone activity, since Record seems to have plenty of issues on
its own without a big new feature. There wouldn't be much code
duplication if Panorama doesn't use gstreamer anyway.
On Fri, Sep 5, 2008 at 9:26 AM, Benjamin M. Schwartz
[EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Christoph Derndorfer wrote:
| Sweet, I totally missed that!
| Is anyone actively working on integrating that functionality into
| or making it available as a seperate activity?
The Panorama Activity is snot quite barely functional. It might be best
to roll this functionality into Record, and Erik Blankinship has
some interest in that. However, Record's UI is very unusual, and I am
about to attempt integration with it myself. Also, as you can see in
examples, this process is only likely to work well once the camera's
automatic white balance and gain control are deactivated. The only way
know how to do that is to run in Bayer mode. Bayer mode was introduced
a recent gstreamer, but gstreamer was recently downgraded, which leaves
without a known reliable way to access Bayer mode.
P.S. For Bayer mode info, see
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-END PGP SIGNATURE-
e-mail: [EMAIL PROTECTED]
Devel mailing list