Fix interpolators lens#20891
Conversation
1. make sure the passthrough demosaicers work identical and simplify passthrough color CPU mode. 2. removed "clip_and_zoom" OpenCL kernel as it's not used. 3. use clamp in many cases instead of range checks. 4. more use of readpixel(), readsingle() and readalpha variants in OpenCL code. 5. use the Areadpixel/single() variants where checking for valid coordinates is done in caller. 6. A few more simplifications and formatting
While correcting for lens distortion, vignette and cfa correction we should not restrict output data to be at least zero, as we can have have valid negative input while correcting. Made sure that masks are restricted to 0->1 whenever we use interpolate sample.
I'll add the option --disable-timing. I think we want to keep the 0000-nop test as it measures the default module and so the pixel pipes. |
For a this could be fixed in the interpolator, no? I'm not sure in the "valid negatives" in this context. Can you give more details? TIA. |
|
Option |
|
@TurboGit i will do a pr about the interpolating stuff so we can discuss and test. |
@TurboGit