Commit 1ea7ab4e authored by Rupert Swarbrick's avatar Rupert Swarbrick Committed by Debargha Mukherjee

Add av1_convolve_scale_test

This unit test doesn't actually provide any test coverage and merely
exists to benchmark the C function, av1_convolve_2d_scale_c. The
following patch will add an SSE version of that function and extend
this test to check that the SSE code matches the C code.

Change-Id: Ic942ad8f9fd57d2659fc60f92c5a0b6c9a9f8cac
parent 1a86b013
This diff is collapsed.
......@@ -256,6 +256,13 @@ if (CONFIG_AV1_ENCODER)
"${AOM_ROOT}/test/av1_convolve_2d_test_util.cc"
"${AOM_ROOT}/test/av1_convolve_2d_test_util.h")
endif ()
if (NOT CONFIG_COMPOUND_ROUND)
if (HAVE_SSE4_1)
set(AOM_UNIT_TEST_ENCODER_SOURCES
${AOM_UNIT_TEST_ENCODER_SOURCES}
"${AOM_ROOT}/test/av1_convolve_scale_test.cc")
endif ()
endif ()
endif ()
if (CONFIG_EXT_TX)
......
......@@ -252,6 +252,10 @@ LIBAOM_TEST_SRCS-$(HAVE_SSE2) += av1_convolve_2d_test_util.cc
LIBAOM_TEST_SRCS-yes += convolve_round_test.cc
endif
ifeq (yesx,$(CONFIG_CONVOLVE_ROUND)x$(CONFIG_COMPOUND_ROUND))
LIBAOM_TEST_SRCS-$(HAVE_SSE4_1) += av1_convolve_scale_test.cc
endif
ifeq ($(CONFIG_GLOBAL_MOTION)$(CONFIG_AV1_ENCODER),yesyes)
LIBAOM_TEST_SRCS-$(HAVE_SSE4_1) += corner_match_test.cc
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment