Hi, I own a FSC Xi 2550 laptop with a s5k4aa-based bisoncam, and I've been playing lately with the s5k4aa branch, trying to figure out the meaning of sensor registers and trying to get the best image and framerate. I achieved stable 1280x1024 picture at 15 fps and stable 640x480 picture at 31fps.
I've attached 3 patches :
livecam.patch (against rev 13) :
- adds 1280x1024 BAYER resolution
- implements a bayer decoding which works with s5k4aa. It seems to be a
SRGGB8 encoding or a reversed SBGGR8. It's a naive implementation which
doesn't decode the image border because it's easier for interpolation.
Colors look fine but would need additional correction because it's a
little greenish.
m560x_1280x1024_15fps.patch :
- program the sensor for a 1280x1024 window
- set the clock at 48MHz and tweak register 0x1e to achieve image
stability at 15fps. Samsung says their sensor can achieve
[EMAIL PROTECTED], but I can't get a stable image at 60MHz clock.
m560x_640x480_31fps.patch :
- program the sensor for a 1280x960 window
- enable column skip x2 and row skip x2 (bits 0 and 3 of register 0x03
; there are also bits for horizontal/vertical flip, and col/row skip
x4).
- adjust clock and register 0x1e for stable 31fps image. I don't know exactly
what's the meaning of this register, maybe "hblank".
I
noticed the image becomes unstable when luminosity is too high, in this
case, reducing register 0x0f helps restoring stability.
Hope it helps...
greg
_____________________________________________________________________________
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
livecam.patch
Description: Binary data
m560x_1280x1024_15fps.patch
Description: Binary data
m560x_640x480_31fps.patch
Description: Binary data
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ M560x-driver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
