- Issue 2013: Sony ARW2 files are now 14 bit as they should be so we get full DR (truncated to 12 bit before), also fixed a buffer overrun bug for ARW2 decoding, black level constants updated to 14 bit

- Added missing Leaf digital back model names in dcraw code
- Issue 2007 (aperture scaling in camconst.json): don't scale black levels, updated doc
- camconst.json can now have several model names per entry (makes the file more compact as many cameras share constants)
- Added Canon 5Dmk3 camconst.json entry, with data from ilias giarimis
- Added a couple of simple Sony entries to camconst.json to show that arw2 is 14 bit now
This commit is contained in:
torger
2013-10-22 14:04:23 +02:00
parent 86d9463f05
commit 194eaa504e
6 changed files with 1853 additions and 1764 deletions

View File

@@ -28,11 +28,11 @@ class CameraConst {
bool get_Levels(struct camera_const_levels & lvl, int bw, int iso, float fnumber);
public:
static CameraConst *parseEntry(void *cJSON);
static CameraConst *parseEntry(void *cJSON, const char *make_model);
bool has_dcrawMatrix(void);
void update_dcrawMatrix(const short *other);
const short *get_dcrawMatrix(void);
int get_BlackLevel(int idx, int iso_speed, float fnumber);
int get_BlackLevel(int idx, int iso_speed);
int get_WhiteLevel(int idx, int iso_speed, float fnumber);
void update_Levels(const CameraConst *other);
};