move to camconst.json the info about whether global green equilibration is needed for the camera
This commit is contained in:
@@ -26,6 +26,8 @@ private:
|
||||
std::map<float, float> mApertureScaling;
|
||||
std::vector<int> pdafPattern;
|
||||
int pdafOffset;
|
||||
int globalGreenEquilibration;
|
||||
|
||||
CameraConst();
|
||||
static bool parseLevels(CameraConst *cc, int bw, void *ji);
|
||||
static bool parseApertureScaling(CameraConst *cc, void *ji);
|
||||
@@ -45,10 +47,13 @@ public:
|
||||
void get_rawMask(int idx, int& top, int& left, int& bottom, int& right);
|
||||
int get_BlackLevel(int idx, int iso_speed);
|
||||
int get_WhiteLevel(int idx, int iso_speed, float fnumber);
|
||||
bool has_globalGreenEquilibration();
|
||||
bool get_globalGreenEquilibration();
|
||||
void update_Levels(const CameraConst *other);
|
||||
void update_Crop(CameraConst *other);
|
||||
void update_pdafPattern(const std::vector<int> &other);
|
||||
void update_pdafOffset(int other);
|
||||
void update_globalGreenEquilibration(bool other);
|
||||
};
|
||||
|
||||
class CameraConstantsStore
|
||||
|
Reference in New Issue
Block a user