aboutsummaryrefslogtreecommitdiffstats
path: root/libFDK/include
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2022-11-04 23:46:45 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-11-04 23:46:45 +0000
commit2032bc891fac0106f57b609bf258de6ccff1f611 (patch)
tree5b478be0fd3cfcec8935ea5639250931d400b955 /libFDK/include
parent433a135d67bad04e80044c1c59962e509cd2bd4c (diff)
parenta30d828f33c6253bad919890db559db84e4cc719 (diff)
downloadfdk-aac-2032bc891fac0106f57b609bf258de6ccff1f611.tar.gz
fdk-aac-2032bc891fac0106f57b609bf258de6ccff1f611.tar.bz2
fdk-aac-2032bc891fac0106f57b609bf258de6ccff1f611.zip
Merge "Add riscv64 support" am: 75e9f62078 am: 87b22603e8 am: a30d828f33
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2171525 Change-Id: I0d4764f69e5075df012ee7ad7c059881dcff69d5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'libFDK/include')
-rw-r--r--libFDK/include/FDK_archdef.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libFDK/include/FDK_archdef.h b/libFDK/include/FDK_archdef.h
index 95601bb..3d0cddf 100644
--- a/libFDK/include/FDK_archdef.h
+++ b/libFDK/include/FDK_archdef.h
@@ -219,6 +219,13 @@ amm-info@iis.fraunhofer.de
#define POW2COEFF_16BIT
#define LDCOEFF_16BIT
+#elif defined(__riscv)
+#define ARCH_PREFER_MULT_32x16
+#define SINETABLE_16BIT
+#define POW2COEFF_16BIT
+#define LDCOEFF_16BIT
+#define WINDOWTABLE_16BIT
+
#else
#warning >>>> Please set architecture characterization defines for your platform (FDK_HIGH_PERFORMANCE)! <<<<