From 49cc1cba63fb1e3b70ca1d98765f075a1b3184cc Mon Sep 17 00:00:00 2001 From: xufulong <839789740@qq.com> Date: Sun, 14 Jun 2020 21:51:37 +0800 Subject: [PATCH] customize arm of path customize arm of path --- app/src/main/cpp/include/libavcodec/mathops.h | 26 ++++++++++--------- app/src/main/cpp/include/libavutil/timer.h | 22 +++++++++------- 2 files changed, 26 insertions(+), 22 deletions(-) diff --git a/app/src/main/cpp/include/libavcodec/mathops.h b/app/src/main/cpp/include/libavcodec/mathops.h index 1c35664..1416733 100644 --- a/app/src/main/cpp/include/libavcodec/mathops.h +++ b/app/src/main/cpp/include/libavcodec/mathops.h @@ -26,7 +26,7 @@ #include "libavutil/common.h" #include "libavutil/reverse.h" -#include "config.h" +#include "ffmpeg/config.h" #define MAX_NEG_CROP 1024 @@ -36,17 +36,19 @@ extern const uint8_t ff_crop_tab[256 + 2 * MAX_NEG_CROP]; extern const uint8_t ff_zigzag_direct[64]; extern const uint8_t ff_zigzag_scan[16+1]; -#if ARCH_ARM -# include "arm/mathops.h" -#elif ARCH_AVR32 -# include "avr32/mathops.h" -#elif ARCH_MIPS -# include "mips/mathops.h" -#elif ARCH_PPC -# include "ppc/mathops.h" -#elif ARCH_X86 -# include "x86/mathops.h" -#endif +//TODO +#include "libavcodec/arm/mathops.h" +//#if ARCH_ARM +//# include "arm/mathops.h" +//#elif ARCH_AVR32 +//# include "avr32/mathops.h" +//#elif ARCH_MIPS +//# include "mips/mathops.h" +//#elif ARCH_PPC +//# include "ppc/mathops.h" +//#elif ARCH_X86 +//# include "x86/mathops.h" +//#endif /* generic implementation */ diff --git a/app/src/main/cpp/include/libavutil/timer.h b/app/src/main/cpp/include/libavutil/timer.h index 0bb353c..52ee3b6 100644 --- a/app/src/main/cpp/include/libavutil/timer.h +++ b/app/src/main/cpp/include/libavutil/timer.h @@ -26,7 +26,7 @@ #ifndef AVUTIL_TIMER_H #define AVUTIL_TIMER_H -#include "config.h" +#include "ffmpeg/config.h" #if CONFIG_LINUX_PERF # ifndef _GNU_SOURCE @@ -48,15 +48,17 @@ #include "log.h" -#if ARCH_AARCH64 -# include "aarch64/timer.h" -#elif ARCH_ARM -# include "arm/timer.h" -#elif ARCH_PPC -# include "ppc/timer.h" -#elif ARCH_X86 -# include "x86/timer.h" -#endif +//TODO +#include "libavutil/arm/timer.h" +//#if ARCH_AARCH64 +//# include "aarch64/timer.h" +//#elif ARCH_ARM +//# include "arm/timer.h" +//#elif ARCH_PPC +//# include "ppc/timer.h" +//#elif ARCH_X86 +//# include "x86/timer.h" +//#endif #if !defined(AV_READ_TIME) # if HAVE_GETHRTIME