summaryrefslogtreecommitdiff
path: root/libavcodec/aacsbrdata.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-01-13 14:31:18 +0000
committerMans Rullgard <mans@mansr.com>2012-01-28 14:56:18 +0000
commit8996ed2b7324f35798c4198b495f8a6955d2047d (patch)
treeef7f03c11dc75aca6ff932593e317e8183382ed8 /libavcodec/aacsbrdata.h
parentaac46e088d67a390489af686b846dea4987d8ffb (diff)
downloadffmpeg-8996ed2b7324f35798c4198b495f8a6955d2047d.tar.gz
aacsbr: align some arrays
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/aacsbrdata.h')
-rw-r--r--libavcodec/aacsbrdata.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/aacsbrdata.h b/libavcodec/aacsbrdata.h
index 02491c3356..fb02a77f7d 100644
--- a/libavcodec/aacsbrdata.h
+++ b/libavcodec/aacsbrdata.h
@@ -352,7 +352,8 @@ static DECLARE_ALIGNED(16, float, sbr_qmf_window_us)[640] = {
0.8537385600,
};
-const float ff_sbr_noise_table[512][2] = {
+/* First two entries repeated at end to simplify SIMD implementations. */
+const DECLARE_ALIGNED(16, float, ff_sbr_noise_table)[][2] = {
{-0.99948153278296, -0.59483417516607}, { 0.97113454393991, -0.67528515225647},
{ 0.14130051758487, -0.95090983575689}, {-0.47005496701697, -0.37340549728647},
{ 0.80705063769351, 0.29653668284408}, {-0.38981478896926, 0.89572605717087},
@@ -609,6 +610,7 @@ const float ff_sbr_noise_table[512][2] = {
{-0.93412041758744, 0.41374052024363}, { 0.96063943315511, 0.93116709541280},
{ 0.97534253457837, 0.86150930812689}, { 0.99642466504163, 0.70190043427512},
{-0.94705089665984, -0.29580042814306}, { 0.91599807087376, -0.98147830385781},
+{-0.99948153278296, -0.59483417516607}, { 0.97113454393991, -0.67528515225647},
};
#endif /* AVCODEC_AACSBRDATA_H */