Support more ARQ files, 4 and 16 Shot ARQ from ILCE-1
This commit is contained in:
committed by
Daniel Martinez
parent
0bee94e4aa
commit
b673154531
@@ -592,6 +592,7 @@ BENCHFUN
|
||||
|
||||
static const float ePerIsoILCE7RM3 = 0.8f;
|
||||
|
||||
//TODO: Add data for ILCE-7RM4, and ILCE-1
|
||||
if(plistener) {
|
||||
plistener->setProgressStr(Glib::ustring::compose(M("TP_RAW_DMETHOD_PROGRESSBAR"), M("TP_RAW_PIXELSHIFT")));
|
||||
plistener->setProgress(0.0);
|
||||
@@ -610,18 +611,29 @@ BENCHFUN
|
||||
|
||||
int nReadIndex = static_cast<int>(round(log2(idata->getISOSpeed() / 100.f) * 3.f));
|
||||
|
||||
if(model.find("K-3") != string::npos) {
|
||||
nRead = nReadK3II[nReadIndex];
|
||||
eperIsoModel = ePerIsoK3II;
|
||||
} else if(model.find("K-1") != string::npos) { // this also matches K-1 Mark II
|
||||
nRead = nReadK1[nReadIndex];
|
||||
eperIsoModel = ePerIsoK1;
|
||||
} else if(model.find("ILCE-7RM3") != string::npos) {
|
||||
nRead = nReadILCE7RM3[nReadIndex];
|
||||
eperIsoModel = ePerIsoILCE7RM3;
|
||||
} else { // as long as we don't have values for Pentax KP, we use the values from K-70
|
||||
nRead = nReadK70[nReadIndex];
|
||||
eperIsoModel = ePerIsoK70;
|
||||
if(make.find("Sony") != string::npos) {
|
||||
if(model.find("ILCE-7RM3") != string::npos) {
|
||||
nRead = nReadILCE7RM3[nReadIndex];
|
||||
eperIsoModel = ePerIsoILCE7RM3;
|
||||
/* TODO: When we have data for missing ILCE-7RM4, and ILCE-1, add it here
|
||||
} else if(model.find("ILCE-7RM4") != string::npos) {
|
||||
} else if(model.find("ILCE-1") != string::npos) {
|
||||
*/
|
||||
} else { // default to ILCE-7RM3 for Sony cameras without data
|
||||
nRead = nReadILCE7RM3[nReadIndex];
|
||||
eperIsoModel = ePerIsoILCE7RM3;
|
||||
}
|
||||
} else { // Pentax
|
||||
if(model.find("K-3") != string::npos) {
|
||||
nRead = nReadK3II[nReadIndex];
|
||||
eperIsoModel = ePerIsoK3II;
|
||||
} else if(model.find("K-1") != string::npos) { // this also matches K-1 Mark II
|
||||
nRead = nReadK1[nReadIndex];
|
||||
eperIsoModel = ePerIsoK1;
|
||||
} else { // as long as we don't have values for Pentax KP, we use the values from K-70
|
||||
nRead = nReadK70[nReadIndex];
|
||||
eperIsoModel = ePerIsoK70;
|
||||
}
|
||||
}
|
||||
|
||||
eperIsoModel *= pow(2.f, eperIso - 1.f);
|
||||
|
Reference in New Issue
Block a user