[xiph-commits] r12477 - trunk/sushivision

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Thu Feb 15 15:44:45 PST 2007


Author: xiphmont
Date: 2007-02-15 15:44:43 -0800 (Thu, 15 Feb 2007)
New Revision: 12477

Modified:
   trunk/sushivision/panel-1d.c
Log:
Over/undersample for 1-d panels



Modified: trunk/sushivision/panel-1d.c
===================================================================
--- trunk/sushivision/panel-1d.c	2007-02-15 23:38:28 UTC (rev 12476)
+++ trunk/sushivision/panel-1d.c	2007-02-15 23:44:43 UTC (rev 12477)
@@ -600,7 +600,7 @@
       dw = _sushiv_dimension_scales(p1->x_d, 
 				    p1->x_d->bracket[1],
 				    p1->x_d->bracket[0],
-				    h,dw,
+				    h,dw * p->private->oversample_n / p->private->oversample_d,
 				    plot->scalespacing,
 				    p1->x_d->name,
 				    &p1->x,
@@ -617,7 +617,7 @@
       dw = _sushiv_dimension_scales(p1->x_d, 
 				    p1->x_d->bracket[0],
 				    p1->x_d->bracket[1],
-				    w,dw,
+				    w,dw * p->private->oversample_n / p->private->oversample_d,
 				    plot->scalespacing,
 				    p1->x_d->name,
 				    &p1->x,



More information about the commits mailing list