On 19 Sep, 12:22, tarikk <[email protected]> wrote: > I'm trying to port a USB camera. Almost there but coming across a > weird issue.. Im getting two pinkish green preview panels on one half, > and the rest is static green. No idea what's causing this. > > Here is a screenshot:http://i54.tinypic.com/eu0zg8.png > > In camera hardware, pixel format is set to V4L2_PIX_FMT_SBGGR8, > resolution 640x480 and p.setPreviewFormat("yuv422sp"); > > Im not sure if any of that have to do with it.. Any idea what could be > causing this?
Look like something you could get if you treat a YUV image as RGB. RGB/YUV letters could be flipped around. SBGGR8 could be it... Usually you get a 3:d image also half/double size don't remember and to lazy to look it up. /Zingo Andersen -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
