[Gridflow-cvs] [svn] commit: r5601 - /trunk/src/dc1394.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Wed May 5 20:34:01 EDT 2010


Author: matju
Date: Wed May  5 20:34:00 2010
New Revision: 5601

Log:
P<Dim> Dim

Modified:
    trunk/src/dc1394.cxx

Modified: trunk/src/dc1394.cxx
==============================================================================
--- trunk/src/dc1394.cxx (original)
+++ trunk/src/dc1394.cxx Wed May  5 20:34:00 2010
@@ -268,9 +268,9 @@
 	//signal(SIGALRM,rien);
 	if (dc1394_single_capture(rh,&camera)!=DC1394_SUCCESS) RAISE("dc1394_single_capture error");
 	//setitimer(ITIMER_REAL,0,0);
-	out=new GridOutlet(this,0,new Dim(height,width,1));
-	//out->send(out->dim->prod(),(uint8 *)camera.capture_buffer);
-	for (int i=0; i<height; i++) out->send(out->dim->prod(1),(uint8 *)camera.capture_buffer+640*i);
+	out=new GridOutlet(this,0,Dim(height,width,1));
+	//out->send(out->dim.prod(),(uint8 *)camera.capture_buffer);
+	for (int i=0; i<height; i++) out->send(out->dim.prod(1),(uint8 *)camera.capture_buffer+640*i);
 	//if (dc1394_stop_iso_transmission(rh,usenode)!=DC1394_SUCCESS) RAISE("dc1394_stop_iso_transmission error");
 	//post("frame_height=%d",camera.frame_height);
 	//post("frame_width=%d" ,camera.frame_width);



More information about the Gridflow-cvs mailing list