    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,
    0x740, 0x880, 0xC00, 0xF80};
  
  const int ANALOG_GAIN_MIN_IDX_AR0231 = 0x1; // 0.25x
  const int ANALOG_GAIN_REC_IDX_AR0231 = 0x6; // 0.8x
  const int ANALOG_GAIN_MAX_IDX_AR0231 = 0xD; // 4.0x
  
 
</s> remove   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};
 </s> add   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}; </s> remove // similar gain curve to AR
 </s> add  </s> remove const int DC_GAIN_MIN_WEIGHT = 0;
 </s> add const int DC_GAIN_MIN_WEIGHT_AR0231 = 0;
  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};
    3.125, 3.625, 4.5, 5.0,
    7.25, 8.5, 12.0, 15.5};
  
  const uint32_t ox03c10_analog_gains_reg[] = {
  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};
  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};
  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};
  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};
  
  const int ANALOG_GAIN_MIN_IDX_AR0231 = 0x1; // 0.25x
  const int ANALOG_GAIN_REC_IDX_AR0231 = 0x6; // 0.8x
  const int ANALOG_GAIN_MAX_IDX_AR0231 = 0xD; // 4.0x
  
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