highlight blending && reconstruction - applied on bayer data or RGB?

Hi,

in LibRaw, is highlight reconstruction applied on bayer data or on data after RGB conversion? Is there some specific order of operation?

Forums: 

LibRaw's dcraw_process()

LibRaw's dcraw_process() call is mostly identical to dcraw's processing.
Highlight recovery is applied after white balance and demosaic

-- Alex Tutubalin @LibRaw LLC

Thanks :)

Thanks :)