diff options
Diffstat (limited to 'apps/codecs/libfaad/sbr_hfadj.c')
-rw-r--r-- | apps/codecs/libfaad/sbr_hfadj.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/apps/codecs/libfaad/sbr_hfadj.c b/apps/codecs/libfaad/sbr_hfadj.c index 806604519b..b562bf904a 100644 --- a/apps/codecs/libfaad/sbr_hfadj.c +++ b/apps/codecs/libfaad/sbr_hfadj.c | |||
@@ -62,7 +62,7 @@ void hf_adjustment(sbr_info *sbr, qmf_t Xsbr[MAX_NTSRHFG][64] | |||
62 | #endif | 62 | #endif |
63 | ,uint8_t ch) | 63 | ,uint8_t ch) |
64 | { | 64 | { |
65 | ALIGN sbr_hfadj_info adj; | 65 | sbr_hfadj_info adj MEM_ALIGN_ATTR; |
66 | 66 | ||
67 | memset(&adj,0,sizeof(adj)); | 67 | memset(&adj,0,sizeof(adj)); |
68 | if (sbr->bs_frame_class[ch] == FIXFIX) | 68 | if (sbr->bs_frame_class[ch] == FIXFIX) |
@@ -416,10 +416,10 @@ static void calculate_gain(sbr_info *sbr, sbr_hfadj_info *adj, uint8_t ch) | |||
416 | uint8_t current_t_noise_band = 0; | 416 | uint8_t current_t_noise_band = 0; |
417 | uint8_t S_mapped; | 417 | uint8_t S_mapped; |
418 | 418 | ||
419 | ALIGN real_t Q_M_lim[MAX_M]; | 419 | real_t Q_M_lim[MAX_M] MEM_ALIGN_ATTR; |
420 | ALIGN real_t G_lim[MAX_M]; | 420 | real_t G_lim[MAX_M] MEM_ALIGN_ATTR; |
421 | ALIGN real_t G_boost; | 421 | real_t G_boost MEM_ALIGN_ATTR; |
422 | ALIGN real_t S_M[MAX_M]; | 422 | real_t S_M[MAX_M] MEM_ALIGN_ATTR; |
423 | 423 | ||
424 | for (l = 0; l < sbr->L_E[ch]; l++) | 424 | for (l = 0; l < sbr->L_E[ch]; l++) |
425 | { | 425 | { |
@@ -879,10 +879,10 @@ static void calculate_gain(sbr_info *sbr, sbr_hfadj_info *adj, uint8_t ch) | |||
879 | uint8_t current_t_noise_band = 0; | 879 | uint8_t current_t_noise_band = 0; |
880 | uint8_t S_mapped; | 880 | uint8_t S_mapped; |
881 | 881 | ||
882 | ALIGN real_t Q_M_lim[MAX_M]; | 882 | real_t Q_M_lim[MAX_M] MEM_ALIGN_ATTR; |
883 | ALIGN real_t G_lim[MAX_M]; | 883 | real_t G_lim[MAX_M] MEM_ALIGN_ATTR; |
884 | ALIGN real_t G_boost; | 884 | real_t G_boost MEM_ALIGN_ATTR; |
885 | ALIGN real_t S_M[MAX_M]; | 885 | real_t S_M[MAX_M] MEM_ALIGN_ATTR; |
886 | 886 | ||
887 | for (l = 0; l < sbr->L_E[ch]; l++) | 887 | for (l = 0; l < sbr->L_E[ch]; l++) |
888 | { | 888 | { |
@@ -1126,10 +1126,10 @@ static void calculate_gain(sbr_info *sbr, sbr_hfadj_info *adj, uint8_t ch) | |||
1126 | uint8_t current_t_noise_band = 0; | 1126 | uint8_t current_t_noise_band = 0; |
1127 | uint8_t S_mapped; | 1127 | uint8_t S_mapped; |
1128 | 1128 | ||
1129 | ALIGN real_t Q_M_lim[MAX_M]; | 1129 | real_t Q_M_lim[MAX_M] MEM_ALIGN_ATTR; |
1130 | ALIGN real_t G_lim[MAX_M]; | 1130 | real_t G_lim[MAX_M] MEM_ALIGN_ATTR; |
1131 | ALIGN real_t G_boost; | 1131 | real_t G_boost MEM_ALIGN_ATTR; |
1132 | ALIGN real_t S_M[MAX_M]; | 1132 | real_t S_M[MAX_M] MEM_ALIGN_ATTR; |
1133 | 1133 | ||
1134 | for (l = 0; l < sbr->L_E[ch]; l++) | 1134 | for (l = 0; l < sbr->L_E[ch]; l++) |
1135 | { | 1135 | { |