DLog-specific tweaks to FastLZ 05/274105/4
authorMichal Bloch <m.bloch@samsung.com>
Thu, 21 Apr 2022 09:32:44 +0000 (11:32 +0200)
committerMichal Bloch <m.bloch@samsung.com>
Wed, 27 Apr 2022 12:34:51 +0000 (14:34 +0200)
commit2856839d5d21e45da9cad9303dc2912d460337a3
treedd4cddb6cba0d02360c458c32502cca730ca6453
parent2c42050a22c76a1cc7cda2e0692336ac7191ed2b
DLog-specific tweaks to FastLZ

 * add a way to calculate the minimum compression output buffer size
   as required by the interface. This should've probably been baseline.

 * remove the unsafety compiler parameter because I don't want anybody
   to actually tweak it. Removing this safety check is still possible,
   but now somebody has to get his hands dirty and be aware of what
   the exact consequences are, as opposed to just tweaking what is
   essentially an opaque knob.

 * add a comment detailing whence the code was taken.

Change-Id: I1229a9364523b3a5526c9933ccfd09d9292f34a9
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
external/fastlz/fastlz.c
external/fastlz/fastlz.h