Commit graph

4665 commits

Author SHA1 Message Date
Joose Sainio fdcca0c76b Add option for skipping input, when encoding real-time input but the encoder is not fast enough
also clean up CMakeLists.txt
2024-06-17 12:24:24 +03:00
Joose Sainio a28ad1509d Send finished CTU 2024-02-09 14:25:43 +02:00
Joose Sainio 1778bc08c6 Fix costs and send best split 2024-02-02 11:48:41 +02:00
Joose Sainio 24527c5be8 Fix distortion and bits 2024-01-31 13:03:33 +02:00
Joose Sainio 6dfa89d3a6 Fix for linux and include cost, dist, and bits 2024-01-30 15:54:59 +02:00
Joose Sainio c0a0f69b00 Works on windows 2024-01-26 15:13:42 +02:00
Joose Sainio 3b8be5b8c1 Use nanosleep instead of usleep, as it is possible that the sleep would be less than 1us 2024-01-23 14:37:42 +02:00
Joose Sainio e10071b9b7 Throw frames out if the encoder is not ready 2024-01-23 12:55:57 +02:00
Joose Sainio bdb606b20b OK, now it works 2024-01-23 11:07:21 +02:00
Joose Sainio 213526c7a3 Kinda force the encoder to wait, however, first CTU is for whatever reason always encoded 2024-01-23 10:37:14 +02:00
Joose Sainio 881eaab494 Change speed handling to be power of two instead of linear 2024-01-22 11:21:58 +02:00
Joose Sainio 9aff6d1f16 Speed handling 2024-01-16 09:31:22 +02:00
Joose Sainio f27b302aca All but speed setting handled 2024-01-16 09:03:06 +02:00
Joose Sainio e71238c354 More zmq integration and copy of config for frames so that we can limit what the encoder does, while not making the bitstream illegal 2024-01-15 14:29:33 +02:00
Joose Sainio 67f1e5e1fe Start incorporating zmq 2024-01-15 09:32:36 +02:00
Joose Sainio 9570f06f8e Include qp and split_tree 2024-01-09 09:39:30 +02:00
Joose Sainio 2d0adf67c5 frame number 2024-01-08 09:40:10 +02:00
Joose Sainio 8c58b5dbc3 Proper timestamp, at least for linux 2024-01-04 14:47:50 +02:00
Joose Sainio a604126a2d fix 2024-01-04 13:48:26 +02:00
Joose Sainio e347c33f44 Initial simple just output data to file 2024-01-04 13:48:26 +02:00
Joose Sainio cdc9b4960d fix 2024-01-04 13:46:19 +02:00
Joose Sainio e5e32d67f4 [avx2] Remove a define that was never meant to be committed 2023-09-27 12:54:53 +03:00
Joose Sainio 9add13b705 update version an docs 2023-09-27 09:47:05 +03:00
Joose Sainio 84580aebb0 Merge branch 'release-prep' into master 2023-09-27 08:11:09 +03:00
Joose Sainio 4a1cd926fb [rdoq] Fix rdoq using uninitialized values that do not matter 2023-09-26 14:26:07 +03:00
Joose Sainio 079d7e9a1a [tests] Fix mts_tests.c to not consider irrelevant elements 2023-09-26 11:36:43 +03:00
Joose Sainio 69c1c948fa [cfg] Specify that MTT and ISP are currently experimental 2023-09-26 10:41:31 +03:00
Joose Sainio e32cf4fb52 [avx2] Re-enable disabled avx2 functions that do not work with non-square blocks 2023-09-26 10:38:29 +03:00
Joose Sainio ff77346527 [dct2] Remove unnecessary memsets 2023-09-26 09:57:47 +03:00
Joose Sainio 64d222d17c [dep_quant] Remove dead code and fix small issue 2023-09-26 09:42:30 +03:00
siivonek 284724398e Add some comments. 2023-09-26 09:21:49 +03:00
Joose Sainio 3d4e732952 [avx2] Fix issue with 16x32 inverse transform 2023-09-26 09:21:49 +03:00
Joose Sainio d62a3f888e [avx2] static all transform tables 2023-09-26 09:21:48 +03:00
Joose Sainio 1f9955bdda [avx2] Fix compilation errors 2023-09-26 09:21:35 +03:00
Joose Sainio 13d4313e02 [avx2] Mostly working 2023-09-26 09:21:29 +03:00
Joose Sainio b78f9aff17 [avx2] Inverses work when ISP is not enabled 2023-09-26 09:21:24 +03:00
siivonek 4dccbcc30d [avx2] Forward transforms seem to be working 2023-09-26 09:21:24 +03:00
Joose Sainio 19829da152 Disable all avx2 optimizations that cannot be used with mtt/isp 2023-09-26 09:21:23 +03:00
Joose Sainio 1c293b8253 pass context_store as pointer
This reverts commit 47c5ea3d5c.
2023-09-26 09:21:23 +03:00
Joose Sainio 2caf077cff Remove avx512 instrincis 2023-09-26 09:21:23 +03:00
Joose Sainio 254826d396 [avx2] Add comments 2023-09-26 09:21:19 +03:00
Joose Sainio f2fb641acb [avx2] Replace inefficient loop with AVX2 code 2023-09-26 09:21:19 +03:00
Joose Sainio bc24601369 [avx2] Improve avx2 version of update_common_context 2023-09-26 09:21:19 +03:00
Joose Sainio 915104cf10 [dep_quant] Change order of absLevels 2023-09-26 09:21:18 +03:00
Joose Sainio d850c346d6 [dep_quant] Change order of ctxInit 2023-09-26 09:21:18 +03:00
Joose Sainio a624988c91 [dep_quant] Separate abs levels and ctx init 2023-09-26 09:21:18 +03:00
Joose Sainio dda972c665 [avx2] Try to do lnz decision with avx2 2023-09-26 09:21:18 +03:00
Joose Sainio cf6f03b73b [avx2] This has worked but I'm pretty sure these should be unaligned 2023-09-26 09:20:56 +03:00
Joose Sainio b4c84e820c [avx2] Simplify 2023-09-26 09:20:56 +03:00
Joose Sainio 2811ce58f4 [avx2] AVX2 version of depquant now exactly matches scalar version 2023-09-26 09:20:56 +03:00