It looks like I accidentally uploaded an old, broken version of rawc.o. The correct, working version is now at the same URL. If you downloaded it before this reply went up you will need to re-download and and re-link it. Sorry about that.
Also, I noticed a mistake in the example raw_get_pixel posted earlier. The correct shifts for pixels C and F are:
Also, I noticed a mistake in the example raw_get_pixel posted earlier. The correct shifts for pixels C and F are:
Code Select
raw->c_lo | (raw->c_hi << 4);
raw->f_lo | (raw->f_hi << 8);