[GRASS-SVN] r43935 - grass/trunk/imagery/i.rectify
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Oct 16 11:23:47 EDT 2010
Author: mmetz
Date: 2010-10-16 08:23:47 -0700 (Sat, 16 Oct 2010)
New Revision: 43935
Modified:
grass/trunk/imagery/i.rectify/bilinear_f.c
grass/trunk/imagery/i.rectify/cubic_f.c
Log:
fix fallback methods
Modified: grass/trunk/imagery/i.rectify/bilinear_f.c
===================================================================
--- grass/trunk/imagery/i.rectify/bilinear_f.c 2010-10-16 14:04:55 UTC (rev 43934)
+++ grass/trunk/imagery/i.rectify/bilinear_f.c 2010-10-16 15:23:47 UTC (rev 43935)
@@ -42,7 +42,7 @@
return;
}
- p_bilinear(ibuffer, obufptr, cell_type, col_idx, row_idx, cellhd);
+ p_bilinear(ibuffer, obufptr, cell_type, row_idx, col_idx, cellhd);
/* fallback to nearest if bilinear is null */
if (Rast_is_d_null_value(obufptr))
Rast_set_d_value(obufptr, *cellp, cell_type);
Modified: grass/trunk/imagery/i.rectify/cubic_f.c
===================================================================
--- grass/trunk/imagery/i.rectify/cubic_f.c 2010-10-16 14:04:55 UTC (rev 43934)
+++ grass/trunk/imagery/i.rectify/cubic_f.c 2010-10-16 15:23:47 UTC (rev 43935)
@@ -43,10 +43,10 @@
return;
}
- p_cubic(ibuffer, obufptr, cell_type, col_idx, row_idx, cellhd);
+ p_cubic(ibuffer, obufptr, cell_type, row_idx, col_idx, cellhd);
/* fallback to bilinear if cubic is null */
if (Rast_is_d_null_value(obufptr)) {
- p_bilinear(ibuffer, obufptr, cell_type, col_idx, row_idx, cellhd);
+ p_bilinear(ibuffer, obufptr, cell_type, row_idx, col_idx, cellhd);
/* fallback to nearest if bilinear is null */
if (Rast_is_d_null_value(obufptr))
Rast_set_d_value(obufptr, *cellp, cell_type);
More information about the grass-commit
mailing list