E.g. ModifyColor_DeVignetting_PA_SSE2() for lf_u16, after
processing all the pixels it can via SSE, fallbacks to
plain ModifyColor_DeVignetting_PA() to process the rest.

But if we use even image dimensions, this branch is not tested...
---
 tests/test_modifier_color.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_modifier_color.cpp b/tests/test_modifier_color.cpp
index 6327232..31fce58 100644
--- a/tests/test_modifier_color.cpp
+++ b/tests/test_modifier_color.cpp
@@ -104,8 +104,8 @@ void mod_setup(lfFixture *lfFix, gconstpointer data)
   lfLensCalibVignetting lensCalibVign = {LF_VIGNETTING_MODEL_PA, 24.0f, 2.8f, 
1000.0f, { -0.5334f, -0.7926f, 0.5243f}};
   lfFix->lens->AddCalibVignetting(&lensCalibVign);
 
-  lfFix->img_height = 300;
-  lfFix->img_width  = 300;
+  lfFix->img_height = 299;
+  lfFix->img_width  = 299;
 
   lfFix->mod = new lfModifier(lfFix->lens, 1.0f, lfFix->img_width, 
lfFix->img_height);
 
-- 
2.8.1


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Lensfun-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lensfun-users

Reply via email to