Web lists-archives.com

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




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-down.html

(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.

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.

I was just wondering if there is a nicer solution, as i'm not an expert
in webcam drivers.

Thanks,

-- 
Olivier

-------------------------------------------------------------------------
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
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs