SOURCES: ffmpeg-gcc4.patch - restore original transpose4x4 prototy...

pluto pluto at pld-linux.org
Mon Jan 30 03:17:50 CET 2006


Author: pluto                        Date: Mon Jan 30 02:17:50 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- restore original transpose4x4 prototype for gcc < 4.

---- Files affected:
SOURCES:
   ffmpeg-gcc4.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/ffmpeg-gcc4.patch
diff -u SOURCES/ffmpeg-gcc4.patch:1.3 SOURCES/ffmpeg-gcc4.patch:1.4
--- SOURCES/ffmpeg-gcc4.patch:1.3	Mon Jan 30 03:12:34 2006
+++ SOURCES/ffmpeg-gcc4.patch	Mon Jan 30 03:17:45 2006
@@ -8,7 +8,7 @@
  #include "../dsputil.h"
  #include "../simple_idct.h"
  #include "../mpegvideo.h"
-@@ -617,7 +618,23 @@
+@@ -617,7 +618,22 @@
      );
  }
  
@@ -28,10 +28,9 @@
 +    *((unsigned*)(dst + (3 * dst_stride))) = _mm_cvtsi64_si32(_mm_unpackhi_pi32(row23, row23));
 +}
 +#else
-+static void transpose4x4(uint8_t *dst, uint8_t *src, int dst_stride, int src_stride){
+ static inline void transpose4x4(uint8_t *dst, uint8_t *src, int dst_stride, int src_stride){
      asm volatile( //FIXME could save 1 instruction if done as 8x4 ...
          "movd  %4, %%mm0                \n\t"
-         "movd  %5, %%mm1                \n\t"
 @@ -645,6 +662,7 @@
             "m" (*(uint32_t*)(src + 3*src_stride))
      );
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/ffmpeg-gcc4.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list