|
|
@ -1,17 +1,17 @@ |
|
|
|
--- a/libavcodec/mdct_template.c
|
|
|
|
+++ b/libavcodec/mdct_template.c
|
|
|
|
@@ -102,7 +102,7 @@ av_cold int ff_mdct_init(FFTContext *s, int nbits, int inverse, double scale)
|
|
|
|
* @param output N/2 samples |
|
|
|
* @param input N/2 samples |
|
|
|
--- a/libavcodec/aacdec_template.c
|
|
|
|
+++ b/libavcodec/aacdec_template.c
|
|
|
|
@@ -2482,7 +2482,7 @@ static int decode_extension_payload(AACContext *ac, GetBitContext *gb, int cnt,
|
|
|
|
* @param decode 1 if tool is used normally, 0 if tool is used in LTP. |
|
|
|
* @param coef spectral coefficients |
|
|
|
*/ |
|
|
|
-void ff_imdct_half_c(FFTContext *s, FFTSample *output, const FFTSample *input)
|
|
|
|
+void __attribute__((optimize(0))) ff_imdct_half_c(FFTContext *s, FFTSample *output, const FFTSample *input)
|
|
|
|
-static void apply_tns(INTFLOAT coef_param[1024], TemporalNoiseShaping *tns,
|
|
|
|
+static __attribute__((optimize(0))) void apply_tns(INTFLOAT coef_param[1024], TemporalNoiseShaping *tns,
|
|
|
|
IndividualChannelStream *ics, int decode) |
|
|
|
{ |
|
|
|
int k, n8, n4, n2, n, j; |
|
|
|
const uint16_t *revtab = s->revtab; |
|
|
|
const int mmm = FFMIN(ics->tns_max_bands, ics->max_sfb); |
|
|
|
--- a/libavcodec/aacps.c
|
|
|
|
+++ b/libavcodec/aacps.c
|
|
|
|
@@ -659,7 +659,7 @@
|
|
|
|
@@ -659,7 +659,7 @@ static void map_val_20_to_34(INTFLOAT par[PS_MAX_NR_IIDICC])
|
|
|
|
par[ 1] = AAC_HALF_SUM(par[ 0], par[ 1]); |
|
|
|
} |
|
|
|
|
|
|
@ -22,7 +22,7 @@ |
|
|
|
LOCAL_ALIGNED_16(INTFLOAT, transient_gain, [34], [PS_QMF_TIME_SLOTS]); |
|
|
|
--- a/libavcodec/fft_template.c
|
|
|
|
+++ b/libavcodec/fft_template.c
|
|
|
|
@@ -538,7 +538,7 @@
|
|
|
|
@@ -562,7 +562,7 @@ static void fft##n(FFTComplex *z)\
|
|
|
|
pass(z,FFT_NAME(ff_cos_##n),n4/2);\ |
|
|
|
} |
|
|
|
|
|
|
@ -31,7 +31,7 @@ |
|
|
|
{ |
|
|
|
FFTDouble t1, t2, t3, t4, t5, t6, t7, t8; |
|
|
|
|
|
|
|
@@ -552,7 +552,7 @@
|
|
|
|
@@ -576,7 +576,7 @@ static void fft4(FFTComplex *z)
|
|
|
|
BF(z[2].im, z[0].im, t2, t5); |
|
|
|
} |
|
|
|
|
|
|
@ -40,14 +40,14 @@ |
|
|
|
{ |
|
|
|
FFTDouble t1, t2, t3, t4, t5, t6; |
|
|
|
|
|
|
|
--- a/libavcodec/aacdec_template.c
|
|
|
|
+++ b/libavcodec/aacdec_template.c
|
|
|
|
@@ -2483,7 +2483,7 @@
|
|
|
|
* @param decode 1 if tool is used normally, 0 if tool is used in LTP. |
|
|
|
* @param coef spectral coefficients |
|
|
|
--- a/libavcodec/mdct_template.c
|
|
|
|
+++ b/libavcodec/mdct_template.c
|
|
|
|
@@ -102,7 +102,7 @@ av_cold int ff_mdct_init(FFTContext *s, int nbits, int inverse, double scale)
|
|
|
|
* @param output N/2 samples |
|
|
|
* @param input N/2 samples |
|
|
|
*/ |
|
|
|
-static void apply_tns(INTFLOAT coef_param[1024], TemporalNoiseShaping *tns,
|
|
|
|
+static __attribute__((optimize(0))) void apply_tns(INTFLOAT coef_param[1024], TemporalNoiseShaping *tns,
|
|
|
|
IndividualChannelStream *ics, int decode) |
|
|
|
-void ff_imdct_half_c(FFTContext *s, FFTSample *output, const FFTSample *input)
|
|
|
|
+void __attribute__((optimize(0))) ff_imdct_half_c(FFTContext *s, FFTSample *output, const FFTSample *input)
|
|
|
|
{ |
|
|
|
const int mmm = FFMIN(ics->tns_max_bands, ics->max_sfb); |
|
|
|
int k, n8, n4, n2, n, j; |
|
|
|
const uint16_t *revtab = s->revtab; |
|
|
|