about the raw stuff
i need to modify raw.c to save in the right folder, look at sx210 sorce
also check all the file related stubs, take a look slso to my sorce
hope it helps
Thanks for the pointer. I've been a bit busy the last few days, so I'm going to wait until I have a bit more time to look into the raw stuff again as I think it might take a while.
In the meantime I've had a quick look into the overrides:
I think I have fl_tbl and CF_EFL sorted. There are only 8 zoom points so I just took a photo at each step and looked at the exif data.
// Ixus130 Focal length: 5mm-20mm, 35mm equivalent 28mm-112mm, so:
// CF_EFL = 28/5*10000 = 56000 or 112/20*10000 = 56000
static const int fl_tbl[] = { 5000, 6400, 7400, 9000, 11200, 13000, 15600, 20000 };
#define NUM_FL (sizeof fl_tbl / sizeof *fl_tbl)
#define CF_EFL 56000
The aperture_sizes_table was not so obvious. How do I know if the camera has a diaphragm? I assumed it doesn't and just took two photos at each zoom step (with and without ND filter).
PROPCASE 26 does not change, but 23-25 and 27 all seem to hold the same value, and it looks reasonable compared to other cameras, so I used this.
The ND filter made the pictures obviously darker, but had no effect on the exif data or the PROPCASE, and two of the zoom steps had the same exif data, so for the moment I only have:
{ 9, 293, "2.8" },
{ 10, 317, "3.2" },
{ 11, 336, "3.5" },
{ 12, 364, "3.5" },
{ 13, 397, "4.0" },
{ 14, 422, "4.5" },
{ 15, 454, "5.0" },
{ 16, 500, "5.9" },
I still need to test the shutter_speeds_table. I tried a few values, and it seemed to work up to 64 seconds (I haven't yet tested longer, or very short values), but the exif data is not quite right. For long shutter speeds it always records 14 seconds. The other values also seem to be slightly off:
override exif
64 14
32 14
16 14
10 9
5 4
2 2
1.3 1
1 1
0.8 1/1
0.1 1/9
For the modemap, there were three modes that I couldn't match to any existing ones, so I added them to modelist.h as: MODE_SMART_SHUTTER (smile detection), MODE_MINIATURE (tilt-shift simulation) and MODE_FISHEYE.
But maybe there are other new cams with these modes that are not yet in svn, in which case I should be consistent with them.