Changeset 815

Show
Ignore:
Timestamp:
02/25/08 17:33:50 (6 months ago)
Author:
astrange
Message:

ffmpeg is fixed again, revert our patch changes. Also delete the old file.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Patches/ffmpeg.diff

    r814 r815  
    11Index: ffmpeg/libavcodec/i386/motion_est_mmx.c 
    22=================================================================== 
    3 --- ffmpeg/libavcodec/i386/motion_est_mmx.c     (revision 12218
     3--- ffmpeg/libavcodec/i386/motion_est_mmx.c     (revision 12223
    44+++ ffmpeg/libavcodec/i386/motion_est_mmx.c     (working copy) 
    55@@ -167,7 +167,7 @@ 
     
    4141Index: ffmpeg/libavcodec/i386/dsputil_h264_template_mmx.c 
    4242=================================================================== 
    43 --- ffmpeg/libavcodec/i386/dsputil_h264_template_mmx.c  (revision 12218
     43--- ffmpeg/libavcodec/i386/dsputil_h264_template_mmx.c  (revision 12223
    4444+++ ffmpeg/libavcodec/i386/dsputil_h264_template_mmx.c  (working copy) 
    4545@@ -192,8 +192,8 @@ 
     
    6565Index: ffmpeg/libavcodec/i386/dsputil_mmx.c 
    6666=================================================================== 
    67 --- ffmpeg/libavcodec/i386/dsputil_mmx.c        (revision 12218
     67--- ffmpeg/libavcodec/i386/dsputil_mmx.c        (revision 12223
    6868+++ ffmpeg/libavcodec/i386/dsputil_mmx.c        (working copy) 
    69 @@ -220,7 +220,6 @@ 
    70  /***********************************/ 
    71  /* standard MMX */ 
    72   
    73 -#ifdef CONFIG_ENCODERS 
    74  static void get_pixels_mmx(DCTELEM *block, const uint8_t *pixels, int line_size) 
    75  { 
    76      asm volatile( 
    77 @@ -277,7 +276,6 @@ 
    78          : "%"REG_a 
    79      ); 
    80  } 
    81 -#endif //CONFIG_ENCODERS 
    82   
    83  void put_pixels_clamped_mmx(const DCTELEM *block, uint8_t *pixels, int line_size) 
    84  { 
    85 @@ -544,7 +542,6 @@ 
    86          ); 
    87  } 
    88   
    89 -#ifdef CONFIG_ENCODERS 
    90  static int pix_sum16_mmx(uint8_t * pix, int line_size){ 
    91      const int h=16; 
    92      int sum; 
    93 @@ -582,7 +579,6 @@ 
    94   
    95          return sum; 
    96  } 
    97 -#endif //CONFIG_ENCODERS 
    98   
    99  static void add_bytes_mmx(uint8_t *dst, uint8_t *src, int w){ 
    100      long i=0; 
    101 @@ -800,7 +796,6 @@ 
    102      } 
    103  } 
    104   
    105 -#ifdef CONFIG_ENCODERS 
    106  static int pix_norm1_mmx(uint8_t *pix, int line_size) { 
    107      int tmp; 
    108    asm volatile ( 
    109 @@ -2018,11 +2013,9 @@ 
    110      return sum; 
    111  } 
    112   
    113 -#endif //CONFIG_ENCODERS 
    114 
     69@@ -772,7 +772,7 @@ 
     70  
    11571 #define QPEL_V_LOW(m3,m4,m5,m6, pw_20, pw_3, rnd, in0, in1, in2, in7, out, OP)\ 
    11672         "paddw " #m4 ", " #m3 "           \n\t" /* x1 */\ 
     
    12076         "movq "#in7", " #m3 "             \n\t" /* d */\ 
    12177         "movq "#in0", %%mm5               \n\t" /* D */\ 
    122 @@ -2034,7 +2027,7 @@ 
     78@@ -784,7 +784,7 @@ 
    12379         "paddw " #m5 ", %%mm6             \n\t" /* x2 */\ 
    12480         "paddw %%mm6, %%mm6               \n\t" /* 2x2 */\ 
     
    12985         "paddw %%mm4, %%mm5               \n\t" /* 20x1 - 6x2 + 3x3 - x4 */\ 
    13086         "psraw $5, %%mm5                  \n\t"\ 
    131 @@ -2068,10 +2061,10 @@ 
     87@@ -818,10 +818,10 @@ 
    13288         "paddw %%mm5, %%mm5               \n\t" /* 2b */\ 
    13389         "psubw %%mm5, %%mm6               \n\t" /* c - 2b */\ 
     
    14298         "paddw %6, %%mm6                  \n\t"\ 
    14399         "paddw %%mm6, %%mm0               \n\t" /* 20a - 6b + 3c - d */\ 
    144 @@ -2094,10 +2087,10 @@ 
     100@@ -844,10 +844,10 @@ 
    145101         "psrlq $24, %%mm6                 \n\t" /* IJKLM000 */\ 
    146102         "punpcklbw %%mm7, %%mm2           \n\t" /* 0F0G0H0I */\ 
     
    155111         "paddw %6, %%mm1                  \n\t"\ 
    156112         "paddw %%mm1, %%mm3               \n\t" /* 20a - 6b +3c - d */\ 
    157 @@ -2120,7 +2113,7 @@ 
     113@@ -870,7 +870,7 @@ 
    158114         "psubw %%mm5, %%mm0               \n\t" /* c - 2b */\ 
    159115         "movq %%mm3, %%mm5                \n\t" /* JKLMNOPQ */\ 
     
    164120         "paddw %%mm3, %%mm2               \n\t" /* d */\ 
    165121         "psubw %%mm2, %%mm0               \n\t" /* -6b + 3c - d */\ 
    166 @@ -2128,7 +2121,7 @@ 
     122@@ -878,7 +878,7 @@ 
    167123         "punpcklbw %%mm7, %%mm2           \n\t" /* 0J0K0L0M */\ 
    168124         "punpckhbw %%mm7, %%mm5           \n\t" /* 0N0O0P0Q */\ 
     
    173129         "paddw %%mm6, %%mm0               \n\t" /* 20a - 6b + 3c - d */\ 
    174130         "psraw $5, %%mm0                  \n\t"\ 
    175 @@ -2143,8 +2136,8 @@ 
     131@@ -893,8 +893,8 @@ 
    176132         "paddw %%mm2, %%mm5               \n\t" /* d */\ 
    177133         "paddw %%mm6, %%mm6               \n\t" /* 2b */\ 
     
    184140         "paddw %6, %%mm4                  \n\t"\ 
    185141         "paddw %%mm3, %%mm4               \n\t" /* 20a - 6b + 3c - d */\ 
    186 @@ -2157,7 +2150,9 @@ 
     142@@ -907,7 +907,9 @@ 
    187143         "decl %2                          \n\t"\ 
    188144         " jnz 1b                          \n\t"\ 
     
    195151     );\ 
    196152 }\ 
    197 @@ -2235,10 +2230,10 @@ 
     153@@ -985,10 +987,10 @@ 
    198154         "paddw %%mm5, %%mm5               \n\t" /* 2b */\ 
    199155         "psubw %%mm5, %%mm6               \n\t" /* c - 2b */\ 
     
    208164         "paddw %6, %%mm6                  \n\t"\ 
    209165         "paddw %%mm6, %%mm0               \n\t" /* 20a - 6b + 3c - d */\ 
    210 @@ -2256,8 +2251,8 @@ 
     166@@ -1006,8 +1008,8 @@ 
    211167         "paddw %%mm5, %%mm4               \n\t" /* d */\ 
    212168         "paddw %%mm2, %%mm2               \n\t" /* 2b */\ 
     
    219175         "paddw %6, %%mm1                  \n\t"\ 
    220176         "paddw %%mm1, %%mm3               \n\t" /* 20a - 6b + 3c - d */\ 
    221 @@ -2270,7 +2265,9 @@ 
     177@@ -1020,7 +1022,9 @@ 
    222178         "decl %2                          \n\t"\ 
    223179         " jnz 1b                          \n\t"\ 
     
    230186     );\ 
    231187 }\ 
    232 @@ -2349,31 +2346,31 @@ 
     188@@ -1099,31 +1103,31 @@ 
    233189         "movq 8(%0), %%mm1              \n\t"\ 
    234190         "movq 16(%0), %%mm2             \n\t"\ 
     
    278234         "add $136, %0                   \n\t"\ 
    279235         "add %6, %1                     \n\t"\ 
    280 @@ -2381,7 +2378,9 @@ 
     236@@ -1131,7 +1135,9 @@ 
    281237         " jnz 1b                        \n\t"\ 
    282238         \ 
     
    289245     );\ 
    290246 }\ 
    291 @@ -2421,19 +2420,19 @@ 
     247@@ -1171,19 +1177,19 @@ 
    292248         "movq 8(%0), %%mm1              \n\t"\ 
    293249         "movq 16(%0), %%mm2             \n\t"\ 
     
    317273         "add $72, %0                    \n\t"\ 
    318274         "add %6, %1                     \n\t"\ 
    319 @@ -2441,7 +2440,9 @@ 
     275@@ -1191,7 +1197,9 @@ 
    320276         " jnz 1b                        \n\t"\ 
    321277          \ 
     
    328284    );\ 
    329285 }\ 
    330 @@ -2858,8 +2859,6 @@ 
    331      } 
    332  } 
    333   
    334 -#ifdef CONFIG_ENCODERS 
    335 - 
    336  #define PHADDD(a, t)\ 
    337      "movq "#a", "#t"                  \n\t"\ 
    338      "psrlq $32, "#a"                  \n\t"\ 
    339 @@ -2922,8 +2921,6 @@ 
    340  #undef PHADDD 
    341  #endif //HAVE_SSSE3 
    342   
    343 -#endif /* CONFIG_ENCODERS */ 
    344 - 
    345  #define PREFETCH(name, op) \ 
    346  static void name(void *mem, int stride, int h){\ 
    347      const uint8_t *p= mem;\ 
    348286Index: ffmpeg/libavcodec/i386/h264dsp_mmx.c 
    349287=================================================================== 
    350 --- ffmpeg/libavcodec/i386/h264dsp_mmx.c        (revision 12218
     288--- ffmpeg/libavcodec/i386/h264dsp_mmx.c        (revision 12223
    351289+++ ffmpeg/libavcodec/i386/h264dsp_mmx.c        (working copy) 
    352290@@ -417,21 +417,21 @@ 
     
    411349Index: ffmpeg/libavcodec/i386/simple_idct_mmx.c 
    412350=================================================================== 
    413 --- ffmpeg/libavcodec/i386/simple_idct_mmx.c    (revision 12218
     351--- ffmpeg/libavcodec/i386/simple_idct_mmx.c    (revision 12223
    414352+++ ffmpeg/libavcodec/i386/simple_idct_mmx.c    (working copy) 
    415353@@ -363,7 +363,7 @@ 
     
    460398Index: ffmpeg/libavcodec/i386/vc1dsp_mmx.c 
    461399=================================================================== 
    462 --- ffmpeg/libavcodec/i386/vc1dsp_mmx.c (revision 12218
     400--- ffmpeg/libavcodec/i386/vc1dsp_mmx.c (revision 12223
    463401+++ ffmpeg/libavcodec/i386/vc1dsp_mmx.c (working copy) 
    464402@@ -77,7 +77,7 @@