List Info

Thread: compress/util/conversion RGBtoUYVY.cpp, 1.3, 1.4 YUV420toYUV422.cpp, 1.1, 1.2 YUV422




compress/util/conversion RGBtoUYVY.cpp, 1.3, 1.4 YUV420toYUV422.cpp, 1.1, 1.2 YUV422
user name
2008-05-26 20:29:58
Update of /cvsroot/dirac/compress/util/conversion
In directory
sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv3029/util/conversi
on

Modified Files:
	RGBtoUYVY.cpp YUV420toYUV422.cpp YUV422toUYVY.cpp 
Log Message:
Cosmetic changes. Replace tabs with spaces, replace
DOS-style line endings
with UNIX-style line endings, etc.


Index: YUV420toYUV422.cpp
============================================================
=======
RCS file:
/cvsroot/dirac/compress/util/conversion/YUV420toYUV422.cpp,v

retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** YUV420toYUV422.cpp	4 Feb 2008 13:43:02 -0000	1.1
--- YUV420toYUV422.cpp	27 May 2008 01:29:55 -0000	1.2
***************
*** 164,168 ****
                                               
UBufferIn[(height2-1)*width2+x]+4)>>3;
              
! 	    VBufferOut[(height-4)*width2+x] =
VBufferIn[(height2-2)*width2+x];
              VBufferOut[(height-3)*width2+x] =
(VBufferIn[(height2-3)*width2+x]+
                                               
3*VBufferIn[(height2-2)*width2+x]+
--- 164,168 ----
                                               
UBufferIn[(height2-1)*width2+x]+4)>>3;
              
!             VBufferOut[(height-4)*width2+x] =
VBufferIn[(height2-2)*width2+x];
              VBufferOut[(height-3)*width2+x] =
(VBufferIn[(height2-3)*width2+x]+
                                               
3*VBufferIn[(height2-2)*width2+x]+

Index: RGBtoUYVY.cpp
============================================================
=======
RCS file:
/cvsroot/dirac/compress/util/conversion/RGBtoUYVY.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** RGBtoUYVY.cpp	30 Jun 2004 16:44:51 -0000	1.3
--- RGBtoUYVY.cpp	27 May 2008 01:29:55 -0000	1.4
***************
*** 137,141 ****
                  V = ((112*R -  94*G -  18*B +
128)>>8)+128;
  
! 		//Copy YUV to line buffers prior to filtering
                  YLine[pixel] = Y;
                  ULine[pixel] = U;
--- 137,141 ----
                  V = ((112*R -  94*G -  18*B +
128)>>8)+128;
  
!                 //Copy YUV to line buffers prior to
filtering
                  YLine[pixel] = Y;
                  ULine[pixel] = U;

Index: YUV422toUYVY.cpp
============================================================
=======
RCS file:
/cvsroot/dirac/compress/util/conversion/YUV422toUYVY.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** YUV422toUYVY.cpp	4 Feb 2008 13:43:02 -0000	1.1
--- YUV422toUYVY.cpp	27 May 2008 01:29:56 -0000	1.2
***************
*** 126,135 ****
  
          // Write into a single buffer
! 	int YUVpos = 0;
          for (int uvpos=0,ypos=0; uvpos<UVBufferSize; )
{
              YUVBuffer[YUVpos++] = UBuffer[uvpos];
! 	    YUVBuffer[YUVpos++] = YBuffer[ypos++];
! 	    YUVBuffer[YUVpos++] = VBuffer[uvpos++];
! 	    YUVBuffer[YUVpos++]=YBuffer[ypos++];
          }
  
--- 126,135 ----
  
          // Write into a single buffer
!         int YUVpos = 0;
          for (int uvpos=0,ypos=0; uvpos<UVBufferSize; )
{
              YUVBuffer[YUVpos++] = UBuffer[uvpos];
!         YUVBuffer[YUVpos++] = YBuffer[ypos++];
!         YUVBuffer[YUVpos++] = VBuffer[uvpos++];
!         YUVBuffer[YUVpos++]=YBuffer[ypos++];
          }
  


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dirac-commits mailing list
Dirac-commitslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dirac-com
mits

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )