summaryrefslogtreecommitdiffstats
path: root/libavcodec/mips/hevcdsp_mips.h
diff options
context:
space:
mode:
authorShivraj Patil <shivraj.patil@imgtec.com>2015-06-02 14:08:11 +0530
committerMichael Niedermayer <michaelni@gmx.at>2015-06-03 21:30:21 +0200
commitc96c73b0b0520fc734554d34b4693ca7af4edd02 (patch)
treecfef2bf924ef3b3ac6f3c8c8bc589e6345793387 /libavcodec/mips/hevcdsp_mips.h
parent88188f55a2b4c60900604088747675d336a5ab45 (diff)
downloadffmpeg-streaming-c96c73b0b0520fc734554d34b4693ca7af4edd02.zip
ffmpeg-streaming-c96c73b0b0520fc734554d34b4693ca7af4edd02.tar.gz
avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC mc epel functions
This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC mc epel functions. Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mips/hevcdsp_mips.h')
-rw-r--r--libavcodec/mips/hevcdsp_mips.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/libavcodec/mips/hevcdsp_mips.h b/libavcodec/mips/hevcdsp_mips.h
index 64605e6..389f025 100644
--- a/libavcodec/mips/hevcdsp_mips.h
+++ b/libavcodec/mips/hevcdsp_mips.h
@@ -66,6 +66,36 @@ MC(qpel, hv, 32);
MC(qpel, hv, 48);
MC(qpel, hv, 64);
+MC(epel, h, 4);
+MC(epel, h, 6);
+MC(epel, h, 8);
+MC(epel, h, 12);
+MC(epel, h, 16);
+MC(epel, h, 24);
+MC(epel, h, 32);
+MC(epel, h, 48);
+MC(epel, h, 64);
+
+MC(epel, v, 4);
+MC(epel, v, 6);
+MC(epel, v, 8);
+MC(epel, v, 12);
+MC(epel, v, 16);
+MC(epel, v, 24);
+MC(epel, v, 32);
+MC(epel, v, 48);
+MC(epel, v, 64);
+
+MC(epel, hv, 4);
+MC(epel, hv, 6);
+MC(epel, hv, 8);
+MC(epel, hv, 12);
+MC(epel, hv, 16);
+MC(epel, hv, 24);
+MC(epel, hv, 32);
+MC(epel, hv, 48);
+MC(epel, hv, 64);
+
#undef MC
#define UNI_MC(PEL, DIR, WIDTH) \
OpenPOWER on IntegriCloud