Homec4science

Interim commit while integrating padded wavelet xform with pmapcontrib modules.

Authored by U No Hoo <roland.schregle@gmail.com> on Jan 4 2022, 02:36.

Description

Interim commit while integrating padded wavelet xform with pmapcontrib modules. Unfortunately this means there's no 1:1 correspondence between bins and wavelet coeffs anymore, so there are more (uncompressed) coeffs than bins, which wastes space and may overflow the mRGBE data fields, which now store coefficient indices instead of bins. It also means contribs have to be explicitly moved into the wavelet coefficient matrix prior to the xform, instead of the elegant row pointer mapping scheme we had before. This is not only ugly bat noticeably slower! :^( Fixed major bug in contribPhotonSort(), which called contribPhotonQuickSort() with absolute instead of relative indices. Moved PMAP_CNTUPDATE to pmutil.h, where more accessible.

Details