Dear Johannes,
Am 17.02.2017 um 09:44 schrieb johannes hanika:
a few modules have similar requirements. you can have a look for
instance in the ashift.c module, where it says:
// only for preview pipe: collect input buffer data and do some other
evaluations
if(self->dev->gui_attached && g && piece->pipe->type ==
DT_DEV_PIXELPIPE_PREVIEW)
{
there is a 2nd pipeline, the preview pipe, which runs on the full
image but downscaled resolution (it's what you see when you pan the
image zoomed in in darkroom mode).
thanks for your hint. I also had a look at other modules and found that
the globaltonemap module does in the case of the Drago algorithm a very
similar kind of calculation as I have to implement. This will serve as
a useful guideline.
Cheers,
Heiko
--
-- Number Crunch Blog @ https://www.numbercrunch.de
-- Cluster Computing @ http://www.clustercomputing.de
-- Professional @ https://www.mpi-hd.mpg.de/personalhomes/bauke
-- Social Networking @ https://www.researchgate.net/profile/Heiko_Bauke
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to [email protected]