summaryrefslogtreecommitdiff
path: root/libavcodec/mips/pixblockdsp_mips.h
diff options
context:
space:
mode:
author周晓勇 <zhouxiaoyong@loongson.cn>2015-07-22 15:10:38 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-22 12:11:31 +0200
commit3e35f8efa18d9b77bbdb16d9c61e387241a7bd83 (patch)
treea524ba992188be6a1b1a2570164fdb28491e2bae /libavcodec/mips/pixblockdsp_mips.h
parent6b2bb3d231f81780b0bb12193e9ca29ddf2c474a (diff)
avcodec: loongson optimize pixblockdsp with mmi
Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mips/pixblockdsp_mips.h')
-rw-r--r--libavcodec/mips/pixblockdsp_mips.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/mips/pixblockdsp_mips.h b/libavcodec/mips/pixblockdsp_mips.h
index 3eee6e0159..7f8cc96683 100644
--- a/libavcodec/mips/pixblockdsp_mips.h
+++ b/libavcodec/mips/pixblockdsp_mips.h
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2015 Shivraj Patil (Shivraj.Patil@imgtec.com)
+ * Zhou Xiaoyong <zhouxiaoyong@loongson.cn>
*
* This file is part of FFmpeg.
*
@@ -30,4 +31,9 @@ void ff_get_pixels_16_msa(int16_t *restrict dst, const uint8_t *src,
void ff_get_pixels_8_msa(int16_t *restrict dst, const uint8_t *src,
ptrdiff_t stride);
+void ff_get_pixels_8_mmi(int16_t *av_restrict block, const uint8_t *pixels,
+ ptrdiff_t line_size);
+void ff_diff_pixels_mmi(int16_t *av_restrict block, const uint8_t *src1,
+ const uint8_t *src2, int stride);
+
#endif // #ifndef AVCODEC_MIPS_PIXBLOCKDSP_MIPS_H