[Sumover-dev] [svn commit] r4191 - vic/branches/cc/video

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Fri Jun 27 01:48:33 BST 2008


Author: soohyunc
Date: Fri Jun 27 01:48:32 2008
New Revision: 4191

Modified:
   vic/branches/cc/video/grabber-still.cpp

Log:
changed wrong comment to right one - the number of bytes for the transmiting 
frame size should be said "3 * framesize_ / 2"
	o  3: YCbCr
	o  2: decimate_


Modified: vic/branches/cc/video/grabber-still.cpp
==============================================================================
--- vic/branches/cc/video/grabber-still.cpp	(original)
+++ vic/branches/cc/video/grabber-still.cpp	Fri Jun 27 01:48:32 2008
@@ -315,7 +315,7 @@
 void StillYuvGrabber::setsize()
 {
 #ifdef DEBUG
-	debug_msg("StillGrabber::setsize()\n");
+	debug_msg("StillYuvGrabber::setsize()\n");
 #endif
 
 	if(running_)
@@ -338,7 +338,7 @@
     int frc=0; //SV-XXX: gcc4 warns for initialisation
 
 	// "framesize_" is just the number of pixels, 
-	// so the number of bytes becomes "3 * 2 * framesize_"
+	// so the number of bytes becomes "3 * framesize_ / 2"
 	memcpy (frame_, still_device.frame_ + num_frame_, 
 			framesize_ + (framesize_ >> 1));
 



More information about the Sumover-dev mailing list