should not use lsvc

pull/32112/head
Comma Device 1 year ago
parent 95a36c7d20
commit 8bce1545e7
  1. 2
      system/camerad/cameras/real_debayer.cl

@ -133,7 +133,7 @@ float combine_pvs(float lv, float sv, int expo) {
if (lv > 64) { if (lv > 64) {
return llv / (65536.0 - 64.0); return llv / (65536.0 - 64.0);
} else { } else {
return (lsvc / 64) / (65536.0 - 64.0); return (lsv * expo / 64) / (65536.0 - 64.0);
} }
} }
} }

Loading…
Cancel
Save