Make IBA::over() support only float buffers -- faster compilation and simpler source.
But internally, there is still a type-specialized template supplying the guts of the algorithm, so in the future, we could expose it if there's demand, or of course anybody may copy that template to their app if they are allergic to float ImageBuf's. I'm aware that Jeremy thinks we shouldn't do the template at all, but I think I like it better this way, it will pay off many times over if anybody ever really wishes the functions worked on other buffer types for some application, all they would have to do is copy the template to their app. I will eventually scrub the rest of ImageBufAlgo to make the rest of the functions conform to this idiom. But there's no particular rush, I'll get to it when I have some free time. You can merge this Pull Request by running: git pull https://github.com/lgritz/oiio lg-float1 Or you can view, comment on it, or merge it online at: https://github.com/OpenImageIO/oiio/pull/391 -- Commit Summary -- * Make IBA::over() support only float buffers -- faster compilation and simpler source. -- File Changes -- M src/include/imagebufalgo.h (3) M src/libOpenImageIO/imagebufalgo.cpp (82) -- Patch Links -- https://github.com/OpenImageIO/oiio/pull/391.patch https://github.com/OpenImageIO/oiio/pull/391.diff --- Reply to this email directly or view it on GitHub: https://github.com/OpenImageIO/oiio/pull/391 _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
