camera: fix ov5642 driver white balance(auto) may be error after capture frequently

This commit is contained in:
ddl
2011-05-20 18:19:45 +08:00
parent c4dae92093
commit c8f8113dc4

View File

@@ -2483,8 +2483,8 @@ static struct reginfo sensor_svga[] =
{0x3827,0x08},
{0x3a00,0x78},
{ 0x3011, 0x08 },
{ 0x3c01, 0x80 },
{ 0x3c00, 0x00 },
{ 0x3c01, 0x00 },
{ 0x3c00, 0x00 },
{0x3a08,0x09},
{0x3a09,0x60},
{0x3a0a,0x07},
@@ -2695,10 +2695,24 @@ static struct reginfo sensor_ClrFmt_UYVY[]=
#if CONFIG_SENSOR_WhiteBalance
static struct reginfo sensor_WhiteB_Auto[]=
{
{0x3406,0x00},
{0x5183,0x80},
{0x5191,0xff},
{0x5192,0x00},
{0x3406 ,0x0 },
{0x5192 ,0x04},
{0x5191 ,0xf8},
{0x518d ,0x26},
{0x518f ,0x42},
{0x518e ,0x2b},
{0x5190 ,0x42},
{0x518b ,0xd0},
{0x518c ,0xbd},
{0x5187 ,0x18},
{0x5188 ,0x18},
{0x5189 ,0x56},
{0x518a ,0x5c},
{0x5186 ,0x1c},
{0x5181 ,0x50},
{0x5184 ,0x20},
{0x5182 ,0x11},
{0x5183 ,0x0 },
{0x0000,0x00}
};
/* Cloudy Colour Temperature : 6500K - 8000K */