My investigative work so far.
Old settings vs New

mini_iso vs old settings vs new

With the new settings, I've brought the WL back to 15281 and cleaned the histogram further. However, a close look at the histogram suggests there is probably still some room for (slight) improvement.
@a1ex: Notice the Digital Gain default changes. I have no idea what causes this. I've tried retracing my steps but can't narrow it down.
@all: No sample images as yet, but my last
samples showed that the old settings vs simple ADTG gain adjustment delivered an improvement in image quality.
Digital Gain shifts the entire exposure. This appears to be digital as it has a large impact on the histogram. Try adjusting this one first.
Black/White Offset and Saturate Offset are closely aligned. Adjust either one by N steps and you can adjust the other one by the same N step (in the opposite direction) to bring the histogram back to original. Here, you can use the BW offset to compensate for digital gain reduction (bring the WL back) and Saturate offset to adjust the black mean.
So for instance, you can adjust the WL higher then 15281 with BW offset (up to 16383), and use Saturate offset to bring the black mean back to 2048. Note: I have tried this and didn't see any improvement (slight negative effect actually), but I've been looking at optical black histograms and adjusting registers for the last 5 days or so, so YMMV.
After I adjust all these, I reduce the ADTG gain to the
sweet spot.
I haven't been able to find a pattern to black reference, but I also haven't spent much time with it. This requires further investigation.
The effect of my new settings on all ISOs. Note that stdev can vary from shot to shot.


