diff --git a/selfdrive/camerad/cameras/camera_common.h b/selfdrive/camerad/cameras/camera_common.h index 2ba348f9c0..bfa317b3c0 100644 --- a/selfdrive/camerad/cameras/camera_common.h +++ b/selfdrive/camerad/cameras/camera_common.h @@ -34,10 +34,6 @@ #define LOG_CAMERA_ID_QCAMERA 3 #define LOG_CAMERA_ID_MAX 4 -#define HLC_THRESH 222 -#define HLC_A 80 -#define HISTO_CEIL_K 5 - const bool env_send_driver = getenv("SEND_DRIVER") != NULL; const bool env_send_road = getenv("SEND_ROAD") != NULL; const bool env_send_wide_road = getenv("SEND_WIDE_ROAD") != NULL; diff --git a/selfdrive/camerad/cameras/camera_qcom2.cc b/selfdrive/camerad/cameras/camera_qcom2.cc index 8c44bf0ca0..9a2ef73932 100644 --- a/selfdrive/camerad/cameras/camera_qcom2.cc +++ b/selfdrive/camerad/cameras/camera_qcom2.cc @@ -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_MAX = 1904; // with HDR, slowest ss -// global var for AE ops -std::atomic cam_exp[3] = {{{0}}}; - // ************** low level camera helpers **************** int cam_control(int fd, int op_code, void *handle, int size) { struct cam_control camcontrol = {0};