summaryrefslogtreecommitdiff
path: root/libavcodec/blockdsp.c
diff options
context:
space:
mode:
authorShivraj Patil <shivraj.patil@imgtec.com>2015-06-14 23:26:25 +0530
committerMichael Niedermayer <michaelni@gmx.at>2015-06-22 20:18:10 +0200
commitf6276842f38d0511a2d2ab4bb7f5b47b195c8de1 (patch)
tree7963ef60c546d478e9732815ae048d7160cac28a /libavcodec/blockdsp.c
parent2abdc6f477a3148604a6c726753503947ea547c2 (diff)
downloadffmpeg-f6276842f38d0511a2d2ab4bb7f5b47b195c8de1.tar.gz
avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for block functions
This patch adds MSA (MIPS-SIMD-Arch) optimizations for block functions in new file blockdsp_msa.c Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/blockdsp.c')
-rw-r--r--libavcodec/blockdsp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/blockdsp.c b/libavcodec/blockdsp.c
index f5259f637f..8480f0b2fe 100644
--- a/libavcodec/blockdsp.c
+++ b/libavcodec/blockdsp.c
@@ -77,4 +77,6 @@ av_cold void ff_blockdsp_init(BlockDSPContext *c, AVCodecContext *avctx)
#else
ff_blockdsp_init_x86(c, high_bit_depth);
#endif /* FF_API_XVMC */
+ if (ARCH_MIPS)
+ ff_blockdsp_init_mips(c, high_bit_depth);
}