From 43dfa7d084bf6629d8513c3f69f8101609a9c565 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 10 Jul 2024 09:05:52 -0400 Subject: opus: Re-add IRAM hints to some constant tables Was accidently disabled in 14c6bb798d6bebc80f07e863236adbaf8d156a9c (in January 2019) See 8e8671a73efe117bd34815e3f4c16f3178143774 for the benchmarks. Change-Id: I3d558f8cfc041a14d0a1e55da3b042c7d01089e8 --- lib/rbcodec/codecs/libopus/celt/cwrs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/rbcodec/codecs/libopus/celt/cwrs.c') diff --git a/lib/rbcodec/codecs/libopus/celt/cwrs.c b/lib/rbcodec/codecs/libopus/celt/cwrs.c index a552e4f0fb..69c5894e2f 100644 --- a/lib/rbcodec/codecs/libopus/celt/cwrs.c +++ b/lib/rbcodec/codecs/libopus/celt/cwrs.c @@ -210,7 +210,7 @@ int log2_frac(opus_uint32 val, int frac) #if defined(CUSTOM_MODES) static const opus_uint32 CELT_PVQ_U_DATA[1488]={ #else -static const opus_uint32 CELT_PVQ_U_DATA[1272]={ +static const opus_uint32 CELT_PVQ_U_DATA[1272] ICONST_ATTR ={ #endif /*N=0, K=0...176:*/ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -410,7 +410,7 @@ static const opus_uint32 CELT_PVQ_U_DATA[1272]={ }; #if defined(CUSTOM_MODES) -static const opus_uint32 *const CELT_PVQ_U_ROW[15]={ +static const opus_uint32 *const CELT_PVQ_U_ROW[15] ICONST_ATTR ={ CELT_PVQ_U_DATA+ 0,CELT_PVQ_U_DATA+ 208,CELT_PVQ_U_DATA+ 415, CELT_PVQ_U_DATA+ 621,CELT_PVQ_U_DATA+ 826,CELT_PVQ_U_DATA+1030, CELT_PVQ_U_DATA+1233,CELT_PVQ_U_DATA+1336,CELT_PVQ_U_DATA+1389, -- cgit v1.2.3