aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mips/mpegaudiodsp_mips_float.c
diff options
context:
space:
mode:
author周晓勇 <zhouxiaoyong@loongson.cn>2015-07-03 18:10:41 +0800
committerMichael Niedermayer <michaelni@gmx.at>2015-07-06 21:16:53 +0200
commit72aaca748847f3add8349deb1577667b3964fe24 (patch)
treece67ee2de3d145d0a956c513a68b2e70121cca36 /libavcodec/mips/mpegaudiodsp_mips_float.c
parenta3a61d4663ab7f2a26dd6d246d3884a166c8c626 (diff)
downloadffmpeg-72aaca748847f3add8349deb1577667b3964fe24.tar.gz
avcodec: loongson remove useless macros in mipsfpu optimization
Loongson has disabled all mipsfpu optimization as fate-test faild. Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mips/mpegaudiodsp_mips_float.c')
-rw-r--r--libavcodec/mips/mpegaudiodsp_mips_float.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/mips/mpegaudiodsp_mips_float.c b/libavcodec/mips/mpegaudiodsp_mips_float.c
index beebace544..bd36894d31 100644
--- a/libavcodec/mips/mpegaudiodsp_mips_float.c
+++ b/libavcodec/mips/mpegaudiodsp_mips_float.c
@@ -278,7 +278,6 @@ static void ff_mpadsp_apply_window_mips_float(float *synth_buf, float *window,
);
}
-#if !HAVE_LOONGSON3
static void ff_dct32_mips_float(float *out, const float *tab)
{
float val0 , val1 , val2 , val3 , val4 , val5 , val6 , val7,
@@ -787,7 +786,6 @@ static void ff_dct32_mips_float(float *out, const float *tab)
out[15] = val30 + val17;
out[31] = val31;
}
-#endif /* !HAVE_LOONGSON3 */
static void imdct36_mips_float(float *out, float *buf, float *in, float *win)
{
@@ -1226,7 +1224,6 @@ static void imdct36_mips_float(float *out, float *buf, float *in, float *win)
);
}
-#if !HAVE_LOONGSON3
static void ff_imdct36_blocks_mips_float(float *out, float *buf, float *in,
int count, int switch_point, int block_type)
{
@@ -1245,13 +1242,10 @@ static void ff_imdct36_blocks_mips_float(float *out, float *buf, float *in,
out++;
}
}
-#endif /* !HAVE_LOONGSON3 */
void ff_mpadsp_init_mipsfpu(MPADSPContext *s)
{
s->apply_window_float = ff_mpadsp_apply_window_mips_float;
-#if !HAVE_LOONGSON3
s->imdct36_blocks_float = ff_imdct36_blocks_mips_float;
s->dct32_float = ff_dct32_mips_float;
-#endif /* !HAVE_LOONGSON3 */
}