klauspost/rawspeed — pull request #24 by pedrocr (2014-06-29 00:15:13+00:00)
Title: Cleanup the RAF decoder and add more cameras

I was again going through the rawsamples.ch files and tried to get the old Fuji cameras going. The RAF decoder was mostly done in that case but in figuring out what was wrong with the S2Pro I ended up doing a bit of cleanup to the code. I made the rotation stuff much simpler instead of using all that dcraw derived magic looking code, and made some other small cleanups.

I've tested this against all the samples in rawsamples.ch as well as all the new cameras with samples from imaging-resource.com. Everything is working well except the F700. It was one of the cameras I added but so far only with supported="no". There seems to be something wrong with that camera. It looks like a wrong bayer pattern definition, but I've tried several and couldn't get it to work. If you want to have a look the sample file is at:

http://www.rawsamples.ch/raws/fuji/f700/RAW_FUJI_F700.RAF