aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mips/constants.c
diff options
context:
space:
mode:
authorZhou Xiaoyong <zhouxiaoyong@loongson.cn>2016-05-17 19:12:54 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2016-05-21 17:13:13 +0200
commitc749be9eb3499e82a66617c306d04b8b30e60e0d (patch)
tree42e15057237b7bba1c54a13bb829093675b27ffc /libavcodec/mips/constants.c
parent4a963ee698c03570659c6f46fd2407cbda639a2d (diff)
downloadffmpeg-c749be9eb3499e82a66617c306d04b8b30e60e0d.tar.gz
avcodec/mips: loongson optimize h264pred with mmi v3
1. no longer use the register names directly and optimized code format 2. to be compatible with O32, specify type of address variable with mips_reg and handle the address variable with PTR_ operator 3. ff_pred16x16_plane_ functions only support N64 ABI now Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mips/constants.c')
-rw-r--r--libavcodec/mips/constants.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mips/constants.c b/libavcodec/mips/constants.c
index f8130d9ee1..3503fad37b 100644
--- a/libavcodec/mips/constants.c
+++ b/libavcodec/mips/constants.c
@@ -24,6 +24,7 @@
#include "constants.h"
DECLARE_ALIGNED(8, const uint64_t, ff_pw_1) = {0x0001000100010001ULL};
+DECLARE_ALIGNED(8, const uint64_t, ff_pw_2) = {0x0002000200020002ULL};
DECLARE_ALIGNED(8, const uint64_t, ff_pw_3) = {0x0003000300030003ULL};
DECLARE_ALIGNED(8, const uint64_t, ff_pw_4) = {0x0004000400040004ULL};
DECLARE_ALIGNED(8, const uint64_t, ff_pw_5) = {0x0005000500050005ULL};