  const int DC_GAIN_MIN_WEIGHT_OX03C10 = 16;
  const int DC_GAIN_MAX_WEIGHT_OX03C10 = 32;
  
  const float sensor_analog_gains_AR0231[] = {
    1.0/8.0, 2.0/8.0, 2.0/7.0, 3.0/7.0, // 0, 1, 2, 3
    3.0/6.0, 4.0/6.0, 4.0/5.0, 5.0/5.0, // 4, 5, 6, 7
    5.0/4.0, 6.0/4.0, 6.0/3.0, 7.0/3.0, // 8, 9, 10, 11
 
</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; </s> remove const float DC_GAIN_ON_GREY_OX03C10= 0.3;
const float DC_GAIN_OFF_GREY_OX03C10 = 0.375;
 </s> add const float DC_GAIN_ON_GREY_OX03C10= 0.25;
const float DC_GAIN_OFF_GREY_OX03C10 = 0.35; </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};
const float TARGET_GREY_FACTOR_AR0231 = 1.0;
const float TARGET_GREY_FACTOR_OX03C10 = 0.02;

  const int DC_GAIN_MIN_WEIGHT_OX03C10 = 16;
  const int DC_GAIN_MAX_WEIGHT_OX03C10 = 32;
  
const float TARGET_GREY_FACTOR_AR0231 = 1.0;
const float TARGET_GREY_FACTOR_OX03C10 = 0.02;

  const float sensor_analog_gains_AR0231[] = {
    1.0/8.0, 2.0/8.0, 2.0/7.0, 3.0/7.0, // 0, 1, 2, 3
    3.0/6.0, 4.0/6.0, 4.0/5.0, 5.0/5.0, // 4, 5, 6, 7
    5.0/4.0, 6.0/4.0, 6.0/3.0, 7.0/3.0, // 8, 9, 10, 11
keep keep add 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