Add new comment

Histogram is built during

Histogram is built during postprocessing stage if auto-exposure is used.

Raw data are accessible after LibRaw::unpack() call, so histogram calculation is trivial single loop over all pixels.

-- Alex Tutubalin @LibRaw LLC