Resurrected again.
The following has been bugging me some time now, so I decided to ask.
https://trac.assembla.com/chdk/browser/trunk/core/raw.c?rev=3168#L342"point" uses ints as pixel coordinates. Is there any reason not to use shorts instead? That would reduce memory allocated to bad pixel information by 33%.
edit: I see this is only for the text based badpixel list, but the question still stands.
The other question is, why has DNG_VERT_RLE_BADPIXELS (and the code behind it) disappeared? The define is still there in some ports' platform_camera.h, and I was surprised to see that none of its related code exists.
edit2: it hasn't, it's done by default