aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mips/simple_idct_mmi.c
diff options
context:
space:
mode:
author周晓勇 <zhouxiaoyong@loongson.cn>2015-09-02 18:00:24 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2015-09-08 01:04:36 +0200
commita78656a18784e0ef42350b7585f5d9ecf505eb9b (patch)
treeacb655f690bb596a677fc01bdc78b863869155cd /libavcodec/mips/simple_idct_mmi.c
parent124b7cd48533c5e050a6f0dc00506c2788ebf7cb (diff)
downloadffmpeg-a78656a18784e0ef42350b7585f5d9ecf505eb9b.tar.gz
avcodec: loongson delete invalid simple idct put and add optimization
Change-Id: I23a36c65915f01a1cf20e317c14b8eaaa62958b4 Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn> Fixes Decoding of http://loongnix.org/ftp/multimedia/testing/nanocore_720p_24fps_mpeg4_ac3_short.avi Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mips/simple_idct_mmi.c')
-rw-r--r--libavcodec/mips/simple_idct_mmi.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/libavcodec/mips/simple_idct_mmi.c b/libavcodec/mips/simple_idct_mmi.c
index 3c1a4f7eaf..628e13f7d2 100644
--- a/libavcodec/mips/simple_idct_mmi.c
+++ b/libavcodec/mips/simple_idct_mmi.c
@@ -54,7 +54,7 @@ DECLARE_ALIGNED(8, static const int16_t, coeffs)[]= {
C3, -C1, C3, -C1
};
-static void simple_idct_mmi(int16_t *block)
+void ff_simple_idct_mmi(int16_t *block)
{
DECLARE_ALIGNED(8, int64_t, align_tmp)[16];
int16_t * const temp= (int16_t*)align_tmp;
@@ -814,20 +814,3 @@ static void simple_idct_mmi(int16_t *block)
: "$10","$11"
);
}
-
-void ff_simple_idct_mmi(int16_t *block)
-{
- simple_idct_mmi(block);
-}
-
-void ff_simple_idct_put_mmi(uint8_t *dest, int32_t line_size, int16_t *block)
-{
- simple_idct_mmi(block);
- ff_put_pixels_clamped_mmi(block, dest, line_size);
-}
-
-void ff_simple_idct_add_mmi(uint8_t *dest, int32_t line_size, int16_t *block)
-{
- simple_idct_mmi(block);
- ff_add_pixels_clamped_mmi(block, dest, line_size);
-}