diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-07-10 09:05:52 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-07-10 09:23:33 -0400 |
commit | 43dfa7d084bf6629d8513c3f69f8101609a9c565 (patch) | |
tree | 7428844e0325243d0187e1281ec6abe4a51a83ad /lib/rbcodec/codecs/libopus/celt/cwrs.c | |
parent | 67b5fa06d5b128ad66d1f4b946c9080387171529 (diff) | |
download | rockbox-43dfa7d084bf6629d8513c3f69f8101609a9c565.tar.gz rockbox-43dfa7d084bf6629d8513c3f69f8101609a9c565.zip |
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
Diffstat (limited to 'lib/rbcodec/codecs/libopus/celt/cwrs.c')
-rw-r--r-- | lib/rbcodec/codecs/libopus/celt/cwrs.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
210 | #if defined(CUSTOM_MODES) | 210 | #if defined(CUSTOM_MODES) |
211 | static const opus_uint32 CELT_PVQ_U_DATA[1488]={ | 211 | static const opus_uint32 CELT_PVQ_U_DATA[1488]={ |
212 | #else | 212 | #else |
213 | static const opus_uint32 CELT_PVQ_U_DATA[1272]={ | 213 | static const opus_uint32 CELT_PVQ_U_DATA[1272] ICONST_ATTR ={ |
214 | #endif | 214 | #endif |
215 | /*N=0, K=0...176:*/ | 215 | /*N=0, K=0...176:*/ |
216 | 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, | 216 | 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]={ | |||
410 | }; | 410 | }; |
411 | 411 | ||
412 | #if defined(CUSTOM_MODES) | 412 | #if defined(CUSTOM_MODES) |
413 | static const opus_uint32 *const CELT_PVQ_U_ROW[15]={ | 413 | static const opus_uint32 *const CELT_PVQ_U_ROW[15] ICONST_ATTR ={ |
414 | CELT_PVQ_U_DATA+ 0,CELT_PVQ_U_DATA+ 208,CELT_PVQ_U_DATA+ 415, | 414 | CELT_PVQ_U_DATA+ 0,CELT_PVQ_U_DATA+ 208,CELT_PVQ_U_DATA+ 415, |
415 | CELT_PVQ_U_DATA+ 621,CELT_PVQ_U_DATA+ 826,CELT_PVQ_U_DATA+1030, | 415 | CELT_PVQ_U_DATA+ 621,CELT_PVQ_U_DATA+ 826,CELT_PVQ_U_DATA+1030, |
416 | CELT_PVQ_U_DATA+1233,CELT_PVQ_U_DATA+1336,CELT_PVQ_U_DATA+1389, | 416 | CELT_PVQ_U_DATA+1233,CELT_PVQ_U_DATA+1336,CELT_PVQ_U_DATA+1389, |