Commit 521383ae authored by David Barker's avatar David Barker Committed by Debargha Mukherjee

Add SSSE3 highbd warp filter

Change-Id: Ic3b8508c3364aecff1b2f53c7246a5e381b63018
parent 607550ea
......@@ -169,6 +169,9 @@ endif
ifneq ($(findstring yes,$(CONFIG_GLOBAL_MOTION) $(CONFIG_WARPED_MOTION)),)
AV1_COMMON_SRCS-$(HAVE_SSE2) += common/x86/warp_plane_sse2.c
ifeq ($(CONFIG_AOM_HIGHBITDEPTH),yes)
AV1_COMMON_SRCS-$(HAVE_SSSE3) += common/x86/highbd_warp_plane_ssse3.c
endif
endif
$(eval $(call rtcd_h_template,av1_rtcd,av1/common/av1_rtcd_defs.pl))
......@@ -673,6 +673,7 @@ if ((aom_config("CONFIG_WARPED_MOTION") eq "yes") ||
if (aom_config("CONFIG_AOM_HIGHBITDEPTH") eq "yes") {
add_proto qw/void av1_highbd_warp_affine/, "int32_t *mat, uint16_t *ref, int width, int height, int stride, uint16_t *pred, int p_col, int p_row, int p_width, int p_height, int p_stride, int subsampling_x, int subsampling_y, int bd, int ref_frm, int32_t alpha, int32_t beta, int32_t gamma, int32_t delta";
specialize qw/av1_highbd_warp_affine ssse3/;
}
}
......
This diff is collapsed.
......@@ -14,7 +14,7 @@
#include "./av1_rtcd.h"
#include "av1/common/warped_motion.h"
const __m128i *const filter = (const __m128i *const)warped_filter;
static const __m128i *const filter = (const __m128i *const)warped_filter;
/* SSE2 version of the rotzoom/affine warp filter */
void av1_warp_affine_sse2(int32_t *mat, uint8_t *ref, int width, int height,
......
......@@ -27,4 +27,13 @@ TEST_P(AV1WarpFilterTest, CheckOutput) { RunCheckOutput(av1_warp_affine_sse2); }
INSTANTIATE_TEST_CASE_P(SSE2, AV1WarpFilterTest,
libaom_test::AV1WarpFilter::GetDefaultParams());
#if CONFIG_AOM_HIGHBITDEPTH
TEST_P(AV1HighbdWarpFilterTest, CheckOutput) {
RunCheckOutput(av1_highbd_warp_affine_ssse3);
}
INSTANTIATE_TEST_CASE_P(SSSE3, AV1HighbdWarpFilterTest,
libaom_test::AV1HighbdWarpFilter::GetDefaultParams());
#endif
} // namespace
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