Commit graph

217 commits

Author SHA1 Message Date
Marko Viitanen 31cd572d6a Fix mv_cand_tests 2021-10-29 09:42:05 +03:00
Marko Viitanen e2bdf02acc [inter] fix merge_candidates_t initialization 2021-10-26 11:50:32 +03:00
Marko Viitanen b0e6ab9f96 [inter] MVP candidate order fix and limit b0 with wpp 2021-10-25 22:57:58 +03:00
Marko Viitanen 5b3d87f6c1 [inter] Enable testing for inter tools 2021-10-25 11:32:11 +03:00
Marko Viitanen 57883369ca Change all the license texts in source headers and LICENSE file to 3-clause BSD, closes #302
* All now have the same exact text string
2021-10-13 15:22:46 +03:00
Marko Viitanen 6e120ef5b4 Fix MV cand tests 2021-10-08 16:34:02 +03:00
Marko Viitanen cf244c0271 [ci] Change test_intra.sh to not include alf=full as a default parameter 2021-09-14 10:48:31 +03:00
Ari Lemmetti 097f99f6d3 [CI] Enable SIMD for intra tests 2021-09-06 21:20:50 +03:00
Joose Sainio c4d32ee870 [jccr] Move tests to test_intra.sh 2021-09-06 11:28:33 +03:00
Joose Sainio 54302915e1 [jccr] add tests 2021-09-06 11:28:21 +03:00
Marko Viitanen 164b1a4027 [fix] remove crypto from tests/Makefile.am 2021-07-27 09:30:54 +03:00
Marko Viitanen 99a2b0384d [cleanup] remove some warnings 2021-07-26 11:42:19 +03:00
Marko Viitanen 94109bf5af [alf] change turn off ALF from most of the intra CI tests 2021-07-25 21:08:07 +03:00
Marko Viitanen 781e6d0f13 [alf] Add CI test for ALF+WPP+OWF 2021-07-22 23:24:30 +03:00
Marko Viitanen 60caf2c378 [mts] fix 32x32 idst/idct 2021-07-21 13:44:25 +03:00
Marko Viitanen 7e089f518d [mts] add optimized versions of DCT8 and DST7, inverse not yet working properly
* Includes new unit tests for the mts
2021-07-21 11:53:15 +03:00
Marko Viitanen 1b8c8b2c68 [LMCS] Add execute permission for test_lmcs.sh 2021-05-25 15:47:23 +03:00
Marko Viitanen 2892fd7d05 [LMCS] separate the LMCS tests to test_lmcs.sh 2021-05-25 15:35:14 +03:00
Marko Viitanen c080595597 Reduce the number of tests under test_intra.sh 2021-05-25 11:47:46 +03:00
Marko Viitanen 6eea317ec9 [LMCS] Add LMCS test under test_intra.sh 2021-05-24 20:22:36 +03:00
Marko Viitanen ced10603c8 [LMCS] Add a test for LMCS 2021-05-12 14:17:34 +03:00
Joose Sainio 0cc1bf197f Add monochrome tests and fix monochrome 2021-04-23 13:50:09 +03:00
Joose Sainio 42edbd031f Add 4x4 CUs to tests 2021-04-23 08:28:36 +00:00
Joose Sainio 1aaa95601c Merge remote-tracking branch 'remotes/kvz_github/master' into Fix-monochrome
# Conflicts:
#	.gitlab-ci.yml
#	build/kvazaar_lib/kvazaar_lib.vcxproj.filters
#	src/cfg.c
#	src/encoder.h
#	src/kvazaar.h
#	src/rdo.c
2021-04-23 10:56:50 +03:00
Ari Lemmetti 5bc4cdf401 Update TSAN suppressions 2021-03-08 22:36:10 +02:00
Marko Viitanen 5f54864a70 Test signhide and rdoq in intra 2021-02-12 16:41:37 +02:00
Marko Viitanen 86aff501a2 Add a test for Intra RDOQ 2021-02-12 13:25:22 +02:00
Arttu Makinen 65cbee85d7 Fix for sad_tests. Forced intra mode removed. Define for frame padding added. 2021-01-14 14:30:50 +02:00
Arttu Makinen 6f03c5dc68 Argument of ALF updated for Intra test. 2020-12-30 16:25:00 +02:00
Arttu Makinen d03531e817 Enable ALF for IC intra test. 2020-12-30 16:19:58 +02:00
Marko Viitanen 2bd9bcdf28 [CI] Use QP 37 on one intra test 2020-10-13 14:06:59 +03:00
Marko Viitanen 1986130ab6 [CI] Only enable intra testing for now 2020-10-13 12:02:18 +03:00
Marko Viitanen 9b0a45a8b2 [CI] Use correct test set 2020-10-09 09:43:13 +03:00
Marko Viitanen 5a6806cbf7 [CI] Limit testing parameters to those that work 2020-10-09 09:37:15 +03:00
Marko Viitanen 25b5ad72d7 [CI] Replace HM with VTM and remove tests that are not needed 2020-10-09 09:28:58 +03:00
Ari Lemmetti 40e81f3243 Update preset tables. Update docs. 2020-04-22 01:03:21 +03:00
Ari Lemmetti 901c25c0c8 Merge branch 'vaq' 2020-04-03 19:51:17 +03:00
siivonek 067611d9cf Add tests for VAQ with both rate controls. 2020-04-02 11:02:58 +02:00
siivonek 2aa0d97589 Add VAQ test in test_tools. Bump minor version number in configure.ac. Update help text for VAQ. 2020-04-01 18:16:39 +02:00
Jaakko Laitinen 44ec4d2d84 More tsan supression 2020-03-31 15:38:12 +03:00
Jaakko Laitinen 3900468643 Add function to tsan supression 2020-03-31 13:27:31 +03:00
Jaakko Laitinen 45ca8f8113 Merge branch 'master' into 'extended_pu-depths' 2020-03-25 15:11:08 +02:00
Jaakko Laitinen a2bf59d0e1 Fix correct name 2020-03-20 15:51:30 +02:00
Jaakko Laitinen f3f833c6cd Merge branch 'extended_pu-depths' of gitlab.tut.fi:TIE/ultravideo/kvazaar into extended_pu-depths 2020-03-20 15:42:39 +02:00
Jaakko Laitinen dc6337ffbf Change mode 2020-03-20 15:40:52 +02:00
Jaakko Laitinen 6c5298d6d9 Add new test file 2020-03-20 14:50:29 +02:00
Jaakko Laitinen 6259337495 Add test for pu depth constraints 2020-03-20 14:01:51 +02:00
Joose Sainio b53911d637 Merge branch 'rc-intra' 2020-03-19 13:34:15 +02:00
Joose Sainio 801d7d4256 add some tests for GOP 16 2020-03-19 11:18:08 +02:00
Joose Sainio e823ac1dae miscellaneous fixes
- bump library version
- add help desk for --clip-neighbour
- update the default values of --clip-neighbour and --intra-bits
- update tests to more sensible
2020-03-19 10:47:28 +02:00
Ari Lemmetti 27c11c030c Temporarily suppress a TSan error from data race 2020-03-17 00:49:05 +02:00
Joose Sainio e90d3141a2 Merge branch 'master' into rc-intra 2020-02-05 11:06:56 +02:00
Joose Sainio 7ebe30448e added tests for the new ratecontrol 2019-11-19 14:38:37 +02:00
Pauli Oikkonen 2b95d9cdd6 Align all DCT test buffers to 32 bytes
Now that most AVX2 DCTs use MOVDQA instead of MOVDQU, also adapt the
tests to that..
2019-10-28 16:19:42 +02:00
Marko Viitanen da5dca057d Change libtool path in tests to fix travis builds 2019-09-11 09:33:43 +03:00
Pauli Oikkonen 75b25955fa XFAIL the external symbols test with cryptopp enabled
The crypto library will export a lot of symbols that will cause
test_external_symbols to fail. If we're built with cryptopp enabled,
ignore it with XFAIL instead of totally FAILing.
2019-06-20 11:56:46 +03:00
Joose Sainio 1c36f68d0c Fix owf>=9 gop=8 and add test to catch such problem in future 2019-06-12 14:04:41 +03:00
Pauli Oikkonen 007fb7ae19 Un-break tests
Pass the NULL optimized function pointer from the test function, it
should still forward execution to width-specific SAD implementations
2019-02-04 20:41:40 +02:00
Reima Hyvönen 1fcc5c6a8d Merge branch 'bipred_recon' 2018-12-11 09:59:35 +02:00
Reima Hyvönen 4c71546b2e Cleaned some coding 2018-10-26 12:19:44 +03:00
Reima Hyvönen 381e786e10 Trying to find the bug in luma 2018-10-11 18:08:41 +03:00
Marko Viitanen 68b464496b Add more internal gitlab tests and change the gitlab CI detection 2018-10-05 09:02:21 +03:00
Marko Viitanen 7671f19f2f Fix tests/test_gop.sh environmental variable testing 2018-10-05 08:32:11 +03:00
Marko Viitanen 077b6ba2f7 Add CI tests for closed gop 2018-10-04 14:42:06 +03:00
Reima Hyvönen 212a8e68fa Modified to avoid memory overflow, still some bug inside luma 2018-10-02 20:23:32 +03:00
Reima Hyvönen 896034b7cf Some renamed functions back 2018-08-28 15:31:10 +03:00
Reima Hyvönen e8b5e6db4c Did some merging 2018-08-28 15:26:27 +03:00
Reima Hyvönen 7de5c74434 Updated bipred_recon to work faster 2018-08-28 15:12:31 +03:00
Reima Hyvönen 47b357cca2 Comment one test 2018-08-27 18:52:14 +03:00
Reima Hyvönen 2ca99a44e8 Updated shuffle operation to be in right order 2018-08-27 18:16:38 +03:00
Reima Hyvönen 508b218a12 some modifications made to prevent reading too much 2018-08-14 10:50:39 +03:00
Reima Hyvönen 408dedbcc8 removed _mm256_extract_epi8 and replaced with _mm_stream 2018-08-10 15:53:26 +03:00
Reima Hyvönen 99dc43074f _mm256_cvtsi256_si32 breaks system, too much bits. back to extract 2018-08-10 09:59:33 +03:00
Reima Hyvönen ed50d71fde Switched some variables to different location, altered inter_recon_bipred_avx2 function 2018-08-02 16:08:59 +03:00
Reima Hyvönen 9ba85ab7b0 Testing if test break pipeline 2018-08-02 14:55:20 +03:00
Reima Hyvönen f5739a0028 Renaming and removing useless prints 2018-08-02 14:47:17 +03:00
Reima Hyvönen 7f18c12227 testing pipelining 2018-07-11 15:16:23 +03:00
Reima Hyvönen f9c7f6ee66 Added some break-operations for avx2 optimation 2018-07-11 14:15:38 +03:00
Reima Hyvönen cc064da143 some more optimation for bipred 2018-07-11 11:27:54 +03:00
Reima Hyvönen 9a339eef89 Merge branch 'bipred_recon' of https://gitlab.tut.fi/TIE/ultravideo/kvazaar into HEAD
# Conflicts:
#	build/kvazaar_lib/kvazaar_lib.vcxproj
2018-07-10 16:21:04 +03:00
Reima Hyvönen a22cf03ddb Updated to have no movement function to avx2 strategies 2018-07-10 16:07:15 +03:00
Reima Hyvönen ea83ae45f0 Toimiva ratkaisu 2018-07-03 11:18:51 +03:00
Reima Hyvönen 17babfffa4 25.6 working optimation, ~50% faster than original 2018-06-25 17:06:16 +03:00
Arttu Ylä-Outinen c1398ef818 Permit --period=1 with any GOP structure
All intra coding is a special case so it can be permitted even though
Kvazaar normally only supports intra periods that are divisible by the
GOP length.
2018-06-18 12:26:11 +03:00
Arttu Ylä-Outinen cbac8a106e Disable valgrind in tests by default
Changes tests so that valgrind is enabled only when the environment
variable KVZ_TEST_VALGRIND is set and equal to "1".
2018-06-14 09:30:55 +03:00
Arttu Ylä-Outinen 0692375caa Fix clobbered warnings in tests
Adds volatile to loop variables in kvazaar tests in order to fix
clobbered warnings.
2018-06-12 14:00:29 +03:00
Arttu Ylä-Outinen f77ab86959 Add test scripts to EXTRA_DIST
Adds test scripts to EXTRA_DIST in tests/Makefile.am so that they get
included in the tarballs when running make dist.
2017-11-27 12:28:55 +02:00
Arttu Ylä-Outinen 4cb054295a Fix linkers
Overrides the linkers used for kvazaar, libkvazaar.la and kvazaar_tests.
When crypto++ is enabled, the C++ linker is used and when it is
disabled, the C linker is used.

