[xiph-commits] r12049 - trunk/sushivision
giles at svn.xiph.org
giles at svn.xiph.org
Mon Nov 6 16:11:27 PST 2006
Author: giles
Date: 2006-11-06 16:11:26 -0800 (Mon, 06 Nov 2006)
New Revision: 12049
Modified:
trunk/sushivision/example_fractal.c
Log:
Remove the (apparenlty) unnecessary callback and tweak the scale bounds
for a better display.
Modified: trunk/sushivision/example_fractal.c
===================================================================
--- trunk/sushivision/example_fractal.c 2006-11-06 23:30:24 UTC (rev 12048)
+++ trunk/sushivision/example_fractal.c 2006-11-07 00:11:26 UTC (rev 12049)
@@ -42,37 +42,25 @@
return 0.0;
}
-static int time_callback(sushiv_dimension_t *d){
-
-
- return 1; // indicate that default processing chain should continue
-}
-
-static int blocksize_callback(sushiv_dimension_t *d){
-
-
- return 1; // indicate that default processing chain should continue
-}
-
int sushiv_submain(int argc, char *argv[]){
s=sushiv_new_instance();
sushiv_new_dimension(s,0,"Re(c)",
- 5,(double []){-3,-1.5,0,1.5,3},
- time_callback,
+ 5,(double []){-2.25,-0.75,0,0.25,0.75},
+ NULL,
SUSHIV_X_RANGE|SUSHIV_Y_RANGE);
sushiv_new_dimension(s,1,"Im(c)",
- 5,(double []){-3,-1.5,0,1.5,3},
- time_callback,
+ 5,(double []){-2,-1,0,1,2},
+ NULL,
SUSHIV_X_RANGE|SUSHIV_Y_RANGE);
sushiv_new_dimension(s,2,"Re(z0)",
- 5,(double []){-3,-1.5,0,1.5,3},
+ 5,(double []){-2.25,-1,0,1,2.25},
NULL,
SUSHIV_X_RANGE|SUSHIV_Y_RANGE);
sushiv_new_dimension(s,3,"Im(z0)",
- 5,(double []){-3,-1.5,0,1.5,3},
+ 5,(double []){-2.25,-1,0,1,2.25},
NULL,
SUSHIV_X_RANGE|SUSHIV_Y_RANGE);
More information about the commits
mailing list