|
|
@ -1054,8 +1054,8 @@ static void set_camera_exposure(CameraState *s, float grey_frac) { |
|
|
|
struct i2c_random_wr_payload exp_reg_array[] = { |
|
|
|
struct i2c_random_wr_payload exp_reg_array[] = { |
|
|
|
{0x3366, AG}, // analog gain
|
|
|
|
{0x3366, AG}, // analog gain
|
|
|
|
{0x3362, (uint16_t)(s->dc_gain_enabled?0x1:0x0)}, // DC_GAIN
|
|
|
|
{0x3362, (uint16_t)(s->dc_gain_enabled?0x1:0x0)}, // DC_GAIN
|
|
|
|
{0x305A, 0x00D8}, // red gain
|
|
|
|
{0x305A, 0x0108}, // red gain
|
|
|
|
{0x3058, 0x011B}, // blue gain
|
|
|
|
{0x3058, 0x00FB}, // blue gain
|
|
|
|
{0x3056, 0x009A}, // g1 gain
|
|
|
|
{0x3056, 0x009A}, // g1 gain
|
|
|
|
{0x305C, 0x009A}, // g2 gain
|
|
|
|
{0x305C, 0x009A}, // g2 gain
|
|
|
|
{0x3012, (uint16_t)s->exposure_time}, // integ time
|
|
|
|
{0x3012, (uint16_t)s->exposure_time}, // integ time
|
|
|
|