File avifile-0.7-0.7.41-alpha.patch of Package avifile
--- configure.in
+++ configure.in
@@ -99,7 +99,6 @@
;;
alpha*)
AC_DEFINE(ARCH_ALPHA, 1, [Define if you want to build on alpha architecture.])
- enable_alphaopt=yes
;;
arm*)
AC_DEFINE(ARCH_ARM, 1, [Define if you want to build on arm architecture.])
@@ -114,7 +113,6 @@
;;
ppc*|powerpc*)
AC_DEFINE(ARCH_POWERPC, 1, [Define if you want to build on ppc architecture.])
- enable_ppcopt=yes
;;
esac
@@ -1007,6 +1005,11 @@
AVIFILE_BUILD="$AVIFILE_BUILD-$AVIFILE_MAJOR_VERSION.$AVIFILE_MINOR_VERSION.$AVIFILE_MICRO_VERSION-${last_cvs_update}-$GCC_VERSION"
AC_SUBST(AVIFILE_BUILD)
+CCAS=$CC
+CCASFLAGS=$CFLAGS
+AC_SUBST(CCAS)
+AC_SUBST(CCASFLAGS)
+
dnl mpglib/Makefile
dnl ffmpeg/libavfilter/Makefile
dnl libpp/Makefile
@@ -1116,7 +1119,3 @@
lame runtime $enable_lame_bin
])
-CCAS=$CC
-CCASFLAGS=$CFLAGS
-AC_SUBST(CCAS)
-AC_SUBST(CCASFLAGS)
--- ffmpeg/libavcodec/alpha/Makefile.am
+++ ffmpeg/libavcodec/alpha/Makefile.am
@@ -3,10 +3,8 @@
noinst_LTLIBRARIES = libavcodecalpha.la
ALPHA_SOURCES = \
- dsputil_alpha.c \
- motion_est_alpha.c \
- mpegvideo_alpha.c \
- simple_idct_alpha.c
+ dsputil_alpha_asm.S \
+ motion_est_mvi_asm.S
noinst_HEADERS = $(ALPHA_SOURCES) \
asm.h \
--- ffmpeg/libavcodec/dsputil.c
+++ ffmpeg/libavcodec/dsputil.c
@@ -3643,12 +3643,6 @@
#ifdef ARCH_SPARC
dsputil_init_vis(c,avctx);
#endif
-#ifdef ARCH_ALPHA
- dsputil_init_alpha(c, avctx);
-#endif
-#ifdef ARCH_POWERPC
- dsputil_init_ppc(c, avctx);
-#endif
#ifdef HAVE_MMI
dsputil_init_mmi(c, avctx);
#endif
--- ffmpeg/libavcodec/dsputil.h
+++ ffmpeg/libavcodec/dsputil.h
@@ -468,8 +468,6 @@ void dsputil_init_vis(DSPContext* c, AVC
#define __align8 __attribute__ ((aligned (8)))
#define STRIDE_ALIGN 8
-void dsputil_init_alpha(DSPContext* c, AVCodecContext *avctx);
-
#elif defined(ARCH_POWERPC)
#define MM_ALTIVEC 0x0001 /* standard AltiVec */
@@ -485,8 +483,6 @@ extern int mm_flags;
#define __align8 __attribute__ ((aligned (16)))
#define STRIDE_ALIGN 16
-void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx);
-
#elif defined(HAVE_MMI)
#define __align8 __attribute__ ((aligned (16)))
--- ffmpeg/libavcodec/mpegvideo.c
+++ ffmpeg/libavcodec/mpegvideo.c
@@ -234,9 +234,6 @@
#ifdef HAVE_MMX
MPV_common_init_mmx(s);
#endif
-#ifdef ARCH_ALPHA
- MPV_common_init_axp(s);
-#endif
#ifdef HAVE_MLIB
MPV_common_init_mlib(s);
#endif
@@ -246,9 +243,6 @@
#ifdef ARCH_ARMV4L
MPV_common_init_armv4l(s);
#endif
-#ifdef ARCH_POWERPC
- MPV_common_init_ppc(s);
-#endif
#ifdef CONFIG_ENCODERS
s->fast_dct_quantize= s->dct_quantize;
--- ffmpeg/libavcodec/mpegvideo.h
+++ ffmpeg/libavcodec/mpegvideo.h
@@ -731,9 +731,6 @@
#ifdef HAVE_MMX
void MPV_common_init_mmx(MpegEncContext *s);
#endif
-#ifdef ARCH_ALPHA
-void MPV_common_init_axp(MpegEncContext *s);
-#endif
#ifdef HAVE_MLIB
void MPV_common_init_mlib(MpegEncContext *s);
#endif
@@ -743,9 +740,6 @@
#ifdef ARCH_ARMV4L
void MPV_common_init_armv4l(MpegEncContext *s);
#endif
-#ifdef ARCH_POWERPC
-void MPV_common_init_ppc(MpegEncContext *s);
-#endif
extern void (*draw_edges)(uint8_t *buf, int wrap, int width, int height, int w);
void ff_copy_bits(PutBitContext *pb, uint8_t *src, int length);
void ff_clean_intra_table_entries(MpegEncContext *s);