|
|
@ -55,9 +55,6 @@ const int ANALOG_GAIN_MAX_IDX = 0xD; // 4.0x |
|
|
|
const int EXPOSURE_TIME_MIN = 2; // with HDR, fastest ss
|
|
|
|
const int EXPOSURE_TIME_MIN = 2; // with HDR, fastest ss
|
|
|
|
const int EXPOSURE_TIME_MAX = 1904; // with HDR, slowest ss
|
|
|
|
const int EXPOSURE_TIME_MAX = 1904; // with HDR, slowest ss
|
|
|
|
|
|
|
|
|
|
|
|
// global var for AE ops
|
|
|
|
|
|
|
|
std::atomic<CameraExpInfo> cam_exp[3] = {{{0}}}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ************** low level camera helpers ****************
|
|
|
|
// ************** low level camera helpers ****************
|
|
|
|
int cam_control(int fd, int op_code, void *handle, int size) { |
|
|
|
int cam_control(int fd, int op_code, void *handle, int size) { |
|
|
|
struct cam_control camcontrol = {0}; |
|
|
|
struct cam_control camcontrol = {0}; |
|
|
|