Commit graph

3908 commits

Author SHA1 Message Date
Joose Sainio fcbd12fef3 WIP 2023-04-12 15:36:45 +03:00
Joose Sainio c2ca1da666 [depquant] Pre calculate things
sig_ctx_offset gtx_ctx_offset cg_pos pos_y  pos_x next_sbb_right next_sbb_below
2023-04-12 15:02:06 +03:00
Joose Sainio d71eb77d1a [avx2] update_states_avx2 working 2023-04-12 10:41:37 +03:00
Joose Sainio 93f1726cba [avx2] WIP update_states_avx2 2023-04-10 15:31:05 +03:00
Joose Sainio 8d2a14f562 [avx2] simplify 2023-04-10 08:40:35 +03:00
Joose Sainio a57551c060 [avx2] check_rd_costs_avx2 done 2023-04-09 14:05:50 +03:00
Joose Sainio ba1b15e476 [avx2] WIP check_rd_costs_avx2, almost? 2023-04-08 18:58:40 +03:00
Joose Sainio a74332aa93 [avx2] WIP check_rd_costs_avx2 2023-04-07 15:15:58 +03:00
Joose Sainio 1f12e71a74 [dep_quant.c] Small refactor 2023-04-07 08:14:06 +03:00
Joose Sainio fc13b395c0 [depquant] AoS -> SoA pre quant 2023-04-06 16:07:38 +03:00
Joose Sainio 87c9d94484 [depquant] AoS -> SoA all states 2023-04-06 15:12:29 +03:00
Joose Sainio d178c72842 [depquant] AoS -> SoA for Decision 2023-04-05 11:17:16 +03:00
Joose Sainio 9120a04e77 [fix] Minor fixes 2023-04-05 09:33:00 +03:00
Joose Sainio 6f41929e5a [mtt] Fix small issues with luma and chroma searches 2023-03-31 13:37:22 +03:00
Joose Sainio 7022e44b5c [dual-tree] Fix chroma tree split model context derivation during search 2023-02-23 13:41:59 +02:00
Joose Sainio 49ca61c201 [dual-tree] Small fixes 2023-02-23 12:50:30 +02:00
Joose Sainio ca7cc7881f [dual-tree] Remove the limitation of not allowing 2 height chroma blocks in dual tree 2023-02-23 08:48:08 +02:00
Joose Sainio 899a0323fb [dual-tree] WIP simplification 2023-02-22 14:52:29 +02:00
Joose Sainio 3ce7691f6e [mtt] Fix various small issues and DepQuant for non-square blocks 2023-02-15 14:23:55 +02:00
Joose Sainio 1c84b1edeb [mtt] Minor fixes 2023-02-14 10:36:01 +02:00
Joose Sainio e54a451289 [mtt] Fix couple of issues with 64x32 CUs and non square tr skip rdoq 2023-02-08 14:50:03 +02:00
Joose Sainio b7905c7238 [ISP] Fix ISP cost calculation and DepQuant with mts 2023-02-03 14:58:36 +02:00
Joose Sainio fcb92849e0 [DepQuant] Fix isp+depquant and trskip + isp 2023-01-31 14:27:35 +02:00
Joose Sainio 44e4f72fb0 [DepQuant] Fix for mts and lfnst being quantized incorrectly during search 2023-01-23 13:39:22 +02:00
Joose Sainio fd43064cfa [DepQuant] Isp and chroma 2023-01-19 16:30:47 +02:00
Joose Sainio 9f3df67718 [DepQuant] Fix 2023-01-17 15:18:13 +02:00
Joose Sainio dfda6810c5 [DepQuant] Working but not necessarily improving 2023-01-12 15:15:52 +02:00
Joose Sainio 49f6e72c00 [DepQuant] WIP: doesn't crash but bitstream is illegal and quality a lot worse 2023-01-11 14:17:18 +02:00
Joose Sainio 155be1ca3d [DepQuant] WPP: API 2023-01-11 10:12:59 +02:00
Joose Sainio 5666cf7fce [DepQuant] WIP: dequant 2023-01-11 09:25:34 +02:00
Joose Sainio 8ab7908c8e [DepQuant] WIP: compiles 2023-01-11 08:34:03 +02:00
Joose Sainio 4a911bbf2b [DepQuant] WIP: easy part done 2023-01-09 14:10:10 +02:00
Joose Sainio fd8f212a5a [DepQuant] WIP: initialization done 2023-01-09 10:26:59 +02:00
Joose Sainio 2452e06f39 [mtt] correct indexing for chroma tree 2023-01-04 11:19:01 +02:00
Joose Sainio 9e41a8bd20 [mtt] Only consider termination if the cu is completely inside the frame 2023-01-04 10:49:42 +02:00
Joose Sainio 25ab38f1ff [mtt] Early terminations for all intra 2023-01-04 09:34:34 +02:00
Joose Sainio 7fe5476be1 [mtt] search early terminations 2023-01-02 13:53:15 +02:00
Joose Sainio c591af3668 [isp] properly reset cabac context during intra search 2022-12-21 14:33:10 +02:00
Joose Sainio c64e844ac5 [deblock] fix width and height to correct order 2022-12-21 13:45:56 +02:00
Joose Sainio 573413bcf6 [isp] Keep cabac contexts up to date for the different isp tus 2022-12-21 11:53:55 +02:00
Joose Sainio 34c95a5557 [mtt] Fix rdoq for non-square blocks 2022-12-21 09:17:55 +02:00
Joose Sainio 50ae8cbc82 [deblock] Use the isp block dimensions instead of cu dimensions fro deblock 2022-12-20 11:43:28 +02:00
Joose Sainio 51ad48ea1c [isp] Fix isp bitcost calculation 2022-12-20 09:13:08 +02:00
Joose Sainio 17540abb76 [lfnst] Also chroma can only use lfnst if dimensions are minimum 4 2022-12-20 08:23:01 +02:00
Joose Sainio e941ed5fa4 [mtt] There is always at least the height or width amount reference pixels available 2022-12-19 14:43:21 +02:00
Joose Sainio ccb9d57645 [mtt] Fix reading uninitialized data for local chroma tree 2022-12-19 14:25:03 +02:00
Joose Sainio 084572c890 [mtt] Fix lfnst bit counting for 64 wide or tall chroma tree cus 2022-12-19 13:22:10 +02:00
Joose Sainio 0b1b04cbea [mtt] Set cus outside of the frame to zero for initializing partial worktree 2022-12-19 12:42:01 +02:00
Joose Sainio 3e014d659b [mtt] Fix negative indexing 2022-12-19 09:59:33 +02:00
Joose Sainio 47b6754113 [mtt] Fix ref pixel generation for the second half of 32x2 chroma cus 2022-12-19 09:36:14 +02:00