GWater schrieb:
GWater schrieb:Progress Is Being Made:Please take a look at the attached screenshot - still not perfect but better than the last one. Again the changes which made this happen are attached in a patch. Again the I2C stuff is SOI968 specific and the rest is general.Currently it only works with JPEG compression although the windows driver does it using YUV420.As you can see mplayer splits the image into several layers and the data isn't enough to fill the window even if it wasn't split up.My hypothesis:As the windows driver is converting image data (scrambled YUV420->i420, lighting the picture up, etc) all the time anyway it isn't actually getting SXGA (1280x960 - the windows driver uses these values, too) from the sn9c20x chip. Instead it uses the sn9c20x chip to convert the sxga stream from the sensor into vga and then reconvertes the stream back to sxga for webcam applications. This would explain why the USB-transfer is possible without JPEG compression and why the image in mplayer looks like 2x (320x480).Ideas, comments? GWaterSo, I made the driver use the exact same settings the windows driver uses. I tried again with my hypothesis (ouput is actually 640x480). I tracked down and fixed the remaining issues. And then I got this:A clear image stream in 640x480 and YUV420 encoding. With the SXGA data coming from the sensor. And the expected lag ;) .Attached is the cleared up patch that should show what I did even if you can't / don't want to test it.This solution is of course not what I expected. I always thought we could get actual SXGA out of this cam but it seems someone in marketing called IT and said - "Everyone is talking about Megapixels these days - think you can make that happen for our cam?"Since we don't do this dubious crap - what do we do? 1. We can scratch SXGA from our todo-list and do something else.2. We can offer a "quarter-SXGA" by simple not scaling the image. (my favourite) 3. We can offer "downscaled-SXGA" like the windows driver. Users of mplayer can upscale it again using the xv output.4. ??? Please comment. GWater
I'm shocked no one is interested in this. So we just drop it? GWater
signature.asc
Description: OpenPGP digital signature
