Revision: 56690
          http://sourceforge.net/p/brlcad/code/56690
Author:   carlmoore
Date:     2013-08-08 16:20:42 +0000 (Thu, 08 Aug 2013)
Log Message:
-----------
presumably, 'binterp' and 'ninterp' are correct spellings -??

Modified Paths:
--------------
    brlcad/trunk/src/libicv/decimate.c

Modified: brlcad/trunk/src/libicv/decimate.c
===================================================================
--- brlcad/trunk/src/libicv/decimate.c  2013-08-08 16:06:11 UTC (rev 56689)
+++ brlcad/trunk/src/libicv/decimate.c  2013-08-08 16:20:42 UTC (rev 56690)
@@ -37,7 +37,7 @@
     size_t widthstep =  bif->width*bif->channels;
 
     if (UNLIKELY(factor == 0)) {
-        bu_log("shrink_image : Cannot shrink image to 0 factor, factor should 
be non zero Unisgned Integer");
+        bu_log("shrink_image : Cannot shrink image to 0 factor, factor should 
be non zero Unsigned Integer");
         return -1;
     }
 
@@ -79,7 +79,7 @@
     int x, y, widthstep;
 
     if (UNLIKELY(factor == 0)) {
-        bu_log("under_sample : Cannot shrink image to 0 factor, factor should 
be non zero Unisgned Integer");
+        bu_log("under_sample : Cannot shrink image to 0 factor, factor should 
be non zero Unsigned Integer");
         return -1;
     }
 
@@ -115,7 +115,7 @@
         return -1;
     }
 
-    out_p = out_data = 
bu_malloc(out_width*out_height*bif->channels*sizeof(double), "intrep : 
out_data");
+    out_p = out_data = 
bu_malloc(out_width*out_height*bif->channels*sizeof(double), "ninterp : 
out_data");
 
     widthstep= bif->width*bif->channels;
 
@@ -133,7 +133,7 @@
        }
     }
 
-    bu_free(bif->data, "intrep : in_data");
+    bu_free(bif->data, "ninterp : in_data");
 
     bif->data = out_data;
 
@@ -158,7 +158,7 @@
     ystep = (double) (bif->height -1) / (double)out_height - 1.0e-6;
 
     if ((xstep < 1.0 && ystep > 1.0) || (xstep > 1.0 && ystep < 1.0)) {
-        bu_log("bintrep: Can't stretch one way and compress another\n");
+        bu_log("binterp: Can't stretch one way and compress another\n");
         return -1;
     }
 
@@ -191,7 +191,7 @@
            }
        }
     }
-    bu_free(bif->data, "binterep : Input Data");
+    bu_free(bif->data, "binterp : Input Data");
     bif->data = out_data;
     bif->width = out_width;
     bif->height = out_height;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to