2016-08-23 02:08:15 +03:00
|
|
|
LIBAOM_TEST_SRCS-yes += acm_random.h
|
|
|
|
LIBAOM_TEST_SRCS-yes += clear_system_state.h
|
|
|
|
LIBAOM_TEST_SRCS-yes += codec_factory.h
|
|
|
|
LIBAOM_TEST_SRCS-yes += md5_helper.h
|
|
|
|
LIBAOM_TEST_SRCS-yes += register_state_check.h
|
|
|
|
LIBAOM_TEST_SRCS-yes += test.mk
|
2016-08-31 00:01:10 +03:00
|
|
|
LIBAOM_TEST_SRCS-yes += test_libaom.cc
|
2016-08-23 02:08:15 +03:00
|
|
|
LIBAOM_TEST_SRCS-yes += util.h
|
|
|
|
LIBAOM_TEST_SRCS-yes += video_source.h
|
|
|
|
LIBAOM_TEST_SRCS-yes += transform_test_base.h
|
|
|
|
LIBAOM_TEST_SRCS-yes += function_equivalence_test.h
|
2012-06-23 22:20:41 +04:00
|
|
|
|
2012-06-29 23:15:00 +04:00
|
|
|
##
|
|
|
|
## BLACK BOX TESTS
|
|
|
|
##
|
|
|
|
## Black box tests only use the public API.
|
|
|
|
##
|
2016-08-23 02:08:15 +03:00
|
|
|
LIBAOM_TEST_SRCS-yes += ../md5_utils.h ../md5_utils.c
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_DECODERS) += ivf_video_source.h
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_ENCODERS) += ../y4minput.h ../y4minput.c
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_ENCODERS) += altref_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_ENCODERS) += aq_segment_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_ENCODERS) += datarate_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_ENCODERS) += encode_api_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_ENCODERS) += error_resilience_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_ENCODERS) += i420_video_source.h
|
|
|
|
#LIBAOM_TEST_SRCS-$(CONFIG_ENCODERS) += realtime_test.cc
|
|
|
|
#LIBAOM_TEST_SRCS-$(CONFIG_ENCODERS) += resize_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_ENCODERS) += y4m_video_source.h
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_ENCODERS) += yuv_video_source.h
|
|
|
|
|
2016-08-31 00:01:10 +03:00
|
|
|
#LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += level_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += active_map_refresh_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += active_map_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += borders_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += cpu_speed_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += frame_size_tests.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += lossless_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += ethread_test.cc
|
2016-08-23 02:08:15 +03:00
|
|
|
|
|
|
|
LIBAOM_TEST_SRCS-yes += decode_test_driver.cc
|
|
|
|
LIBAOM_TEST_SRCS-yes += decode_test_driver.h
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_ENCODERS) += encode_test_driver.cc
|
|
|
|
LIBAOM_TEST_SRCS-yes += encode_test_driver.h
|
2013-01-15 18:43:35 +04:00
|
|
|
|
2014-12-09 23:44:45 +03:00
|
|
|
## IVF writing.
|
2016-08-23 02:08:15 +03:00
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_ENCODERS) += ../ivfenc.c ../ivfenc.h
|
2014-12-09 23:44:45 +03:00
|
|
|
|
2014-06-13 03:53:13 +04:00
|
|
|
## Y4m parsing.
|
2016-08-23 02:08:15 +03:00
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_ENCODERS) += y4m_test.cc ../y4menc.c ../y4menc.h
|
2014-06-13 03:53:13 +04:00
|
|
|
|
2013-06-13 23:42:05 +04:00
|
|
|
## WebM Parsing
|
2014-04-18 22:24:02 +04:00
|
|
|
ifeq ($(CONFIG_WEBM_IO), yes)
|
2016-03-24 23:12:51 +03:00
|
|
|
LIBWEBM_PARSER_SRCS += ../third_party/libwebm/mkvparser/mkvparser.cc
|
|
|
|
LIBWEBM_PARSER_SRCS += ../third_party/libwebm/mkvparser/mkvreader.cc
|
|
|
|
LIBWEBM_PARSER_SRCS += ../third_party/libwebm/mkvparser/mkvparser.h
|
|
|
|
LIBWEBM_PARSER_SRCS += ../third_party/libwebm/mkvparser/mkvreader.h
|
2016-08-23 02:08:15 +03:00
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_DECODERS) += $(LIBWEBM_PARSER_SRCS)
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_DECODERS) += ../tools_common.h
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_DECODERS) += ../webmdec.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_DECODERS) += ../webmdec.h
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_DECODERS) += webm_video_source.h
|
2014-04-18 22:24:02 +04:00
|
|
|
endif
|
2013-01-15 18:43:35 +04:00
|
|
|
|
2016-08-23 02:08:15 +03:00
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_DECODERS) += decode_api_test.cc
|
2014-02-28 02:11:46 +04:00
|
|
|
|
2016-08-31 00:01:10 +03:00
|
|
|
# Currently we only support decoder perf tests for av1. Also they read from WebM
|
2014-04-18 22:24:02 +04:00
|
|
|
# files, so WebM IO is required.
|
2016-08-31 00:01:10 +03:00
|
|
|
ifeq ($(CONFIG_DECODE_PERF_TESTS)$(CONFIG_AV1_DECODER)$(CONFIG_WEBM_IO), \
|
2014-04-18 22:24:02 +04:00
|
|
|
yesyesyes)
|
2016-08-23 02:08:15 +03:00
|
|
|
LIBAOM_TEST_SRCS-yes += decode_perf_test.cc
|
2013-11-16 00:29:26 +04:00
|
|
|
endif
|
2013-03-16 05:21:55 +04:00
|
|
|
|
2016-08-31 00:01:10 +03:00
|
|
|
# encode perf tests are av1 only
|
|
|
|
ifeq ($(CONFIG_ENCODE_PERF_TESTS)$(CONFIG_AV1_ENCODER), yesyes)
|
2016-08-23 02:08:15 +03:00
|
|
|
LIBAOM_TEST_SRCS-yes += encode_perf_test.cc
|
2014-07-21 21:57:16 +04:00
|
|
|
endif
|
|
|
|
|
2016-06-16 06:33:04 +03:00
|
|
|
## Multi-codec / unconditional black box tests.
|
2016-08-31 00:01:10 +03:00
|
|
|
ifeq ($(findstring yes,$(CONFIG_AV1_ENCODER)),yes)
|
2016-08-23 02:08:15 +03:00
|
|
|
LIBAOM_TEST_SRCS-yes += active_map_refresh_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-yes += active_map_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-yes += end_to_end_test.cc
|
2016-05-12 02:14:38 +03:00
|
|
|
endif
|
|
|
|
|
2012-06-29 23:15:00 +04:00
|
|
|
##
|
|
|
|
## WHITE BOX TESTS
|
|
|
|
##
|
|
|
|
## Whitebox tests invoke functions not exposed via the public API. Certain
|
|
|
|
## shared library builds don't make these functions accessible.
|
|
|
|
##
|
|
|
|
ifeq ($(CONFIG_SHARED),)
|
|
|
|
|
2016-08-31 00:01:10 +03:00
|
|
|
## AV1
|
|
|
|
ifeq ($(CONFIG_AV1),yes)
|
2012-11-07 22:40:37 +04:00
|
|
|
|
|
|
|
# These tests require both the encoder and decoder to be built.
|
2016-08-31 00:01:10 +03:00
|
|
|
ifeq ($(CONFIG_AV1_ENCODER)$(CONFIG_AV1_DECODER),yesyes)
|
2012-12-23 19:20:10 +04:00
|
|
|
# IDCT test currently depends on FDCT function
|
2016-08-23 02:08:15 +03:00
|
|
|
LIBAOM_TEST_SRCS-yes += idct8x8_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-yes += partial_idct_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-yes += superframe_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-yes += tile_independence_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-yes += boolcoder_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-yes += divu_small_test.cc
|
|
|
|
#LIBAOM_TEST_SRCS-yes += encoder_parms_get_to_decoder.cc
|
2014-12-12 04:34:32 +03:00
|
|
|
endif
|
2012-11-07 22:40:37 +04:00
|
|
|
|
2016-08-23 02:08:15 +03:00
|
|
|
#LIBAOM_TEST_SRCS-yes += convolve_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-yes += lpf_8_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-yes += intrapred_test.cc
|
2016-08-31 00:01:10 +03:00
|
|
|
#LIBAOM_TEST_SRCS-$(CONFIG_AV1_DECODER) += av1_thread_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += dct16x16_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += dct32x32_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += fdct4x4_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += fdct8x8_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += hadamard_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += minmax_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += variance_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += error_block_test.cc
|
|
|
|
#LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += av1_quantize_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += subtract_test.cc
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_AV1_ENCODER)$(CONFIG_AV1_TEMPORAL_DENOISING),yesyes)
|
|
|
|
#LIBAOM_TEST_SRCS-$(HAVE_SSE2) += denoiser_sse2_test.cc
|
2014-09-19 03:45:53 +04:00
|
|
|
endif
|
2016-08-31 00:01:10 +03:00
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += arf_freq_test.cc
|
2014-09-19 03:45:53 +04:00
|
|
|
|
2012-11-07 22:40:37 +04:00
|
|
|
|
2016-08-31 00:01:10 +03:00
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += av1_inv_txfm_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += av1_dct_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += av1_fht4x4_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += av1_fht8x8_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += av1_fht16x16_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_ANS) += av1_ans_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_EXT_TILE) += av1_ext_tile_test.cc
|
2015-11-25 05:50:35 +03:00
|
|
|
|
2016-08-31 00:01:10 +03:00
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += sum_squares_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += subtract_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += blend_a64_mask_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += blend_a64_mask_1d_test.cc
|
2016-03-01 03:08:07 +03:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_EXT_INTER),yes)
|
2016-08-23 02:08:15 +03:00
|
|
|
LIBAOM_TEST_SRCS-$(HAVE_SSSE3) += masked_variance_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(HAVE_SSSE3) += masked_sad_test.cc
|
2016-08-31 00:01:10 +03:00
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += av1_wedge_utils_test.cc
|
2016-03-01 03:08:07 +03:00
|
|
|
endif
|
2016-05-13 20:08:13 +03:00
|
|
|
|
2016-08-02 19:57:08 +03:00
|
|
|
ifeq ($(CONFIG_EXT_INTRA),yes)
|
2016-08-23 02:08:15 +03:00
|
|
|
LIBAOM_TEST_SRCS-$(HAVE_SSE4_1) += reconintra_predictors_test.cc
|
2016-08-02 19:57:08 +03:00
|
|
|
endif
|
|
|
|
|
2016-07-05 15:36:25 +03:00
|
|
|
ifeq ($(CONFIG_OBMC),yes)
|
2016-08-31 00:01:10 +03:00
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += obmc_sad_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1_ENCODER) += obmc_variance_test.cc
|
2016-07-05 15:36:25 +03:00
|
|
|
endif
|
|
|
|
|
2016-08-31 00:01:10 +03:00
|
|
|
ifeq ($(CONFIG_AOM_HIGHBITDEPTH),yes)
|
|
|
|
LIBAOM_TEST_SRCS-$(HAVE_SSE4_1) += av1_quantize_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(HAVE_SSE4_1) += av1_highbd_iht_test.cc
|
|
|
|
endif # CONFIG_AOM_HIGHBITDEPTH
|
|
|
|
endif # AV1
|
2015-11-25 05:50:35 +03:00
|
|
|
|
|
|
|
## Multi-codec / unconditional whitebox tests.
|
2016-07-28 01:52:42 +03:00
|
|
|
|
2016-08-31 00:01:10 +03:00
|
|
|
ifeq ($(CONFIG_AV1_ENCODER),yes)
|
2016-08-23 02:08:15 +03:00
|
|
|
LIBAOM_TEST_SRCS-yes += avg_test.cc
|
2015-12-11 23:40:53 +03:00
|
|
|
endif
|
2016-02-09 21:35:15 +03:00
|
|
|
ifeq ($(CONFIG_INTERNAL_STATS),yes)
|
2016-08-31 00:01:10 +03:00
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AOM_HIGHBITDEPTH) += hbd_metrics_test.cc
|
2016-02-09 21:35:15 +03:00
|
|
|
endif
|
2016-08-23 02:08:15 +03:00
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_ENCODERS) += sad_test.cc
|
2016-08-31 00:01:10 +03:00
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1) += av1_txfm_test.h
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1) += av1_txfm_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1) += av1_fwd_txfm1d_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1) += av1_inv_txfm1d_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1) += av1_fwd_txfm2d_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1) += av1_inv_txfm2d_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1) += av1_convolve_test.cc
|
|
|
|
LIBAOM_TEST_SRCS-$(CONFIG_AV1) += av1_convolve_optimz_test.cc
|
2015-08-29 06:39:10 +03:00
|
|
|
|
2015-11-25 05:42:20 +03:00
|
|
|
TEST_INTRA_PRED_SPEED_SRCS-yes := test_intra_pred_speed.cc
|
|
|
|
TEST_INTRA_PRED_SPEED_SRCS-yes += ../md5_utils.h ../md5_utils.c
|
2015-05-12 05:36:59 +03:00
|
|
|
|
2014-02-28 02:03:55 +04:00
|
|
|
endif # CONFIG_SHARED
|
2012-06-29 23:15:00 +04:00
|
|
|
|
2014-10-04 03:18:58 +04:00
|
|
|
include $(SRC_PATH_BARE)/test/test-data.mk
|