This removes the need to explicitly specify -lstdc++ in configure when
crypto++ is used and fixes the build with crypto++ when libstd++ is not
installed.
2017-11-13 15:09:38 +02:00
Arttu Ylä-Outinen ebddd854dc Fix clobbered warnings in tests
Adds volatile to loop variables in kvazaar tests in order to fix "might
be clobbered by ‘longjmp’ or ‘vfork’" warnings when building with -O3.
2017-08-11 14:18:12 +03:00
Arttu Ylä-Outinen 242c11d379 Use deblock and SAO in tiles tests
Reveals a bug in SAO when using tiles.
2017-08-01 14:34:44 +03:00
Arttu Ylä-Outinen dca71a9091 Add tests for coefficient sum strategy 2017-07-28 07:39:18 +03:00
Arttu Ylä-Outinen edbe00763e Drop extra parameter in kvz_image_calc_sad
Drops the parameter max_lcu_below which was always set to -1.
2017-07-24 15:21:19 +03:00
Jan Beich bb01721cf8 tests: load util.sh from source directory
$ mkdir build
$ cd build
$ ../kvazaar/configure
$ gmake check VERBOSE=1
...
FAIL: test_gop.sh
=================

.: cannot open util.sh: No such file or directory
FAIL test_gop.sh (exit status: 2)

