diff options
author | trav90 <travawine@palemoon.org> | 2018-10-18 21:53:44 -0500 |
---|---|---|
committer | trav90 <travawine@palemoon.org> | 2018-10-18 21:53:44 -0500 |
commit | ec910d81405c736a4490383a250299a7837c2e64 (patch) | |
tree | 4f27cc226f93a863121aef6c56313e4153a69b3e /third_party/aom/test/test_data_util.cmake | |
parent | 01eb57073ba97b2d6cbf20f745dfcc508197adc3 (diff) | |
download | UXP-ec910d81405c736a4490383a250299a7837c2e64.tar UXP-ec910d81405c736a4490383a250299a7837c2e64.tar.gz UXP-ec910d81405c736a4490383a250299a7837c2e64.tar.lz UXP-ec910d81405c736a4490383a250299a7837c2e64.tar.xz UXP-ec910d81405c736a4490383a250299a7837c2e64.zip |
Update aom to commit id e87fb2378f01103d5d6e477a4ef6892dc714e614
Diffstat (limited to 'third_party/aom/test/test_data_util.cmake')
-rw-r--r-- | third_party/aom/test/test_data_util.cmake | 49 |
1 files changed, 47 insertions, 2 deletions
diff --git a/third_party/aom/test/test_data_util.cmake b/third_party/aom/test/test_data_util.cmake index e4641049d..3904734b5 100644 --- a/third_party/aom/test/test_data_util.cmake +++ b/third_party/aom/test/test_data_util.cmake @@ -9,6 +9,47 @@ ## PATENTS file, you can obtain it at www.aomedia.org/license/patent. ## +set(AOM_TEST_DATA_FILE_NAMES + "hantro_collage_w352h288.yuv" + "hantro_odd.yuv" + "park_joy_90p_10_420.y4m" + "park_joy_90p_10_422.y4m" + "park_joy_90p_10_444.y4m" + "park_joy_90p_10_440.yuv" + "park_joy_90p_12_420.y4m" + "park_joy_90p_12_422.y4m" + "park_joy_90p_12_444.y4m" + "park_joy_90p_12_440.yuv" + "park_joy_90p_8_420_a10-1.y4m" + "park_joy_90p_8_420.y4m" + "park_joy_90p_8_422.y4m" + "park_joy_90p_8_444.y4m" + "park_joy_90p_8_440.yuv" + "desktop_credits.y4m" + "niklas_1280_720_30.y4m" + "rush_hour_444.y4m" + "screendata.y4m" + "niklas_640_480_30.yuv") + +if (CONFIG_DECODE_PERF_TESTS AND CONFIG_AV1_ENCODER) + set(AOM_TEST_DATA_FILE_NAMES + ${AOM_TEST_DATA_FILE_NAMES} + "niklas_1280_720_30.yuv") +endif () + +if (CONFIG_ENCODE_PERF_TESTS AND CONFIG_AV1_ENCODER) + set(AOM_TEST_DATA_FILE_NAMES + ${AOM_TEST_DATA_FILE_NAMES} + "desktop_640_360_30.yuv" + "kirland_640_480_30.yuv" + "macmarcomoving_640_480_30.yuv" + "macmarcostationary_640_480_30.yuv" + "niklas_1280_720_30.yuv" + "tacomanarrows_640_480_30.yuv" + "tacomasmallcameramovement_640_480_30.yuv" + "thaloundeskmtg_640_480_30.yuv") +endif () + # Parses test/test-data.sha1 and writes captured file names and checksums to # $out_files and $out_checksums as lists. function (make_test_data_lists test_data_file out_files out_checksums) @@ -28,8 +69,12 @@ function (make_test_data_lists test_data_file out_files out_checksums) string(SUBSTRING "${line}" 0 ${delim_pos} checksum) string(SUBSTRING "${line}" ${filename_pos} -1 filename) - set(checksums ${checksums} ${checksum}) - set(filenames ${filenames} ${filename}) + list(FIND AOM_TEST_DATA_FILE_NAMES ${filename} list_index) + if (NOT ${list_index} EQUAL -1) + # Include the name and checksum in output only when the file is needed. + set(checksums ${checksums} ${checksum}) + set(filenames ${filenames} ${filename}) + endif () endforeach () list(LENGTH filenames num_files) |