summaryrefslogtreecommitdiff
path: root/libavcodec/h264qpel.c
diff options
context:
space:
mode:
authorShivraj Patil <shivraj.patil@imgtec.com>2015-06-11 11:31:12 +0530
committerMichael Niedermayer <michaelni@gmx.at>2015-06-13 02:21:55 +0200
commit178ba1fd03c85835a70ec5b365d62ec6582da97f (patch)
treee6c70e68be9d2b14085490072b3e172cea355e54 /libavcodec/h264qpel.c
parentb8ba2d3915b3e74990c73b2671290d7ad312513e (diff)
avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for AVC qpel functions
This patch adds MSA (MIPS-SIMD-Arch) optimizations for AVC qpel functions in new file h264qpel_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Added const to local static array. Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264qpel.c')
-rw-r--r--libavcodec/h264qpel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264qpel.c b/libavcodec/h264qpel.c
index 5f1bfa3176..50e82e23b0 100644
--- a/libavcodec/h264qpel.c
+++ b/libavcodec/h264qpel.c
@@ -104,4 +104,6 @@ av_cold void ff_h264qpel_init(H264QpelContext *c, int bit_depth)
ff_h264qpel_init_ppc(c, bit_depth);
if (ARCH_X86)
ff_h264qpel_init_x86(c, bit_depth);
+ if (ARCH_MIPS)
+ ff_h264qpel_init_mips(c, bit_depth);
}