SSE functions fallback to plain codepath if coord buffer
is not aligned, or if there is any leftovers after processing
all the aligned pixels.

But if we use even image dimensions, those branches are not tested...
---
 tests/test_modifier_coord_distortion.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_modifier_coord_distortion.cpp 
b/tests/test_modifier_coord_distortion.cpp
index 413b9b1..5ab942e 100644
--- a/tests/test_modifier_coord_distortion.cpp
+++ b/tests/test_modifier_coord_distortion.cpp
@@ -48,8 +48,8 @@ void mod_setup(lfFixture *lfFix, gconstpointer data)
 
   lfFix->lens->AddCalibDistortion(&p->calib);
 
-  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