Commit graph

4016 commits

Author SHA1 Message Date
Marko Viitanen 6999e44841 [ibc] Remove check_mv_cost_satd since it is not needed and causes an error, fixes #23 2024-09-08 12:21:01 +03:00
Marko Viitanen f6ef70adfa [10bit] Enable AVX2 optimized DCT functions for all bit depths 2024-09-05 16:55:46 +03:00
Marko Viitanen 862cc92e97 [cli] Fix yuv_io_seek() buffer type 2024-09-05 15:09:51 +03:00
Marko Viitanen cd65044000 [10bit] Fix second instance of satd shifting based on bit depth
Already shifted in the base function
2024-09-05 14:42:00 +03:00
Marko Viitanen 67496d1874 [10bit] Fix reading 8bit data when using BIT_DEPTH 10+ and we need to fill the frame 2024-09-05 14:41:59 +03:00
Marko Viitanen e06d980a96 [sao] Use correct pixel type in sao_edge_ddistortion_generic 2024-08-14 11:20:14 +03:00
Marko Viitanen 6d1ffd48cb Merge branch 'ibc_fixes' 2024-08-07 10:40:37 +03:00
Marko Viitanen eee2e2c51e [IBC] Re-enable the crc32c strategies in 8+ bit depth 2024-08-05 09:05:40 +03:00
Marko Viitanen 3951e89923 [IBC] Add the 16bit 8x8 crc32 and implement (somehow) the empty check_mv_cost_satd() 2024-08-05 08:53:03 +03:00
Marko Viitanen a42d79eade [debug] Output yuview mv data only when cabac->only_count is not used 2024-08-02 14:46:21 +03:00
Marko Viitanen f212ce1369 [refwrap] Add ref_lcu dependancy to the rightmost lcu since refwrap will wrap around the frame 2024-08-02 14:45:20 +03:00
Marko Viitanen e8633dab1d [refwrap] Fix the uvg_get_extended_block_wraparound() and use memcpy 2024-08-01 15:58:36 +03:00
Marko Viitanen 96c6dee6ab [refwrap] Fix the MV wrapping by only wrapping the x-axis and rename some variables 2024-08-01 10:22:19 +03:00
Marko Viitanen 505d0f8c16 [debug] Fix the YUView debug printing 2024-08-01 10:22:19 +03:00
Marko Viitanen a4f43cc576 [refwrap] Implement a block extension function for the wraparound 2024-08-01 10:22:19 +03:00
Marko Viitanen 544b59b7de [api] Add new parameter "ref_wraparound" for motion vector wrapping 2024-08-01 10:22:19 +03:00
Marko Viitanen 22490f6e48 [CI] Make clang ubsan happy by checking the overflow before getting a pointer 2024-07-31 15:00:20 +03:00
Jamaika1 5ae7857876
[10bit] don't overwrite heap 2024-07-31 09:43:56 +02:00
Joose Sainio cc1fd004ea [10bit] don't overwrite heap 2024-07-22 12:59:44 +03:00
Joose Sainio d008a00335 [dep-quant] Fix read out of bounds and left shift of negative 2024-07-01 12:53:04 +03:00
Joose Sainio 634cf72c5d [mts] Fix erroneous bitcost estimation 2024-07-01 12:23:38 +03:00
Marko Viitanen 74451cf14e Add CCLM, Dual-tree, JCCR, MIP, MRL, MTS and Dep-quant to the presets
- Only enabled in veryslow and placebo
2024-07-01 11:06:10 +03:00
José Pedro 9bc8e59bcf Update flow control to print CTU stats to stats file when the stats-file-prefix is set 2024-01-19 09:52:16 +01: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 4a1cd926fb [rdoq] Fix rdoq using uninitialized values that do not matter 2023-09-26 14:26:07 +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
Joose Sainio 48ea4bff4d [dep_quant] Fix rate_estimator and quant_block init cases 2023-09-26 09:20:55 +03:00