summaryrefslogtreecommitdiff
path: root/libavcodec/pixblockdsp.c
diff options
context:
space:
mode:
authorShivraj Patil <shivraj.patil@imgtec.com>2015-06-14 23:26:26 +0530
committerMichael Niedermayer <michaelni@gmx.at>2015-06-29 12:03:43 +0200
commitd9deae04a78b6b698b90d050a67a3bd9155aba74 (patch)
treebd206629dbbe92e8704746195c793abca9f7f91a /libavcodec/pixblockdsp.c
parent21cede9e970aca7aa0981f7be8378d48fd8e7730 (diff)
downloadffmpeg-d9deae04a78b6b698b90d050a67a3bd9155aba74.tar.gz
avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for pixblock functions
This patch adds MSA (MIPS-SIMD-Arch) optimizations for pixblock functions in new file pixblockdsp_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/pixblockdsp.c')
-rw-r--r--libavcodec/pixblockdsp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/pixblockdsp.c b/libavcodec/pixblockdsp.c
index ebde68b6a4..322e1dd111 100644
--- a/libavcodec/pixblockdsp.c
+++ b/libavcodec/pixblockdsp.c
@@ -79,4 +79,6 @@ av_cold void ff_pixblockdsp_init(PixblockDSPContext *c, AVCodecContext *avctx)
ff_pixblockdsp_init_ppc(c, avctx, high_bit_depth);
if (ARCH_X86)
ff_pixblockdsp_init_x86(c, avctx, high_bit_depth);
+ if (ARCH_MIPS)
+ ff_pixblockdsp_init_mips(c, avctx, high_bit_depth);
}