Add new comment

Only decode specific area.

Hi. Great library.
I wish to decode only part or parts of the image, kind of as what happens in the 'half size' mode. If not, i can demosaic myself and for that i need to acces the bayer data in parts. How do i do that?
The reason is
(1) that i often only want one part of the image processed.
(2) i want to speed it up by multithreading, as i cant use openmp (using clang). I could just cut the image in quadrants and process them to have a 4x speedup.

Tim

Forums: