The source project of this merge request has been removed.
Fix: memory reduction: use actual CTU size instead of MAX_CU_SIZE in encoder
use actual CTU size instead of MAX_CU_SIZE for temporary data allocations in encoder:
- temporary CS in EncCu
- temporary CS in IntraSearch
- REUSE_CU_RESULTS related data in EncModeCtrl
Results are bit-accurate. Memory reduction is about 2.8GB for 128x128 CU (RA Class B, C, D, E...), + all AI. (unfortunately, nothing for RA class A)
Edited by Fabrice URBAN