Web lists-archives.com

Re: [Spca50x-devs] Philips SPC 300NC : image upside down

Le Lundi 5 Février 2007 12:02, olivier a écrit :
> Hi,
> I have a Philips SPC 300NC and the same problem as described in
> http://lists-archives.org/spca50x-devs/00576-philips-spc-200nc-image-upside
> (tested with gspcav1-20070110)
> As i don't want to turn the camera upside-down all the time i wrote
> a small/ugly patch that flips the frame in software.
I did not know a register to reverse the picture up/down right/left in the 
spc300nc  chipsets :(
> Basically: i reverse the image from frame->data to frame->tmpbuffer,
> then swap BGR <-> RGB from frame->tmpbuffer to frame->data. Please note
> i said that's ugly :) But at least this solves my problem, for the modes
> i use the camera with.
That will overload some CPU :(
> I was just wondering if there is a nicer solution, as i'm not an expert
> in webcam drivers.
Some sensor implement the flip XY feature in hardware :)
> Thanks,
Best regards
Michel Xhaard

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Spca50x-devs mailing list