[Gridflow-cvs] [svn] commit: r5851 - /trunk/src/colorspace.hxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Thu Jul 29 20:18:51 EDT 2010


Author: matju
Date: Thu Jul 29 20:18:51 2010
New Revision: 5851

Log:
obsolete comment

Modified:
    trunk/src/colorspace.hxx

Modified: trunk/src/colorspace.hxx
==============================================================================
--- trunk/src/colorspace.hxx (original)
+++ trunk/src/colorspace.hxx Thu Jul 29 20:18:51 2010
@@ -39,7 +39,6 @@
 #define GETYUYV(x) do {Y1=bufy[(x)+0]; U=bufy[(x)+1]; Y2=bufy[(x)+2]; V=bufy[(x)+3];} while (0)
 
 // these convert from full-range RGB to full-range YUV
-// macros for reduced-range YUV would be needed in order to really support the 'magic' colorspace everywhere.
 #define RGB2Y(R,G,B)  fastclip(    ((  76*R + 150*G +  29*B +128)>>8))
 #define RGB2U(R,G,B)  fastclip(128+((- 44*R -  85*G + 108*B +128)>>8))
 #define RGB2V(R,G,B)  fastclip(128+(( 128*R - 108*G -  21*B +128)>>8))



More information about the Gridflow-cvs mailing list