android音频(三)——利用ndk直接编译faac和faad(续1)
2017-10-18 13:48
369 查看
step6 编译faad
1、在jni根目录下编写Android.mk和Application.mk文件如下Android.mk
LOCAL_PATH := $(call my-dir) FAAD2_TOP := $(LOCAL_PATH) include $(CLEAR_VARS) include $(FAAD2_TOP)/libfaad/Android.mk
Application.mk
APP_ABI := all
2、将根目录下的config.h.in文件复制重命名为config.h并改成
/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.in by autoheader. */ /* Define if you want to use libfaad together with Digital Radio Mondiale (DRM) */ /* #undef DRM */ /* Define if you want support for Digital Radio Mondiale (DRM) parametric stereo */ /* #undef DRM_PS */ /* Define to 1 if you have the <dlfcn.h> header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you have the <errno.h> header file. */ #define HAVE_ERRNO_H 1 /* Define if needed */ /* #undef HAVE_FLOAT32_T */ /* Define to 1 if you have the <float.h> header file. */ #define HAVE_FLOAT_H 1 /* Define to 1 if you have the `getpwuid' function. */ #define HAVE_GETPWUID 1 /* Define to 1 if you have the <inttypes.h> header file. */ #define HAVE_INTTYPES_H 1 /* Define if you have the IOKit API */ /* #undef HAVE_IOKIT_IOKITLIB_H */ /* Define to 1 if you have the <limits.h> header file. */ #define HAVE_LIMITS_H 1 /* Define if you have C99's lrintf function. */ #define HAVE_LRINTF 1 /* Define to 1 if you have the <mathf.h> header file. */ /* #undef HAVE_MATHF_H */ /* Define to 1 if you have the `memcpy' function. */ #define HAVE_MEMCPY 1 /* Define to 1 if you have the <memory.h> header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the <stdint.h> header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the <stdlib.h> header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the <strings.h> header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the <string.h> header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strsep' function. */ #define HAVE_STRSEP 1 /* Define to 1 if you have the <sysfs/libsysfs.h> header file. */ /* #undef HAVE_SYSFS_LIBSYSFS_H */ /* Define to 1 if you have the <sys/stat.h> header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the <sys/time.h> header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the <sys/types.h> header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the <unistd.h> header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* Name of package */ #define PACKAGE "faad2" /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "" /* Define to the full name of this package. */ #define PACKAGE_NAME "" /* Define to the full name and version of this package. */ #define PACKAGE_STRING "" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "" /* Define to the version of this package. */ #define PACKAGE_VERSION "" /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ #define TIME_WITH_SYS_TIME 1 /* Version number of package */ #define VERSION "2.7.0" /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ /* #undef WORDS_BIGENDIAN */ /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus /* #undef inline */ #endif /* Define to `long int' if <sys/types.h> does not define. */ /* #undef off_t */
3、在jni/libfaad下编写Android.mk如下
Android.mk
LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES:= \ bits.c \ cfft.c \ decoder.c \ drc.c \ drm_dec.c \ error.c \ filtbank.c \ ic_predict.c \ is.c \ lt_predict.c \ mdct.c \ mp4.c \ ms.c \ output.c \ pns.c \ ps_dec.c \ ps_syntax.c \ pulse.c \ specrec.c \ syntax.c \ tns.c \ hcr.c \ huffman.c \ rvlc.c \ ssr.c \ ssr_fb.c \ ssr_ipqf.c \ common.c \ sbr_dct.c \ sbr_e_nf.c \ sbr_fbt.c \ sbr_hfadj.c \ sbr_hfgen.c \ sbr_huff.c \ sbr_qmf.c \ sbr_syntax.c \ sbr_tf_grid.c \ sbr_dec.c LOCAL_MODULE:= libfaad LOCAL_C_INCLUDES := \ $(LOCAL_PATH) \ $(FAAD2_TOP) \ $(FAAD2_TOP)/include LOCAL_CFLAGS:= -DHAVE_CONFIG_H include $(BUILD_SHARED_LIBRARY)
4、在jni目录下运行ndk-build得到
E:\AV-study\MakeTest\faad\jni>E:\android-ndk-r14-beta2\ndk-build [arm64-v8a] Compile : faad <= bits.c [arm64-v8a] Compile : faad <= cfft.c [arm64-v8a] Compile : faad <= decoder.c [arm64-v8a] Compile : faad <= drc.c [arm64-v8a] Compile : faad <= drm_dec.c [arm64-v8a] Compile : faad <= error.c [arm64-v8a] Compile : faad <= filtbank.c [arm64-v8a] Compile : faad <= ic_predict.c [arm64-v8a] Compile : faad <= is.c [arm64-v8a] Compile : faad <= lt_predict.c [arm64-v8a] Compile : faad <= mdct.c [arm64-v8a] Compile : faad <= mp4.c E:/AV-study/MakeTest/faad/jni/libfaad/mp4.c:279:34: warning: comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if (mp4ASC->sbr_present_flag == -1) ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~ 1 warning generated. [arm64-v8a] Compile : faad <= ms.c [arm64-v8a] Compile : faad <= output.c [arm64-v8a] Compile : faad <= pns.c [arm64-v8a] Compile : faad <= ps_dec.c [arm64-v8a] Compile : faad <= ps_syntax.c [arm64-v8a] Compile : faad <= pulse.c [arm64-v8a] Compile : faad <= specrec.c E:/AV-study/MakeTest/faad/jni/libfaad/specrec.c:429:1: warning: '/*' within block comment [-Wcomment] /* output = sign(input)*abs(input)^(4/3) */ ^ 1 warning generated. [arm64-v8a] Compile : faad <= syntax.c E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] while ((sect_len_incr == sect_esc_val) /* && ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: note: remove extraneous parentheses around the comparison to silence this warning while ((sect_len_incr == sect_esc_val) /* && ~ ^ ~ E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: note: use '=' to turn this equality comparison into an assignment while ((sect_len_incr == sect_esc_val) /* && ^~ = 1 warning generated. [arm64-v8a] Compile : faad <= tns.c [arm64-v8a] Compile : faad <= hcr.c [arm64-v8a] Compile : faad <= huffman.c E:/AV-study/MakeTest/faad/jni/libfaad/huffman.c:314:38: warning: implicit conversion from 'int' to 'int16_t' (aka 'short') changes value from 44320 to -21216 [-Wconstant-conversion] else return (int16_t)data & 0xFFFF; ~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~ 1 warning generated. [arm64-v8a] Compile : faad <= rvlc.c [arm64-v8a] Compile : faad <= ssr.c [arm64-v8a] Compile : faad <= ssr_fb.c [arm64-v8a] Compile : faad <= ssr_ipqf.c [arm64-v8a] Compile : faad <= common.c [arm64-v8a] Compile : faad <= sbr_dct.c [arm64-v8a] Compile : faad <= sbr_e_nf.c [arm64-v8a] Compile : faad <= sbr_fbt.c [arm64-v8a] Compile : faad <= sbr_hfadj.c [arm64-v8a] Compile : faad <= sbr_hfgen.c [arm64-v8a] Compile : faad <= sbr_huff.c [arm64-v8a] Compile : faad <= sbr_qmf.c [arm64-v8a] Compile : faad <= sbr_syntax.c [arm64-v8a] Compile : faad <= sbr_tf_grid.c [arm64-v8a] Compile : faad <= sbr_dec.c [arm64-v8a] SharedLibrary : libfaad.so [arm64-v8a] Install : libfaad.so => libs/arm64-v8a/libfaad.so [x86_64] Compile : faad <= bits.c [x86_64] Compile : faad <= cfft.c [x86_64] Compile : faad <= decoder.c [x86_64] Compile : faad <= drc.c [x86_64] Compile : faad <= drm_dec.c [x86_64] Compile : faad <= error.c [x86_64] Compile : faad <= filtbank.c [x86_64] Compile : faad <= ic_predict.c [x86_64] Compile : faad <= is.c [x86_64] Compile : faad <= lt_predict.c [x86_64] Compile : faad <= mdct.c [x86_64] Compile : faad <= mp4.c [x86_64] Compile : faad <= ms.c [x86_64] Compile : faad <= output.c [x86_64] Compile : faad <= pns.c [x86_64] Compile : faad <= ps_dec.c [x86_64] Compile : faad <= ps_syntax.c [x86_64] Compile : faad <= pulse.c [x86_64] Compile : faad <= specrec.c E:/AV-study/MakeTest/faad/jni/libfaad/specrec.c:429:1: warning: '/*' within block comment [-Wcomment] /* output = sign(input)*abs(input)^(4/3) */ ^ 1 warning generated. [x86_64] Compile : faad <= syntax.c E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] while ((sect_len_incr == sect_esc_val) /* && ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: note: remove extraneous parentheses around the comparison to silence this warning while ((sect_len_incr == sect_esc_val) /* && ~ ^ ~ E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: note: use '=' to turn this equality comparison into an assignment while ((sect_len_incr == sect_esc_val) /* && ^~ = 1 warning generated. [x86_64] Compile : faad <= tns.c [x86_64] Compile : faad <= hcr.c [x86_64] Compile : faad <= huffman.c E:/AV-study/MakeTest/faad/jni/libfaad/huffman.c:314:38: warning: implicit conversion from 'int' to 'int16_t' (aka 'short') changes value from 44320 to -21216 [-Wconstant-conversion] else return (int16_t)data & 0xFFFF; ~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~ 1 warning generated. [x86_64] Compile : faad <= rvlc.c [x86_64] Compile : faad <= ssr.c [x86_64] Compile : faad <= ssr_fb.c [x86_64] Compile : faad <= ssr_ipqf.c [x86_64] Compile : faad <= common.c [x86_64] Compile : faad <= sbr_dct.c [x86_64] Compile : faad <= sbr_e_nf.c [x86_64] Compile : faad <= sbr_fbt.c [x86_64] Compile : faad <= sbr_hfadj.c [x86_64] Compile : faad <= sbr_hfgen.c [x86_64] Compile : faad <= sbr_huff.c [x86_64] Compile : faad <= sbr_qmf.c [x86_64] Compile : faad <= sbr_syntax.c [x86_64] Compile : faad <= sbr_tf_grid.c [x86_64] Compile : faad <= sbr_dec.c [x86_64] SharedLibrary : libfaad.so [x86_64] Install : libfaad.so => libs/x86_64/libfaad.so [mips64] Compile : faad <= bits.c [mips64] Compile : faad <= cfft.c [mips64] Compile : faad <= decoder.c [mips64] Compile : faad <= drc.c [mips64] Compile : faad <= drm_dec.c [mips64] Compile : faad <= error.c [mips64] Compile : faad <= filtbank.c [mips64] Compile : faad <= ic_predict.c [mips64] Compile : faad <= is.c [mips64] Compile : faad <= lt_predict.c [mips64] Compile : faad <= mdct.c [mips64] Compile : faad <= mp4.c [mips64] Compile : faad <= ms.c [mips64] Compile : faad <= output.c [mips64] Compile : faad <= pns.c [mips64] Compile : faad <= ps_dec.c [mips64] Compile : faad <= ps_syntax.c [mips64] Compile : faad <= pulse.c [mips64] Compile : faad <= specrec.c E:/AV-study/MakeTest/faad/jni/libfaad/specrec.c:429:1: warning: '/*' within block comment [-Wcomment] /* output = sign(input)*abs(input)^(4/3) */ ^ 1 warning generated. [mips64] Compile : faad <= syntax.c E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] while ((sect_len_incr == sect_esc_val) /* && ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: note: remove extraneous parentheses around the comparison to silence this warning while ((sect_len_incr == sect_esc_val) /* && ~ ^ ~ E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: note: use '=' to turn this equality comparison into an assignment while ((sect_len_incr == sect_esc_val) /* && ^~ = 1 warning generated. [mips64] Compile : faad <= tns.c [mips64] Compile : faad <= hcr.c [mips64] Compile : faad <= huffman.c E:/AV-study/MakeTest/faad/jni/libfaad/huffman.c:314:38: warning: implicit conversion from 'int' to 'int16_t' (aka 'short') changes value from 44320 to -21216 [-Wconstant-conversion] else return (int16_t)data & 0xFFFF; ~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~ 1 warning generated. [mips64] Compile : faad <= rvlc.c [mips64] Compile : faad <= ssr.c [mips64] Compile : faad <= ssr_fb.c [mips64] Compile : faad <= ssr_ipqf.c [mips64] Compile : faad <= common.c [mips64] Compile : faad <= sbr_dct.c [mips64] Compile : faad <= sbr_e_nf.c [mips64] Compile : faad <= sbr_fbt.c [mips64] Compile : faad <= sbr_hfadj.c [mips64] Compile : faad <= sbr_hfgen.c [mips64] Compile : faad <= sbr_huff.c [mips64] Compile : faad <= sbr_qmf.c [mips64] Compile : faad <= sbr_syntax.c [mips64] Compile : faad <= sbr_tf_grid.c [mips64] Compile : faad <= sbr_dec.c [mips64] SharedLibrary : libfaad.so [mips64] Install : libfaad.so => libs/mips64/libfaad.so [armeabi-v7a] Compile thumb : faad <= bits.c [armeabi-v7a] Compile thumb : faad <= cfft.c [armeabi-v7a] Compile thumb : faad <= decoder.c [armeabi-v7a] Compile thumb : faad <= drc.c [armeabi-v7a] Compile thumb : faad <= drm_dec.c [armeabi-v7a] Compile thumb : faad <= error.c [armeabi-v7a] Compile thumb : faad <= filtbank.c [armeabi-v7a] Compile thumb : faad <= ic_predict.c [armeabi-v7a] Compile thumb : faad <= is.c [armeabi-v7a] Compile thumb : faad <= lt_predict.c [armeabi-v7a] Compile thumb : faad <= mdct.c [armeabi-v7a] Compile thumb : faad <= mp4.c E:/AV-study/MakeTest/faad/jni/libfaad/mp4.c:279:34: warning: comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if (mp4ASC->sbr_present_flag == -1) ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~ 1 warning generated. [armeabi-v7a] Compile thumb : faad <= ms.c [armeabi-v7a] Compile thumb : faad <= output.c [armeabi-v7a] Compile thumb : faad <= pns.c [armeabi-v7a] Compile thumb : faad <= ps_dec.c [armeabi-v7a] Compile thumb : faad <= ps_syntax.c [armeabi-v7a] Compile thumb : faad <= pulse.c [armeabi-v7a] Compile thumb : faad <= specrec.c E:/AV-study/MakeTest/faad/jni/libfaad/specrec.c:429:1: warning: '/*' within block comment [-Wcomment] /* output = sign(input)*abs(input)^(4/3) */ ^ 1 warning generated. [armeabi-v7a] Compile thumb : faad <= syntax.c E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] while ((sect_len_incr == sect_esc_val) /* && ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: note: remove extraneous parentheses around the comparison to silence this warning while ((sect_len_incr == sect_esc_val) /* && ~ ^ ~ E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: note: use '=' to turn this equality comparison into an assignment while ((sect_len_incr == sect_esc_val) /* && ^~ = 1 warning generated. [armeabi-v7a] Compile thumb : faad <= tns.c [armeabi-v7a] Compile thumb : faad <= hcr.c [armeabi-v7a] Compile thumb : faad <= huffman.c E:/AV-study/MakeTest/faad/jni/libfaad/huffman.c:314:38: warning: implicit conversion from 'int' to 'int16_t' (aka 'short') changes value from 44320 to -21216 [-Wconstant-conversion] else return (int16_t)data & 0xFFFF; ~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~ 1 warning generated. [armeabi-v7a] Compile thumb : faad <= rvlc.c [armeabi-v7a] Compile thumb : faad <= ssr.c [armeabi-v7a] Compile thumb : faad <= ssr_fb.c [armeabi-v7a] Compile thumb : faad <= ssr_ipqf.c [armeabi-v7a] Compile thumb : faad <= common.c [armeabi-v7a] Compile thumb : faad <= sbr_dct.c [armeabi-v7a] Compile thumb : faad <= sbr_e_nf.c [armeabi-v7a] Compile thumb : faad <= sbr_fbt.c [armeabi-v7a] Compile thumb : faad <= sbr_hfadj.c [armeabi-v7a] Compile thumb : faad <= sbr_hfgen.c [armeabi-v7a] Compile thumb : faad <= sbr_huff.c [armeabi-v7a] Compile thumb : faad <= sbr_qmf.c [armeabi-v7a] Compile thumb : faad <= sbr_syntax.c [armeabi-v7a] Compile thumb : faad <= sbr_tf_grid.c [armeabi-v7a] Compile thumb : faad <= sbr_dec.c [armeabi-v7a] SharedLibrary : libfaad.so [armeabi-v7a] Install : libfaad.so => libs/armeabi-v7a/libfaad.so [armeabi] Compile thumb : faad <= bits.c [armeabi] Compile thumb : faad <= cfft.c [armeabi] Compile thumb : faad <= decoder.c [armeabi] Compile thumb : faad <= drc.c [armeabi] Compile thumb : faad <= drm_dec.c [armeabi] Compile thumb : faad <= error.c [armeabi] Compile thumb : faad <= filtbank.c [armeabi] Compile thumb : faad <= ic_predict.c [armeabi] Compile thumb : faad <= is.c [armeabi] Compile thumb : faad <= lt_predict.c [armeabi] Compile thumb : faad <= mdct.c [armeabi] Compile thumb : faad <= mp4.c E:/AV-study/MakeTest/faad/jni/libfaad/mp4.c:279:34: warning: comparison of constant -1 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if (mp4ASC->sbr_present_flag == -1) ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~ 1 warning generated. [armeabi] Compile thumb : faad <= ms.c [armeabi] Compile thumb : faad <= output.c [armeabi] Compile thumb : faad <= pns.c [armeabi] Compile thumb : faad <= ps_dec.c [armeabi] Compile thumb : faad <= ps_syntax.c [armeabi] Compile thumb : faad <= pulse.c [armeabi] Compile thumb : faad <= specrec.c E:/AV-study/MakeTest/faad/jni/libfaad/specrec.c:429:1: warning: '/*' within block comment [-Wcomment] /* output = sign(input)*abs(input)^(4/3) */ ^ 1 warning generated. [armeabi] Compile thumb : faad <= syntax.c E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] while ((sect_len_incr == sect_esc_val) /* && ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: note: remove extraneous parentheses around the comparison to silence this warning while ((sect_len_incr == sect_esc_val) /* && ~ ^ ~ E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: note: use '=' to turn this equality comparison into an assignment while ((sect_len_incr == sect_esc_val) /* && ^~ = 1 warning generated. [armeabi] Compile thumb : faad <= tns.c [armeabi] Compile thumb : faad <= hcr.c [armeabi] Compile thumb : faad <= huffman.c E:/AV-study/MakeTest/faad/jni/libfaad/huffman.c:314:38: warning: implicit conversion from 'int' to 'int16_t' (aka 'short') changes value from 44320 to -21216 [-Wconstant-conversion] else return (int16_t)data & 0xFFFF; ~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~ 1 warning generated. [armeabi] Compile thumb : faad <= rvlc.c [armeabi] Compile thumb : faad <= ssr.c [armeabi] Compile thumb : faad <= ssr_fb.c [armeabi] Compile thumb : faad <= ssr_ipqf.c [armeabi] Compile thumb : faad <= common.c [armeabi] Compile thumb : faad <= sbr_dct.c [armeabi] Compile thumb : faad <= sbr_e_nf.c [armeabi] Compile thumb : faad <= sbr_fbt.c [armeabi] Compile thumb : faad <= sbr_hfadj.c [armeabi] Compile thumb : faad <= sbr_hfgen.c [armeabi] Compile thumb : faad <= sbr_huff.c [armeabi] Compile thumb : faad <= sbr_qmf.c [armeabi] Compile thumb : faad <= sbr_syntax.c [armeabi] Compile thumb : faad <= sbr_tf_grid.c [armeabi] Compile thumb : faad <= sbr_dec.c [armeabi] SharedLibrary : libfaad.so [armeabi] Install : libfaad.so => libs/armeabi/libfaad.so [x86] Compile : faad <= bits.c [x86] Compile : faad <= cfft.c [x86] Compile : faad <= decoder.c [x86] Compile : faad <= drc.c [x86] Compile : faad <= drm_dec.c [x86] Compile : faad <= error.c [x86] Compile : faad <= filtbank.c [x86] Compile : faad <= ic_predict.c [x86] Compile : faad <= is.c [x86] Compile : faad <= lt_predict.c [x86] Compile : faad <= mdct.c [x86] Compile : faad <= mp4.c [x86] Compile : faad <= ms.c [x86] Compile : faad <= output.c [x86] Compile : faad <= pns.c [x86] Compile : faad <= ps_dec.c [x86] Compile : faad <= ps_syntax.c [x86] Compile : faad <= pulse.c [x86] Compile : faad <= specrec.c E:/AV-study/MakeTest/faad/jni/libfaad/specrec.c:429:1: warning: '/*' within block comment [-Wcomment] /* output = sign(input)*abs(input)^(4/3) */ ^ 1 warning generated. [x86] Compile : faad <= syntax.c E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] while ((sect_len_incr == sect_esc_val) /* && ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: note: remove extraneous parentheses around the comparison to silence this warning while ((sect_len_incr == sect_esc_val) /* && ~ ^ ~ E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: note: use '=' to turn this equality comparison into an assignment while ((sect_len_incr == sect_esc_val) /* && ^~ = 1 warning generated. [x86] Compile : faad <= tns.c [x86] Compile : faad <= hcr.c [x86] Compile : faad <= huffman.c E:/AV-study/MakeTest/faad/jni/libfaad/huffman.c:314:38: warning: implicit conversion from 'int' to 'int16_t' (aka 'short') changes value from 44320 to -21216 [-Wconstant-conversion] else return (int16_t)data & 0xFFFF; ~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~ 1 warning generated. [x86] Compile : faad <= rvlc.c [x86] Compile : faad <= ssr.c [x86] Compile : faad <= ssr_fb.c [x86] Compile : faad <= ssr_ipqf.c [x86] Compile : faad <= common.c [x86] Compile : faad <= sbr_dct.c [x86] Compile : faad <= sbr_e_nf.c [x86] Compile : faad <= sbr_fbt.c [x86] Compile : faad <= sbr_hfadj.c [x86] Compile : faad <= sbr_hfgen.c [x86] Compile : faad <= sbr_huff.c [x86] Compile : faad <= sbr_qmf.c [x86] Compile : faad <= sbr_syntax.c [x86] Compile : faad <= sbr_tf_grid.c [x86] Compile : faad <= sbr_dec.c [x86] SharedLibrary : libfaad.so [x86] Install : libfaad.so => libs/x86/libfaad.so [mips] Compile : faad <= bits.c [mips] Compile : faad <= cfft.c [mips] Compile : faad <= decoder.c [mips] Compile : faad <= drc.c [mips] Compile : faad <= drm_dec.c [mips] Compile : faad <= error.c [mips] Compile : faad <= filtbank.c [mips] Compile : faad <= ic_predict.c [mips] Compile : faad <= is.c [mips] Compile : faad <= lt_predict.c [mips] Compile : faad <= mdct.c [mips] Compile : faad <= mp4.c [mips] Compile : faad <= ms.c [mips] Compile : faad <= output.c [mips] Compile : faad <= pns.c [mips] Compile : faad <= ps_dec.c [mips] Compile : faad <= ps_syntax.c [mips] Compile : faad <= pulse.c [mips] Compile : faad <= specrec.c E:/AV-study/MakeTest/faad/jni/libfaad/specrec.c:429:1: warning: '/*' within block comment [-Wcomment] /* output = sign(input)*abs(input)^(4/3) */ ^ 1 warning generated. [mips] Compile : faad <= syntax.c E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] while ((sect_len_incr == sect_esc_val) /* && ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: note: remove extraneous parentheses around the comparison to silence this warning while ((sect_len_incr == sect_esc_val) /* && ~ ^ ~ E:/AV-study/MakeTest/faad/jni/libfaad/syntax.c:1733:35: note: use '=' to turn this equality comparison into an assignment while ((sect_len_incr == sect_esc_val) /* && ^~ = 1 warning generated. [mips] Compile : faad <= tns.c [mips] Compile : faad <= hcr.c [mips] Compile : faad <= huffman.c E:/AV-study/MakeTest/faad/jni/libfaad/huffman.c:314:38: warning: implicit conversion from 'int' to 'int16_t' (aka 'short') changes value from 44320 to -21216 [-Wconstant-conversion] else return (int16_t)data & 0xFFFF; ~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~ 1 warning generated. [mips] Compile : faad <= rvlc.c [mips] Compile : faad <= ssr.c [mips] Compile : faad <= ssr_fb.c [mips] Compile : faad <= ssr_ipqf.c [mips] Compile : faad <= common.c [mips] Compile : faad <= sbr_dct.c [mips] Compile : faad <= sbr_e_nf.c [mips] Compile : faad <= sbr_fbt.c [mips] Compile : faad <= sbr_hfadj.c [mips] Compile : faad <= sbr_hfgen.c [mips] Compile : faad <= sbr_huff.c [mips] Compile : faad <= sbr_qmf.c [mips] Compile : faad <= sbr_syntax.c [mips] Compile : faad <= sbr_tf_grid.c [mips] Compile : faad <= sbr_dec.c [mips] SharedLibrary : libfaad.so [mips] Install : libfaad.so => libs/mips/libfaad.so此时查看libs
相关文章推荐
- android音频(三)——利用ndk直接编译faac和faad(续2)
- android音频(三)——利用ndk直接编译faac和faad
- 利用Android源码工具链直接编译c文件
- 如何在android中利用NDK编译引入ffmpeg--- Syntax error: word unexpected (expecting ")")
- 在window下,简单利用NDK编译c/c++文件,在android项目中调用。
- 利用 CMake 和 NDK 交叉编译 Android 下的可执行程序
- MAC系统下利用NDK编译可供Android使用的FFmpeg(3.2.4)库
- 【ndk】直接使用ndk提供的arm-linux-androideabi-gcc编译android可执行程序
- 在Android上利用NDK编译并使用Spatialite库(Windows环境)
- android ndk-build IncrediBuild 分布式编译设置
- cocos2dx, 编译android 的NDK_MODULE_PATH的设置
- 求教,是否直接可以调用android的libmedia.so库进行音频播放
- 利用makefile将添加的资源文件编译到Android系统中
- 利用VC6下VC中cl.exe直接编译源码(转)
- 【Cocos2dx通信(Http&Socket)相关编译到Android细节总结】编译加入curl关联lib与头文件 && 解决pthread的cancel函数NDK不支持,找不到sockaddr_i
- Android录屏并利用FFmpeg转换成gif(二)交叉编译FFmpeg源码
- Android-Ndk Cmake编译JNI
- ffmpeg lame faad faac 的编译
- android开发 NDK 编译和使用静态库、动态库
- android-ndk-r8d 编译 x264 方法