SOURCES: ffmpeg-gcc4.patch - speedup the 64-bit transpose4x4. for ...

pluto pluto at pld-linux.org
Wed Feb 1 00:43:25 CET 2006


Author: pluto                        Date: Tue Jan 31 23:43:25 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- speedup the 64-bit transpose4x4. for details see my post:
  http://mplayerhq.hu/pipermail/ffmpeg-devel/2006-January/006905.html

---- Files affected:
SOURCES:
   ffmpeg-gcc4.patch (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/ffmpeg-gcc4.patch
diff -u SOURCES/ffmpeg-gcc4.patch:1.5 SOURCES/ffmpeg-gcc4.patch:1.6
--- SOURCES/ffmpeg-gcc4.patch:1.5	Mon Jan 30 03:22:40 2006
+++ SOURCES/ffmpeg-gcc4.patch	Wed Feb  1 00:43:20 2006
@@ -12,8 +12,8 @@
      );
  }
  
-+#if (__GNUC__ >= 4)
-+static inline void transpose4x4(uint8_t *dst, uint8_t *src, int dst_stride, int src_stride){
++#if ((__GNUC__ >= 4) && (__GNUC_MINOR__ >= 1))
++static inline void transpose4x4(uint8_t *dst, uint8_t *src, long dst_stride, long src_stride) {
 +    __m64 row0 = _mm_cvtsi32_si64(*(unsigned*)(src + (0 * src_stride)));
 +    __m64 row1 = _mm_cvtsi32_si64(*(unsigned*)(src + (1 * src_stride)));
 +    __m64 row2 = _mm_cvtsi32_si64(*(unsigned*)(src + (2 * src_stride)));
================================================================

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



More information about the pld-cvs-commit mailing list