aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hevcpred.c
diff options
context:
space:
mode:
authorShivraj Patil <shivraj.patil@imgtec.com>2015-06-04 13:31:49 +0530
committerMichael Niedermayer <michaelni@gmx.at>2015-06-10 13:53:03 +0200
commitd6d98237ed01aec7d79e7724d43004c8b9c8d383 (patch)
treeb89c2ce4d0bbc2384594c1619eaeebcc13cf671f /libavcodec/hevcpred.c
parent271195f85bbce284ac80ed31c62fba9b7e74e99d (diff)
downloadffmpeg-d6d98237ed01aec7d79e7724d43004c8b9c8d383.tar.gz
avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC intra prediction functions
This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC intra predition functions in new file hevcpred_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/hevcpred.c')
-rw-r--r--libavcodec/hevcpred.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/hevcpred.c b/libavcodec/hevcpred.c
index 4598229b36..02c1766059 100644
--- a/libavcodec/hevcpred.c
+++ b/libavcodec/hevcpred.c
@@ -74,4 +74,7 @@ void ff_hevc_pred_init(HEVCPredContext *hpc, int bit_depth)
HEVC_PRED(8);
break;
}
+
+ if (ARCH_MIPS)
+ ff_hevc_pred_init_mips(hpc, bit_depth);
}