Fixed pink tint on thumbs, espc. Canon files

see issue 1437
This commit is contained in:
Oliver Duis
2012-06-26 08:00:13 +02:00
parent 28966315b9
commit b1bb0af84e
4 changed files with 28 additions and 25 deletions

View File

@@ -107,6 +107,8 @@ protected:
char* profile_data; // Embedded ICC color profile
unsigned short* allocation; // pointer to allocated memory
unsigned calcBlack; // calculated black, like DCRAW before 9.15
public:
std::string get_filename() const { return filename;}
@@ -116,7 +118,8 @@ public:
bool isBayer() const { return filters!=0; }
unsigned get_filters() const { return filters; }
int get_colors() const { return colors;}
int get_black() const { return black;}
int get_black() const { return black;} // from DCRAW 9.15 =0, but reflected in cblack
int get_calcblack() const { return calcBlack;} // simulated like DCRAW before 9.15
int get_cblack(int i) const {return cblack[i];}
int get_white() const { return maximum;}
unsigned short get_whiteSample( int r, int c ) const { return white[r][c];}