summaryrefslogtreecommitdiff
path: root/vp9/vp9cx.mk
diff options
context:
space:
mode:
authorGeza Lore <gezalore@gmail.com>2015-10-08 15:44:49 +0100
committerDebargha Mukherjee <debargha@google.com>2015-10-08 14:05:25 -0700
commit0134764fa6be4c46bd24b7bcf2fd092321335341 (patch)
tree89031e0e4afd5983a324b895cd8c7034c02cab90 /vp9/vp9cx.mk
parent5dd85e525d85a6e5da295588bc574a815e099e1b (diff)
downloadlibvpx-0134764fa6be4c46bd24b7bcf2fd092321335341.tar
libvpx-0134764fa6be4c46bd24b7bcf2fd092321335341.tar.gz
libvpx-0134764fa6be4c46bd24b7bcf2fd092321335341.tar.bz2
libvpx-0134764fa6be4c46bd24b7bcf2fd092321335341.zip
Optimization of 8bit block error for high bitdepth
If high bit depth configuration is enabled, but encoding in profile 0, the code now falls back on optimized SSE2 assembler to compute the block errors, similar to when high bit depth is not enabled. Change-Id: I471d1494e541de61a4008f852dbc0d548856484f
Diffstat (limited to 'vp9/vp9cx.mk')
-rw-r--r--vp9/vp9cx.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/vp9/vp9cx.mk b/vp9/vp9cx.mk
index 84b12d78e..a2cbacf48 100644
--- a/vp9/vp9cx.mk
+++ b/vp9/vp9cx.mk
@@ -100,8 +100,12 @@ endif
ifeq ($(CONFIG_USE_X86INC),yes)
VP9_CX_SRCS-$(HAVE_MMX) += encoder/x86/vp9_dct_mmx.asm
+ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
+VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_highbd_error_sse2.asm
+else
VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_error_sse2.asm
endif
+endif
ifeq ($(ARCH_X86_64),yes)
ifeq ($(CONFIG_USE_X86INC),yes)