[Mplayer-cvslog] CVS: main/libvo yuv2rgb_mmx.c,1.2,1.3

Felix Buenemann atmosfear at users.sourceforge.net
Mon Jun 11 18:13:32 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory usw-pr-cvs1:/tmp/cvs-serv15504/libvo

Modified Files:
	yuv2rgb_mmx.c 
Log Message:
Should fix prob for gcc 2.96/3.0 users, please test.


Index: yuv2rgb_mmx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/yuv2rgb_mmx.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** yuv2rgb_mmx.c	2001/05/02 14:59:33	1.2
--- yuv2rgb_mmx.c	2001/06/11 16:13:30	1.3
***************
*** 143,154 ****
  
  		     /* Limit RGB even to 0..255 */
! 		     "packuswb %%mm0, %%mm0 # B6 B4 B2 B0 | B6 B4 B2 B0\n\t"
! 		     "packuswb %%mm1, %%mm1 # R6 R4 R2 R0 | R6 R4 R2 R0\n\t"
! 		     "packuswb %%mm2, %%mm2 # G6 G4 G2 G0 | G6 G4 G2 G0\n\t"
  
  		     /* Limit RGB odd to 0..255 */
! 		     "packuswb %%mm3, %%mm3 # B7 B5 B3 B1 | B7 B5 B3 B1\n\t"
! 		     "packuswb %%mm4, %%mm4 # R7 R5 R3 R1 | R7 R5 R3 R1\n\t"
! 		     "packuswb %%mm5, %%mm5 # G7 G5 G3 G1 | G7 G5 G3 G1\n\t"
  
  		     /* Interleave RGB even and odd */
--- 143,154 ----
  
  		     /* Limit RGB even to 0..255 */
! 		     "packuswb %%mm0, %%mm0 # B6 B4 B2 B0  B6 B4 B2 B0\n\t"
! 		     "packuswb %%mm1, %%mm1 # R6 R4 R2 R0  R6 R4 R2 R0\n\t"
! 		     "packuswb %%mm2, %%mm2 # G6 G4 G2 G0  G6 G4 G2 G0\n\t"
  
  		     /* Limit RGB odd to 0..255 */
! 		     "packuswb %%mm3, %%mm3 # B7 B5 B3 B1  B7 B5 B3 B1\n\t"
! 		     "packuswb %%mm4, %%mm4 # R7 R5 R3 R1  R7 R5 R3 R1\n\t"
! 		     "packuswb %%mm5, %%mm5 # G7 G5 G3 G1  G7 G5 G3 G1\n\t"
  
  		     /* Interleave RGB even and odd */


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list