yeah libfuji is shoulders of giants. when I told my boss to hack my Fujifilm camera, that was the first thing they referenced.
there’s even an existing re implementation of X RAW STUDIO in the browser posted to HN a while back, very cool: https://news.ycombinator.com/item?id=47435081