summaryrefslogtreecommitdiff
path: root/vp8/common/rtcd_defs.sh
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2012-01-27 10:23:52 -0800
committerJohann <johannkoenig@google.com>2012-03-06 15:20:03 -0800
commitfd903902ef2c6fef505829dffa4aad6b4d85950e (patch)
tree5c2208962c89bbac383d99e7a91e515fb9a9f832 /vp8/common/rtcd_defs.sh
parente50f96a4a3c4974f784fa764a29c873a58cca150 (diff)
downloadlibvpx-fd903902ef2c6fef505829dffa4aad6b4d85950e.tar
libvpx-fd903902ef2c6fef505829dffa4aad6b4d85950e.tar.gz
libvpx-fd903902ef2c6fef505829dffa4aad6b4d85950e.tar.bz2
libvpx-fd903902ef2c6fef505829dffa4aad6b4d85950e.zip
RFC: Reorganize MFQE loops
Break MFQE code into it's own file. It is currently only valid for 16x16 and 8x8 Y blocks. It also filters 4x4 U/V blocks. Refactor filtering and add associated assembly. Limited test cases show --mfqe introduces a penalty of ~20% with HD content. The assembly reduces the penalty to ~15% Change-Id: I4b8de6b5cdff5413037de5b6c42f437033ee55bf
Diffstat (limited to 'vp8/common/rtcd_defs.sh')
-rw-r--r--vp8/common/rtcd_defs.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/vp8/common/rtcd_defs.sh b/vp8/common/rtcd_defs.sh
index ff8e30c3f..0fdb4fa00 100644
--- a/vp8/common/rtcd_defs.sh
+++ b/vp8/common/rtcd_defs.sh
@@ -166,6 +166,15 @@ if [ "$CONFIG_POSTPROC" = "yes" ]; then
prototype void vp8_blend_b "unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride"
# no asm yet
+
+ prototype void vp8_filter_by_weight16x16 "unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight"
+ specialize vp8_filter_by_weight16x16 sse2
+
+ prototype void vp8_filter_by_weight8x8 "unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight"
+ specialize vp8_filter_by_weight8x8 sse2
+
+ prototype void vp8_filter_by_weight4x4 "unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight"
+ # no asm yet
fi
#