Merge changes I89a8440f,Ifa3926e1
* changes: libs.mk: relocate TEST_INTRA_PRED_SPEED_OBJS init test_intra_pred_speed: remove #if w/in another macro
This commit is contained in:
commit
4ded624ff3
2
libs.mk
2
libs.mk
@ -373,6 +373,7 @@ libvpx_test_data_url=http://downloads.webmproject.org/test_data/libvpx/$(1)
|
|||||||
|
|
||||||
TEST_INTRA_PRED_SPEED_BIN=./test_intra_pred_speed$(EXE_SFX)
|
TEST_INTRA_PRED_SPEED_BIN=./test_intra_pred_speed$(EXE_SFX)
|
||||||
TEST_INTRA_PRED_SPEED_SRCS=$(addprefix test/,$(call enabled,TEST_INTRA_PRED_SPEED_SRCS))
|
TEST_INTRA_PRED_SPEED_SRCS=$(addprefix test/,$(call enabled,TEST_INTRA_PRED_SPEED_SRCS))
|
||||||
|
TEST_INTRA_PRED_SPEED_OBJS := $(sort $(call objs,$(TEST_INTRA_PRED_SPEED_SRCS)))
|
||||||
|
|
||||||
libvpx_test_srcs.txt:
|
libvpx_test_srcs.txt:
|
||||||
@echo " [CREATE] $@"
|
@echo " [CREATE] $@"
|
||||||
@ -486,7 +487,6 @@ $(eval $(call linkerxx_template,$(LIBVPX_TEST_BIN), \
|
|||||||
$(LIBVPX_TEST_OBJS) \
|
$(LIBVPX_TEST_OBJS) \
|
||||||
-L. -lvpx -lgtest $(extralibs) -lm))
|
-L. -lvpx -lgtest $(extralibs) -lm))
|
||||||
|
|
||||||
TEST_INTRA_PRED_SPEED_OBJS := $(sort $(call objs,$(TEST_INTRA_PRED_SPEED_SRCS)))
|
|
||||||
ifneq ($(strip $(TEST_INTRA_PRED_SPEED_OBJS)),)
|
ifneq ($(strip $(TEST_INTRA_PRED_SPEED_OBJS)),)
|
||||||
$(TEST_INTRA_PRED_SPEED_OBJS) $(TEST_INTRA_PRED_SPEED_OBJS:.o=.d): CXXFLAGS += $(GTEST_INCLUDES)
|
$(TEST_INTRA_PRED_SPEED_OBJS) $(TEST_INTRA_PRED_SPEED_OBJS:.o=.d): CXXFLAGS += $(GTEST_INCLUDES)
|
||||||
OBJS-yes += $(TEST_INTRA_PRED_SPEED_OBJS)
|
OBJS-yes += $(TEST_INTRA_PRED_SPEED_OBJS)
|
||||||
|
@ -311,17 +311,20 @@ INTRA_PRED_TEST(C, TestIntraPred32, vp9_dc_predictor_32x32_c,
|
|||||||
vp9_d63_predictor_32x32_c, vp9_tm_predictor_32x32_c)
|
vp9_d63_predictor_32x32_c, vp9_tm_predictor_32x32_c)
|
||||||
|
|
||||||
#if HAVE_SSE2
|
#if HAVE_SSE2
|
||||||
|
#if ARCH_X86_64
|
||||||
INTRA_PRED_TEST(SSE2, TestIntraPred32, vp9_dc_predictor_32x32_sse2,
|
INTRA_PRED_TEST(SSE2, TestIntraPred32, vp9_dc_predictor_32x32_sse2,
|
||||||
vp9_dc_left_predictor_32x32_sse2,
|
vp9_dc_left_predictor_32x32_sse2,
|
||||||
vp9_dc_top_predictor_32x32_sse2,
|
vp9_dc_top_predictor_32x32_sse2,
|
||||||
vp9_dc_128_predictor_32x32_sse2, vp9_v_predictor_32x32_sse2,
|
vp9_dc_128_predictor_32x32_sse2, vp9_v_predictor_32x32_sse2,
|
||||||
NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
||||||
#if ARCH_X86_64
|
vp9_tm_predictor_32x32_sse2)
|
||||||
vp9_tm_predictor_32x32_sse2
|
|
||||||
#else
|
#else
|
||||||
NULL
|
INTRA_PRED_TEST(SSE2, TestIntraPred32, vp9_dc_predictor_32x32_sse2,
|
||||||
#endif
|
vp9_dc_left_predictor_32x32_sse2,
|
||||||
)
|
vp9_dc_top_predictor_32x32_sse2,
|
||||||
|
vp9_dc_128_predictor_32x32_sse2, vp9_v_predictor_32x32_sse2,
|
||||||
|
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
|
||||||
|
#endif // ARCH_X86_64
|
||||||
#endif // HAVE_SSE2
|
#endif // HAVE_SSE2
|
||||||
|
|
||||||
#if HAVE_SSSE3
|
#if HAVE_SSSE3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user