hi, i have do other trouble things these days, but i still have the
trouble in ffmpeg neon or vfp support.
when i add a flag to Android.mk with "LOCAL_ARM_MODE := arm"
it can be build ok!!!, but it shows the same errors like
SharedLibrary : libffmpeg_jni.so
E:/android-ndk-r5c/havlenapetr/obj/local/armeabi-v7a/
libavcodec.a(dcadsp.o): In
function `ff_dcadsp_init':
E:/android-ndk-r5c/havlenapetr/jni/libffmpeg/libavcodec/dcadsp.c:50:
undefined r
eference to `ff_dcadsp_init_arm'
E:/android-ndk-r5c/havlenapetr/obj/local/armeabi-v7a/
libavcodec.a(dsputil.o): In
function `dsputil_init':
E:/android-ndk-r5c/havlenapetr/jni/libffmpeg/libavcodec/dsputil.c:
4521: undefine
d reference to `dsputil_init_arm'
E:/android-ndk-r5c/havlenapetr/obj/local/armeabi-v7a/
libavcodec.a(fft.o): In fun
ction `ff_fft_init':
E:/android-ndk-r5c/havlenapetr/jni/libffmpeg/libavcodec/fft.c:113:
undefined ref
erence to `ff_fft_init_arm'
E:/android-ndk-r5c/havlenapetr/obj/local/armeabi-v7a/
libavcodec.a(h264dsp.o): In
function `ff_h264dsp_init':
E:/android-ndk-r5c/havlenapetr/jni/libffmpeg/libavcodec/h264dsp.c:317:
undefined
reference to `ff_h264dsp_init_arm'
E:/android-ndk-r5c/havlenapetr/obj/local/armeabi-v7a/
libavcodec.a(h264pred.o): I
n function `ff_h264_pred_init':
E:/android-ndk-r5c/havlenapetr/jni/libffmpeg/libavcodec/h264pred.c:
1176: undefin
ed reference to `ff_h264_pred_init_arm'
E:/android-ndk-r5c/havlenapetr/obj/local/armeabi-v7a/
libavcodec.a(mpegvideo.o):
In function `ff_dct_common_init':
E:/android-ndk-r5c/havlenapetr/jni/libffmpeg/libavcodec/mpegvideo.c:
174: undefin
ed reference to `MPV_common_init_arm'
i saw that in "libffmpeg/libavcodec/arm" folder
the makefile says
OBJS-$(CONFIG_H264DSP) += arm/
h264dsp_init_arm.o \
arm/
h264pred_init_arm.o \
i have already defined the CONFIG_H264DSP macro both in config.h and
config.mak
but their also have undefined reference......
BTW, i found their is nothing .o file in the arm folders.
who to build such like"h264dsp_neon.S"files that can be linked by
ffmpeg?
my apology, but really need your help, thanks.
> 2011/9/13 Smallrui <
ismall...@gmail.com>