|
@@ -43,10 +43,10 @@ void p_cubic_f(struct cache *ibuffer, /* input buffer */
|
|
|
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);
|