Commit 57338fc8 authored by Tom Finegan's avatar Tom Finegan

Support CONFIG_WARPED_MOTION in the cmake build.

BUG=https://bugs.chromium.org/p/aomedia/issues/detail?id=76

Change-Id: Iba1c63b077e0874d0cb639a6e0c9d66cd423af00
parent 19339a78
......@@ -357,6 +357,17 @@ if (CONFIG_PVQ)
endif ()
endif ()
if (CONFIG_WARPED_MOTION)
set(AOM_AV1_COMMON_SOURCES
${AOM_AV1_COMMON_SOURCES}
"${AOM_ROOT}/av1/common/warped_motion.c"
"${AOM_ROOT}/av1/common/warped_motion.h")
set(AOM_AV1_COMMON_SSE2_INTRIN
${AOM_AV1_COMMON_SSE2_INTRIN}
"${AOM_ROOT}/av1/common/x86/warp_plane_sse2.c")
endif ()
# Setup AV1 common/decoder/encoder targets. The libaom target must exist before
# this function is called.
function (setup_av1_targets)
......
......@@ -40,11 +40,11 @@ endif ()
if (CONFIG_GLOBAL_MOTION OR CONFIG_WARPED_MOTION)
if (HAVE_SSE2)
# TODO: not sure if this is intrinsics or a wrapper calling intrin/asm.
set(AOM_UNIT_TEST_COMMON_SOURCES
${AOM_UNIT_TEST_COMMON_SOURCES}
"${AOM_ROOT}/test/warp_filter_test.cc"
"${AOM_ROOT}/test/warp_filter_test_util.cc")
"${AOM_ROOT}/test/warp_filter_test_util.cc"
"${AOM_ROOT}/test/warp_filter_test_util.h")
endif ()
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