2297: Improved Phase One IIQ support by fixing flatfield and tiling issues on P40+, P65+ and the IQ series. These fixes should also help the Credo series, but we can't decode those files (yet).

This commit is contained in:
torger
2014-03-26 07:54:52 +01:00
parent 2bfe5f8a31
commit 3682ba49b9
3 changed files with 569 additions and 50 deletions

View File

@@ -127,7 +127,7 @@ protected:
} tiff_ifd[10];
struct ph1 {
int format, key_off, black, black_off, split_col, tag_21a;
int format, key_off, black, black_off, black_off2, split_col, split_row, tag_21a;
float tag_210;
} ph1;
@@ -170,6 +170,7 @@ unsigned getint (int type);
float int_to_float (int i);
double getreal (int type);
void read_shorts (ushort *pixel, int count);
void cubic_spline(const int *x_, const int *y_, const int len);
void canon_600_fixed_wb (int temp);
int canon_600_color (int ratio[2], int mar);
void canon_600_auto_wb();