I think the issue with the mt9v112 has to do with the fact that that
sensor has an active window of only 640x480 pixels where as the sensor
on your camera has an active array of 1280x1024 pixels try mosifing
the register writes for regissters 1-4 to adjust the size of the
window inparticulare you can likely get rid of the black area by
modifiering registers 1 and 2 whcih are the x and y start postions for
your window registers 3 and 4 give it the wifth and height.



On Wed, Feb 4, 2009 at 3:46 PM, Korvin <[email protected]> wrote:
>
> Something strange is going here :\
> Here is init data from mt9v112:
>
> struct sn9c20x_i2c_regs mt9v112_init[] = {
>        {0x0d, 0x0021}, {0x0d, 0x0020}, {0xf0, 0x0000},
>        {0x34, 0xc019}, {0x0a, 0x0011}, {0x0b, 0x000b},
>
> //      {0x20, 0x0703}, {0x35, 0x2022}, {0xf0, 0x0001},
>   {0x20, 0x0700}, {0x35, 0x2022}, {0xf0, 0x0001},
>
>        {0x05, 0x0000}, {0x06, 0x340c}, {0x3b, 0x042a},
>        {0x3c, 0x0400}, {0xf0, 0x0002}, {0x2e, 0x0c58},
>        {0x5b, 0x0001}, {0xc8, 0x9f0b}, {0xf0, 0x0001},
>        {0x9b, 0x5300}, {0xf0, 0x0000}, {0x2b, 0x0020},
>        {0x2c, 0x002a}, {0x2d, 0x0032}, {0x2e, 0x0020},
>        {0x09, 0x01dc}, {0x01, 0x000c}, {0x02, 0x0020},
>   {0x03, 0x01e0}, {0x04, 0x0280}, {0x06, 0x000c},   // window 640x480
> //      {0x03, 0x0400}, {0x04, 0x0500}, {0x06, 0x000c},
>
>    {0x12, 0x0000},
>    {0x13, 0x0000},
>
> //      {0x05, 0x0098}, {0x20, 0x0703}, {0x09, 0x01f2},
>    {0x05, 0x0098}, {0x20, 0x0700}, {0x09, 0x01f2},
>
>        {0x2b, 0x00a0}, {0x2c, 0x00a0}, {0x2d, 0x00a0},
>        {0x2e, 0x00a0}, {0x01, 0x000c}, {0x02, 0x0020},
>        {0x03, 0x01e0}, {0x04, 0x0280}, {0x06, 0x000c},
>        {0x05, 0x0098}, {0x09, 0x01c1}, {0x2b, 0x00ae},
>        {0x2c, 0x00ae}, {0x2d, 0x00ae}, {0x2e, 0x00ae},
>        {0xff, 0xffff}
> };
>
> Picture looks like this:
> http://img27.imageshack.us/my.php?image=73297420os1.png
>
> Colors and rotation are now ok, but image is shifted and the picture is
> zoomed. This is top left of the actual image.
>
> picture using MT9M111 from the same position:
> http://img27.imageshack.us/my.php?image=38398136jr5.png
>
> Could anyone help me merge these two configs into one working? :)
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Lets make microdia webcams plug'n play, (currently plug'n pray)
To post to this group, send email to [email protected]
Visit us online https://groups.google.com/group/microdia
-~----------~----~----~----~------~----~------~--~---

Reply via email to