summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2012-01-12 15:10:01 +0200
committerMartin Storsjo <martin@martin.st>2012-02-24 20:56:11 +0200
commit8a3b3707a6e320ba75f4ecd47fdc001f16c15cb8 (patch)
tree78fce9566c00f447a4979e664afa1d7ec22af038
parentb86b3c8f976b70635770d93217132d4023ecf33f (diff)
downloadframeworks_av-8a3b3707a6e320ba75f4ecd47fdc001f16c15cb8.zip
frameworks_av-8a3b3707a6e320ba75f4ecd47fdc001f16c15cb8.tar.gz
frameworks_av-8a3b3707a6e320ba75f4ecd47fdc001f16c15cb8.tar.bz2
stagefright aacenc: Add prototypes for arm specific implementations of functions
The arm specific functions are implemented in .s files, without any function declarations in headers. This fixes compiler warnings about implicit declarations of these functions. Change-Id: I1512560b6740c1879f378886e05aaad2e3a6c869
-rw-r--r--media/libstagefright/codecs/aacenc/src/transform.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/aacenc/src/transform.c b/media/libstagefright/codecs/aacenc/src/transform.c
index a154a2f..a02336f 100644
--- a/media/libstagefright/codecs/aacenc/src/transform.c
+++ b/media/libstagefright/codecs/aacenc/src/transform.c
@@ -339,6 +339,12 @@ static void PostMDCT(int *buf0, int num, const int *csptr)
*buf1-- = MULHIGH(cosb, tr2) + MULHIGH(sinb, ti2);
}
}
+#else
+void Radix4First(int *buf, int num);
+void Radix8First(int *buf, int num);
+void Radix4FFT(int *buf, int num, int bgn, int *twidTab);
+void PreMDCT(int *buf0, int num, const int *csptr);
+void PostMDCT(int *buf0, int num, const int *csptr);
#endif