FAIL: test_interlace.sh
=======================

.: cannot open util.sh: No such file or directory
FAIL test_interlace.sh (exit status: 2)
2017-06-28 06:27:46 +00:00
Jan Beich adf0bfea07 tests: drop mktemp(1) flags for better compatibility
$ mktemp --tmpdir tmp.XXXXXXXXXX.yuv
mktemp: illegal option -- -
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix
$ gmktemp --tmpdir tmp.XXXXXXXXXX.yuv
/tmp/tmp.ddQTBn4XmE.yuv

$ mktemp -t tmp.XXXXXXXXXX.yuv
/tmp/tmp.XXXXXXXXXX.yuv.SYYNp8Ki
$ gmktemp -t tmp.XXXXXXXXXX.yuv
/tmp/tmp.2ena2nKgv5.yuv

$ mktemp -t yuv
/tmp/yuv.rX2UAbax
$ gmktemp -t yuv
gmktemp: too few X's in template ‘yuv’
2017-06-28 05:22:46 +00:00
Jan Beich 0280871287 tests: convert scripts to POSIX shell
$ gmake check VERBOSE=1
[...]
FAIL: test_external_symbols.bash
================================

../build-aux/test-driver: ./test_external_symbols.bash: not found
FAIL test_external_symbols.bash (exit status: 127)

