mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
3e99a8feb0
Original commit message from CVS: We don't need to patch wmadec.c and avcodec.h anymore
131 lines
3.9 KiB
Diff
131 lines
3.9 KiB
Diff
Index: ffmpeg/libavcodec/i386/mpegvideo_mmx.c
|
|
===================================================================
|
|
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/i386/mpegvideo_mmx.c,v
|
|
retrieving revision 1.25
|
|
diff -u -u -r1.25 mpegvideo_mmx.c
|
|
--- ffmpeg/libavcodec/i386/mpegvideo_mmx.c 14 May 2003 15:12:13 -0000 1.25
|
|
+++ ffmpeg/libavcodec/i386/mpegvideo_mmx.c 11 Sep 2003 19:34:45 -0000
|
|
@@ -488,6 +488,7 @@
|
|
}
|
|
}
|
|
|
|
+#if 0
|
|
#undef HAVE_MMX2
|
|
#define RENAME(a) a ## _MMX
|
|
#include "mpegvideo_mmx_template.c"
|
|
@@ -496,6 +497,7 @@
|
|
#undef RENAME
|
|
#define RENAME(a) a ## _MMX2
|
|
#include "mpegvideo_mmx_template.c"
|
|
+#endif
|
|
|
|
void MPV_common_init_mmx(MpegEncContext *s)
|
|
{
|
|
@@ -508,6 +510,7 @@
|
|
|
|
draw_edges = draw_edges_mmx;
|
|
|
|
+#if 0
|
|
if(dct_algo==FF_DCT_AUTO || dct_algo==FF_DCT_MMX){
|
|
if(mm_flags & MM_MMXEXT){
|
|
s->dct_quantize= dct_quantize_MMX2;
|
|
@@ -515,5 +518,6 @@
|
|
s->dct_quantize= dct_quantize_MMX;
|
|
}
|
|
}
|
|
+#endif
|
|
}
|
|
}
|
|
Index: ffmpeg/libavcodec/i386/mpegvideo_mmx_template.c
|
|
===================================================================
|
|
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/i386/mpegvideo_mmx_template.c,v
|
|
retrieving revision 1.17
|
|
diff -u -u -r1.17 mpegvideo_mmx_template.c
|
|
--- ffmpeg/libavcodec/i386/mpegvideo_mmx_template.c 13 May 2003 08:21:35 -0000 1.17
|
|
+++ ffmpeg/libavcodec/i386/mpegvideo_mmx_template.c 11 Sep 2003 19:34:47 -0000
|
|
@@ -122,7 +122,7 @@
|
|
"movd %%mm3, %%eax \n\t"
|
|
"movzbl %%al, %%eax \n\t" // last_non_zero_p1
|
|
: "+a" (last_non_zero_p1)
|
|
- : "r" (block+64), "r" (qmat), "r" (bias),
|
|
+ : "b" (block+64), "r" (qmat), "r" (bias),
|
|
"r" (inv_zigzag_direct16+64), "r" (temp_block+64)
|
|
);
|
|
// note the asm is split cuz gcc doesnt like that many operands ...
|
|
Index: ffmpeg/libavformat/avformat.h
|
|
===================================================================
|
|
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/avformat.h,v
|
|
retrieving revision 1.55
|
|
diff -u -u -r1.55 avformat.h
|
|
--- ffmpeg/libavformat/avformat.h 4 Jul 2003 23:48:20 -0000 1.55
|
|
+++ ffmpeg/libavformat/avformat.h 11 Sep 2003 19:34:48 -0000
|
|
@@ -317,7 +317,7 @@
|
|
int amr_init(void);
|
|
|
|
/* wav.c */
|
|
-int wav_init(void);
|
|
+int avf_wav_init(void);
|
|
|
|
/* raw.c */
|
|
int raw_init(void);
|
|
@@ -326,7 +326,7 @@
|
|
int ogg_init(void);
|
|
|
|
/* dv.c */
|
|
-int dv_init(void);
|
|
+int avf_dv_init(void);
|
|
|
|
/* ffm.c */
|
|
int ffm_init(void);
|
|
Index: ffmpeg/libavformat/dv.c
|
|
===================================================================
|
|
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/dv.c,v
|
|
retrieving revision 1.9
|
|
diff -u -u -r1.9 dv.c
|
|
--- ffmpeg/libavformat/dv.c 23 Apr 2003 02:04:40 -0000 1.9
|
|
+++ ffmpeg/libavformat/dv.c 11 Sep 2003 19:34:48 -0000
|
|
@@ -138,7 +138,7 @@
|
|
dv_write_trailer,
|
|
};
|
|
|
|
-int dv_init(void)
|
|
+int avf_dv_init(void)
|
|
{
|
|
av_register_input_format(&dv_iformat);
|
|
av_register_output_format(&dv_oformat);
|
|
Index: ffmpeg/libavformat/wav.c
|
|
===================================================================
|
|
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/wav.c,v
|
|
retrieving revision 1.23
|
|
diff -u -u -r1.23 wav.c
|
|
--- ffmpeg/libavformat/wav.c 12 Mar 2003 18:45:50 -0000 1.23
|
|
+++ ffmpeg/libavformat/wav.c 11 Sep 2003 19:34:52 -0000
|
|
@@ -334,7 +334,7 @@
|
|
wav_write_trailer,
|
|
};
|
|
|
|
-int wav_init(void)
|
|
+int avf_wav_init(void)
|
|
{
|
|
av_register_input_format(&wav_iformat);
|
|
av_register_output_format(&wav_oformat);
|
|
--- ffmpeg/libavformat/allformats.c 2003-10-26 12:06:32.000000000 +0100
|
|
+++ ffmpeg/libavformat/allformats.c 2003-10-26 12:06:04.000000000 +0100
|
|
@@ -45,7 +45,7 @@
|
|
avienc_init();
|
|
#endif //CONFIG_ENCODERS
|
|
avidec_init();
|
|
- wav_init();
|
|
+ avf_wav_init();
|
|
swf_init();
|
|
au_init();
|
|
#ifdef CONFIG_ENCODERS
|
|
@@ -56,7 +56,7 @@
|
|
movenc_init();
|
|
jpeg_init();
|
|
#endif //CONFIG_ENCODERS
|
|
- dv_init();
|
|
+ avf_dv_init();
|
|
fourxm_init();
|
|
#ifdef CONFIG_ENCODERS
|
|
flvenc_init();
|