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
Ari Koivula
9ea7bfd19a
Return calls per second from speed tests
...
Sometimes the tests overrun their time limit by varying amounts.
Return calls per second based on the amount of time actually spent in
the loop instead of how much time we tried to spend in the loop.
2016-08-30 15:23:44 +03:00
Ari Koivula
07a919cb3e
Add speed tests for dual intra SAD functions
...
The speed test suite was crashing due to these being missing.
2016-08-30 15:23:11 +03:00
Ari Koivula
345ef833d7
Add more tests for inter SAD
...
The existing tests only covered the edge cases of border extension, but
not the SIMD optimized versions of reg_sad. This adds proper tests for
current optimized reg_sad implementations and ones we are likely to
have in the future.
2016-08-30 15:22:05 +03:00
Ari Koivula
032ed30ff4
Add chroma format support to kvz_picture
...
Add picture_alloc_csp to libkvz api to allocated pictures with chroma
format different from 420.
2016-08-24 19:20:53 +03:00
Arttu Ylä-Outinen
2ae260e422
Change width of cells in lcu_t to 4 pixels.
...
Intra mode info for NxN partition units is now stored in the
corresponding 4x4 cell in lcu_t.cu array.
2016-06-16 18:53:17 +09:00
Arttu Ylä-Outinen
98aa906f30
Drop field coded from cu_info_t
...
It can be inferred from the position and size of the CU.
2016-06-14 12:21:57 +09:00
Arttu Ylä-Outinen
e14858f41a
Fix build and tests.
...
- Remove non-existent file interface_main.c from library sources.
- Add file mv_cand_tests.c to test sources.
2015-12-21 16:03:55 +02:00
Arttu Ylä-Outinen
9abdee7cc3
Merge branch 'autotools'
2015-12-21 15:54:30 +02:00
darealshinji
8427a85d36
Add tests
2015-12-19 08:24:35 +01:00
Arttu Ylä-Outinen
1cd149fb97
Check merge/mv candidate types earlier.
...
Moves checks for motion vector prediction and merge candidate block
types (inter/intra) from functions kvz_inter_get_mv_cand and
kvz_inter_get_merge_cand to kvz_inter_get_spatial_merge_candidates.
2015-12-15 11:21:39 +02:00
Arttu Ylä-Outinen
969c91d7c4
Add a test for kvz_inter_get_spatial_merge_candidates.
2015-12-15 11:21:39 +02:00
Ari Koivula
0722f461c5
Fix compiling tests on mac
...
The mac version of KVZ_GET_TIME macro has many statements, which
prevented it being used inside a for loop statement. Added brackets
to all versions to prevent this issue arising in the future.
Fixes #115 .
2015-11-13 22:57:29 +02:00
Ari Koivula
93637f4683
Move macros in threads.h to KVZ_ namespace
2015-11-13 22:46:32 +02:00
Ari Lemmetti
6214e2b328
Fix small typos
2015-10-05 19:41:23 +03:00
Ari Lemmetti
9051fbf593
Fix function names in speed tests
2015-09-18 17:15:59 +03:00
Ari Koivula
09baa6bd5e
Fix intra_sad and satd_tests
...
The tests were not being run, because the names have changed.
2015-09-18 15:26:37 +03:00
Arttu Ylä-Outinen
3a10e9e3e0
Prefix all non-static symbols with "kvz_".
2015-08-26 13:02:28 +03:00
Ari Lemmetti
5d96dbc6c0
Make strategy selection use bit depth given via parameter instead of excluding registration with defines
2015-08-12 13:33:38 +03:00
Ari Lemmetti
f6ffa1af8b
Disable tests with bit depth other than 8
2015-08-12 11:36:32 +03:00
Ari Lemmetti
4122f36089
Prevent the registration of strategies that are incompatible when KVZ_BIT_DEPTH != 8
...
Remove unnecessary or misleading mentions of "8bit"
2015-08-12 11:29:53 +03:00
Arttu Ylä-Outinen
e3fbd6d2be
Fix test compilation warnings.
...
- Turn global variables static.
- Increase size of bufs array in intra_sad_tests.
2015-07-02 16:58:30 +03:00