    7.0/2.0, 8.0/2.0, 8.0/1.0};         // 12, 13, 14, 15 = bypass
  
  // similar gain curve to AR
  const float sensor_analog_gains_OX03C10[] = {
    1.0, 1.25, 1.3125, 1.5625,
    1.6875, 2.0, 2.25, 2.625,
    3.125, 3.625, 4.5, 5.0,
    7.25, 8.5, 12.0, 15.5};
  
  const uint32_t ox03c10_analog_gains_reg[] = {
    0x100, 0x140, 0x150, 0x190,
    0x1B0, 0x200, 0x240, 0x2A0,
    0x320, 0x3A0, 0x480, 0x500,
 
</s> remove // similar gain curve to AR
 </s> add  </s> remove   0x100, 0x140, 0x150, 0x190,
  0x1B0, 0x200, 0x240, 0x2A0,
  0x320, 0x3A0, 0x480, 0x500,
  0x740, 0x880, 0xC00, 0xF80};
 </s> add   0x100, 0x120, 0x140, 0x150, 0x190,
  0x1B0, 0x200, 0x240, 0x2A0, 0x320,
  0x3A0, 0x400, 0x480, 0x500, 0x580,
  0x600, 0x680, 0x700, 0x780, 0x800,
  0x880, 0x900, 0x980, 0xA00, 0xA80,
  0xB00, 0xB80, 0xC00, 0xC80, 0xD00,
  0xD80, 0xE00, 0xE80, 0xF00, 0xF80}; </s> remove   {0x354a, 0x04}, {0x354b, 0x00}, {0x354c, 0x00}, // spd digital gain
 </s> add   {0x354a, 0x01}, {0x354b, 0x00}, {0x354c, 0x00}, // spd digital gain </s> remove   {0x358a, 0x04}, {0x358b, 0x00}, {0x358c, 0x00}, // lcg digital gain
 </s> add   {0x358a, 0x01}, {0x358b, 0x00}, {0x358c, 0x00}, // lcg digital gain
  1.0, 1.125, 1.25, 1.3125, 1.5625,
  1.6875, 2.0, 2.25, 2.625, 3.125,
  3.625, 4.0, 4.5, 5.0, 5.5,
  6.0, 6.5, 7.0, 7.5, 8.0,
  8.5, 9.0, 9.5, 10.0, 10.5,
  11.0, 11.5, 12.0, 12.5, 13.0,
  13.5, 14.0, 14.5, 15.0, 15.5};
    7.0/2.0, 8.0/2.0, 8.0/1.0};         // 12, 13, 14, 15 = bypass
  
  // similar gain curve to AR
  const float sensor_analog_gains_OX03C10[] = {
  1.0, 1.125, 1.25, 1.3125, 1.5625,
  1.6875, 2.0, 2.25, 2.625, 3.125,
  3.625, 4.0, 4.5, 5.0, 5.5,
  6.0, 6.5, 7.0, 7.5, 8.0,
  8.5, 9.0, 9.5, 10.0, 10.5,
  11.0, 11.5, 12.0, 12.5, 13.0,
  13.5, 14.0, 14.5, 15.0, 15.5};
  1.0, 1.125, 1.25, 1.3125, 1.5625,
  1.6875, 2.0, 2.25, 2.625, 3.125,
  3.625, 4.0, 4.5, 5.0, 5.5,
  6.0, 6.5, 7.0, 7.5, 8.0,
  8.5, 9.0, 9.5, 10.0, 10.5,
  11.0, 11.5, 12.0, 12.5, 13.0,
  13.5, 14.0, 14.5, 15.0, 15.5};
  1.0, 1.125, 1.25, 1.3125, 1.5625,
  1.6875, 2.0, 2.25, 2.625, 3.125,
  3.625, 4.0, 4.5, 5.0, 5.5,
  6.0, 6.5, 7.0, 7.5, 8.0,
  8.5, 9.0, 9.5, 10.0, 10.5,
  11.0, 11.5, 12.0, 12.5, 13.0,
  13.5, 14.0, 14.5, 15.0, 15.5};
  1.0, 1.125, 1.25, 1.3125, 1.5625,
  1.6875, 2.0, 2.25, 2.625, 3.125,
  3.625, 4.0, 4.5, 5.0, 5.5,
  6.0, 6.5, 7.0, 7.5, 8.0,
  8.5, 9.0, 9.5, 10.0, 10.5,
  11.0, 11.5, 12.0, 12.5, 13.0,
  13.5, 14.0, 14.5, 15.0, 15.5};
  
  const uint32_t ox03c10_analog_gains_reg[] = {
    0x100, 0x140, 0x150, 0x190,
    0x1B0, 0x200, 0x240, 0x2A0,
    0x320, 0x3A0, 0x480, 0x500,
keep keep keep keep replace replace replace replace keep keep keep keep keep
 better OX03C10 settings (#25796)

* ev has different scales

* fix initial gradient

* fix highlight weirdness

* try smooth set of gains

* delay

* add gain idx

* oops

* set different min dc

Co-authored-by: Comma Device <device@comma.ai> 
system/camerad/cameras/camera_qcom2.cc