Commit graph

4594 commits

Author SHA1 Message Date
siivonek bcdd339a04 Add some comments. 2023-08-30 09:56:22 +03:00
Joose Sainio 8d743be0d4 [avx2] Fix issue with 16x32 inverse transform 2023-08-30 09:56:22 +03:00
Joose Sainio 6cff22589e static all the things 2023-08-30 09:56:03 +03:00
Joose Sainio c295d4c855 Fix compilation errors 2023-08-30 09:52:47 +03:00
Joose Sainio 30e8e3874a Mostly working 2023-08-30 09:52:47 +03:00
Joose Sainio 07d6b45489 [avx2] Inverses work when ISP is not enabled 2023-08-30 09:52:22 +03:00
siivonek 9f8837fa9c [avx2] Forward transforms seem to be working 2023-08-30 09:17:16 +03:00
Joose Sainio 7a8256176e Disable all avx2 optimizations that cannot be used with mtt/isp 2023-08-30 09:16:04 +03:00
Joose Sainio 5a81d6dea9 pass context_store as pointer
This reverts commit 47c5ea3d5c.
2023-07-21 10:58:17 +03:00
Joose Sainio fc8533d341 remove avx2 instrinsics 2023-07-21 09:51:48 +03:00
Joose Sainio 6e7c48d3c8 Remove avx512 instrincis 2023-07-21 09:51:32 +03:00
Joose Sainio 4ca19a21e5 [avx2] Add comments 2023-05-29 10:36:18 +03:00
Joose Sainio 4942375ef4 [avx2] Replace inefficient loop with AVX2 code 2023-05-10 09:25:58 +03:00
Joose Sainio 8d02ff8e4d [avx2] Improve avx2 version of update_common_context 2023-05-09 15:00:08 +03:00
Joose Sainio 9280d35d96 [dep_quant] Change order of absLevels 2023-05-08 16:34:10 +03:00
Joose Sainio f312fe4a2e [dep_quant] Change order of ctxInit 2023-05-08 09:39:54 +03:00
Joose Sainio 42dcdad5f3 [dep_quant] Separate abs levels and ctx init 2023-05-05 14:15:05 +03:00
Joose Sainio 47c5ea3d5c p 2023-05-02 10:09:06 +03:00
Joose Sainio bbe96a3217 ???? ??? ???? 2023-04-28 15:55:55 +03:00
Joose Sainio ab4f63425d [avx2] This has worked but I'm pretty sure these should be unaligned 2023-04-26 14:41:04 +03:00
Joose Sainio bdd7851e86 [avx2] Simplify 2023-04-26 10:39:23 +03:00
Joose Sainio 473b1b8bb1 [avx2] AVX2 version of depquant now exactly matches scalar version 2023-04-24 08:10:35 +03:00
Joose Sainio 49a36dd455 [dep_quant] Fix rate_estimator and quant_block init cases 2023-04-21 11:42:42 +03:00
Joose Sainio d834a448c3 [avx2] Fix 2023-04-20 13:53:11 +03:00
Joose Sainio 65a875c733 [avx2] fix 2023-04-20 11:28:38 +03:00
Joose Sainio 35d0f58d51 WIP 2023-04-19 15:40:53 +03:00
Joose Sainio 30f1e18bc4 [avx2] replace or 2023-04-19 14:00:36 +03:00
Joose Sainio 8edcdd692b [avx2] Replace loads and stores with non-avx512 stores 2023-04-19 13:38:27 +03:00
Joose Sainio d0024169c2 [avx2] Replace _mm_and_epi32 with _mm_and_si128 2023-04-19 12:34:43 +03:00
Joose Sainio 0e5fb90278 [dep_quant] Clean up 2023-04-19 12:25:54 +03:00
Joose Sainio 9ab59fcc24 [depquant] update_state_eos_avx2 working 2023-04-18 15:43:30 +03:00
Joose Sainio 1ed989ffca WIP 2023-04-17 15:14:35 +03:00
Joose Sainio 61536cb40e [depquant] Only initialize rate_estimator when necessary 2023-04-17 14:45:55 +03:00
Joose Sainio e746db22ed [depquant] Initialize quant_block only when necessary 2023-04-17 14:18:57 +03:00
Joose Sainio b8878f029f [avx2] WIP update_state_eos_avx2 2023-04-17 13:52:58 +03:00
Joose Sainio 963db5a407 [avx2] and last 2023-04-14 09:55:09 +03:00
Joose Sainio 12fea6f8b1 [depquant] remove an unnecessary memcpy 2023-04-14 08:25:33 +03:00
Joose Sainio 6e2eaf9d6b [avx2] Do decision cost comparison with avx2 2023-04-13 15:20:49 +03:00
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