]> git.pld-linux.org Git - packages/ffmpeg.git/commitdiff
- restore original transpose4x4 prototype for gcc < 4.
authorPaweł Sikora <pluto@pld-linux.org>
Mon, 30 Jan 2006 02:17:45 +0000 (02:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ffmpeg-gcc4.patch -> 1.4

ffmpeg-gcc4.patch

index 303a632ef17ff2a64563229a67667589b35cb4f1..89997d983bb9db3221b294eeb645f671bbe1cf1c 100644 (file)
@@ -8,7 +8,7 @@
  #include "../dsputil.h"
  #include "../simple_idct.h"
  #include "../mpegvideo.h"
-@@ -617,7 +618,23 @@
+@@ -617,7 +618,22 @@
      );
  }
  
 +    *((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))
      );
This page took 0.186378 seconds and 4 git commands to generate.