Changeset 809
- Timestamp:
- 02/15/08 14:33:05 (7 months ago)
- Files:
-
- branches/perian-1.1/ffmpeg-patch (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/perian-1.1/ffmpeg-patch
r780 r809 1 diff -ru ffmpeg/libavcodec/dsputil.c ffmpeg-/libavcodec/dsputil.c2 --- ffmpeg/libavcodec/dsputil.c 2008-0 1-20 15:05:32.000000000 -05003 +++ ffmpeg-/libavcodec/dsputil.c 2008-0 1-20 17:09:12.000000000 -05001 diff -ruN ffmpeg/libavcodec/dsputil.c ffmpeg-/libavcodec/dsputil.c 2 --- ffmpeg/libavcodec/dsputil.c 2008-02-15 15:13:00.000000000 -0500 3 +++ ffmpeg-/libavcodec/dsputil.c 2008-02-15 15:15:51.000000000 -0500 4 4 @@ -1440,6 +1440,7 @@ 5 5 \ … … 92 92 93 93 #define op_avg(a, b) a = (((a)+(((b) + 32)>>6)+1)>>1) 94 diff -ru ffmpeg/libavcodec/i386/dsputil_h264_template_mmx.c ffmpeg-/libavcodec/i386/dsputil_h264_template_mmx.c95 --- ffmpeg/libavcodec/i386/dsputil_h264_template_mmx.c 2008-0 1-20 15:05:31.000000000 -050096 +++ ffmpeg-/libavcodec/i386/dsputil_h264_template_mmx.c 2008-0 1-20 17:08:31.000000000 -050094 diff -ruN ffmpeg/libavcodec/i386/dsputil_h264_template_mmx.c ffmpeg-/libavcodec/i386/dsputil_h264_template_mmx.c 95 --- ffmpeg/libavcodec/i386/dsputil_h264_template_mmx.c 2008-02-15 15:12:38.000000000 -0500 96 +++ ffmpeg-/libavcodec/i386/dsputil_h264_template_mmx.c 2008-02-15 15:15:51.000000000 -0500 97 97 @@ -182,14 +182,26 @@ 98 98 } … … 133 133 } 134 134 135 diff -ru ffmpeg/libavcodec/i386/dsputil_mmx.c ffmpeg-/libavcodec/i386/dsputil_mmx.c136 --- ffmpeg/libavcodec/i386/dsputil_mmx.c 2008-0 1-20 15:05:31.000000000 -0500137 +++ ffmpeg-/libavcodec/i386/dsputil_mmx.c 2008-0 1-20 17:03:15.000000000 -0500135 diff -ruN ffmpeg/libavcodec/i386/dsputil_mmx.c ffmpeg-/libavcodec/i386/dsputil_mmx.c 136 --- ffmpeg/libavcodec/i386/dsputil_mmx.c 2008-02-15 15:12:38.000000000 -0500 137 +++ ffmpeg-/libavcodec/i386/dsputil_mmx.c 2008-02-15 15:15:51.000000000 -0500 138 138 @@ -1918,7 +1918,7 @@ 139 139 … … 386 386 "r"(data+n2), "r"(data+len-2-n2)\ 387 387 ); 388 diff -ru ffmpeg/libavcodec/i386/h264dsp_mmx.c ffmpeg-/libavcodec/i386/h264dsp_mmx.c389 --- ffmpeg/libavcodec/i386/h264dsp_mmx.c 2008-0 1-20 15:05:31.000000000 -0500390 +++ ffmpeg-/libavcodec/i386/h264dsp_mmx.c 2008-0 1-20 17:03:15.000000000 -0500388 diff -ruN ffmpeg/libavcodec/i386/h264dsp_mmx.c ffmpeg-/libavcodec/i386/h264dsp_mmx.c 389 --- ffmpeg/libavcodec/i386/h264dsp_mmx.c 2008-02-15 15:12:38.000000000 -0500 390 +++ ffmpeg-/libavcodec/i386/h264dsp_mmx.c 2008-02-15 15:15:51.000000000 -0500 391 391 @@ -341,21 +341,21 @@ 392 392 // in: mm0=p1 mm1=p0 mm2=q0 mm3=q1 mm7=(tc&mask) … … 448 448 } 449 449 450 diff -ru ffmpeg/libavcodec/i386/motion_est_mmx.c ffmpeg-/libavcodec/i386/motion_est_mmx.c451 --- ffmpeg/libavcodec/i386/motion_est_mmx.c 2008-0 1-20 15:05:31.000000000 -0500452 +++ ffmpeg-/libavcodec/i386/motion_est_mmx.c 2008-0 1-20 17:03:15.000000000 -0500450 diff -ruN ffmpeg/libavcodec/i386/motion_est_mmx.c ffmpeg-/libavcodec/i386/motion_est_mmx.c 451 --- ffmpeg/libavcodec/i386/motion_est_mmx.c 2008-02-15 15:12:38.000000000 -0500 452 +++ ffmpeg-/libavcodec/i386/motion_est_mmx.c 2008-02-15 15:15:51.000000000 -0500 453 453 @@ -167,7 +167,7 @@ 454 454 static inline void sad8_4_mmx2(uint8_t *blk1, uint8_t *blk2, int stride, int h) … … 487 487 } 488 488 489 diff -ru ffmpeg/libavcodec/i386/simple_idct_mmx.c ffmpeg-/libavcodec/i386/simple_idct_mmx.c490 --- ffmpeg/libavcodec/i386/simple_idct_mmx.c 2008-0 1-20 15:05:31.000000000 -0500491 +++ ffmpeg-/libavcodec/i386/simple_idct_mmx.c 2008-0 1-20 17:03:15.000000000 -0500489 diff -ruN ffmpeg/libavcodec/i386/simple_idct_mmx.c ffmpeg-/libavcodec/i386/simple_idct_mmx.c 490 --- ffmpeg/libavcodec/i386/simple_idct_mmx.c 2008-02-15 15:12:38.000000000 -0500 491 +++ ffmpeg-/libavcodec/i386/simple_idct_mmx.c 2008-02-15 15:15:51.000000000 -0500 492 492 @@ -363,7 +363,7 @@ 493 493 "movq " #src4 ", %%mm1 \n\t" /* R6 R2 r6 r2 */\ … … 535 535 ); 536 536 } 537 diff -ruN ffmpeg/libavcodec/ppc/mpegvideo_altivec.c ffmpeg-/libavcodec/ppc/mpegvideo_altivec.c 538 --- ffmpeg/libavcodec/ppc/mpegvideo_altivec.c 2008-02-15 15:12:50.000000000 -0500 539 +++ ffmpeg-/libavcodec/ppc/mpegvideo_altivec.c 2008-02-15 15:16:25.000000000 -0500 540 @@ -610,7 +610,7 @@ 541 { 542 if (s->avctx->lowres==0) 543 { 544 - if ((s->avctx->idct_algo == FF_IDCT_AUTO) || 545 + if ((mm_flags & MM_ALTIVEC && s->avctx->idct_algo == FF_IDCT_AUTO) || 546 (s->avctx->idct_algo == FF_IDCT_ALTIVEC)) 547 { 548 s->dsp.idct_put = idct_put_altivec; 549 @@ -636,7 +636,7 @@ 550 } 551 552 553 - if ((s->avctx->dct_algo == FF_DCT_AUTO) || 554 + if ((mm_flags & MM_ALTIVEC && s->avctx->dct_algo == FF_DCT_AUTO) || 555 (s->avctx->dct_algo == FF_DCT_ALTIVEC)) 556 { 557 #if 0 /* seems to cause trouble under some circumstances */
