diff options
author | ZhouXiaoyong <zhouxiaoyong@loongson.cn> | 2015-04-15 20:18:15 +0800 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-25 13:17:28 +0200 |
commit | 6c5ef7f65732e87866218b601eba6bd28acb5cb5 (patch) | |
tree | ef4065932b04e3f1e0598cdc6bca14ad272e802a /libavcodec/mips/sbrdsp_mips.c | |
parent | d49210788b0836d56dd872d517fe73f83b080101 (diff) | |
download | ffmpeg-streaming-6c5ef7f65732e87866218b601eba6bd28acb5cb5.zip ffmpeg-streaming-6c5ef7f65732e87866218b601eba6bd28acb5cb5.tar.gz |
avcodec/mips: disable assembly not supported for Loongson-3
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mips/sbrdsp_mips.c')
-rw-r--r-- | libavcodec/mips/sbrdsp_mips.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/mips/sbrdsp_mips.c b/libavcodec/mips/sbrdsp_mips.c index c203095..63361e4 100644 --- a/libavcodec/mips/sbrdsp_mips.c +++ b/libavcodec/mips/sbrdsp_mips.c @@ -438,6 +438,7 @@ static void sbr_qmf_deint_bfly_mips(float *v, const float *src0, const float *sr } } +#if !HAVE_LOONGSON3 static void sbr_autocorrelate_mips(const float x[40][2], float phi[3][2][2]) { int i; @@ -606,6 +607,7 @@ static void sbr_autocorrelate_mips(const float x[40][2], float phi[3][2][2]) : "memory" ); } +#endif /* !HAVE_LOONGSON3 */ static void sbr_hf_gen_mips(float (*X_high)[2], const float (*X_low)[2], const float alpha0[2], const float alpha1[2], @@ -894,7 +896,9 @@ void ff_sbrdsp_init_mips(SBRDSPContext *s) s->sum64x5 = sbr_sum64x5_mips; s->sum_square = sbr_sum_square_mips; s->qmf_deint_bfly = sbr_qmf_deint_bfly_mips; +#if !HAVE_LOONGSON3 s->autocorrelate = sbr_autocorrelate_mips; +#endif /* !HAVE_LOONGSON3 */ s->hf_gen = sbr_hf_gen_mips; s->hf_g_filt = sbr_hf_g_filt_mips; |