FAIL: test_gop.bash
===================

../build-aux/test-driver: ./test_gop.bash: not found
FAIL test_gop.bash (exit status: 127)
[...]
2017-06-28 05:22:46 +00:00
Arttu Ylä-Outinen 3da5558956 Add an LP-GOP test 2017-06-22 09:44:01 +03:00
Arttu Ylä-Outinen 674af752a2 Convert travis tests to scripts
Moves tests from .travis.yml to bash scripts in tests directory. Adds
the test scripts to tests/Makefile.am so that they are included when
running make check.
2017-06-22 09:37:55 +03:00
Arttu Ylä-Outinen 094b39e7fc Refactor inter MV/merge candidate selection
Adds struct merge_candidates_t for holding the spatial and temporal
merge candidates. Changes functions with separate parameters for each
candidate to use the struct instead.
2017-02-22 15:56:36 +09:00
Ari Koivula 17f3f6bc86 Add clipped test cases to inter speed tests
Add tests for the extreme shapes that can happen when a motion vector
points outside the frame. A single pixel case where it probably doesn't
make sense to call a vectorized function, and the maximum size where it
definitely does make sense to call a vectorized function.
2016-09-01 23:08:16 +03:00
Ari Koivula f098e46f4f Add a more realistic speed test for inter sad
Inter SAD accesses pixels directly from the frame buffers, so give it
a 4k frame to work in for more realistic results. The old test used
intra test data, which consist of tiny buffers.
2016-09-01 20:30:26 +03:00