      front_exp.store(tmp);
    }
  }
  
  static void front_start(CameraState *s) {
    set_exposure(s, 1.0, 1.0);
    int err = sensor_write_regs(s, start_reg_array, ARRAYSIZE(start_reg_array), MSM_CAMERA_I2C_BYTE_DATA);
    LOG("sensor start regs: %d", err);
  }
  
 
</s> remove static void rear_start(CameraState *s) {
 </s> add static void road_camera_start(CameraState *s) { </s> remove     front_exp.store(tmp);
 </s> add     driver_cam_exp.store(tmp); </s> remove   front_start(&s->front);
  rear_start(&s->rear);
 </s> add   driver_camera_start(&s->driver_cam);
  road_camera_start(&s->road_cam); </s> remove   if (rear && s->device != DEVICE_LP3) {
 </s> add   if (is_road_cam && s->device != DEVICE_LP3) { </s> remove   s->stream_cfg.num_streams = rear ? 3 : 1;
 </s> add   s->stream_cfg.num_streams = is_road_cam ? 3 : 1;
static void driver_camera_start(CameraState *s) {
      front_exp.store(tmp);
    }
  }
  
static void driver_camera_start(CameraState *s) {
    set_exposure(s, 1.0, 1.0);
    int err = sensor_write_regs(s, start_reg_array, ARRAYSIZE(start_reg_array), MSM_CAMERA_I2C_BYTE_DATA);
    LOG("sensor start regs: %d", err);
  }
  
keep keep keep keep replace keep keep keep keep keep
 camerad: rename variables&functions to follow new convention (#20096)

* rename CameraState variables to follow new convention

* continue

* rename camera_process functions

* qcom:rename exposure related variables

* continue

* update commments

* bool real -> bool is_road_cam

* rename sm_front -> sm

* remove paramater tname from start_process_thread

* rename rhd_front to is_rhd

* remove unused varialble name from struct CameraInfo

* rename env_send_xxx

* rename cap_front to cap_driver,cap_rear to cap_road

* rename xxx_camera_process to process_xxx_camera

* update snapshot.py 
selfdrive/camerad/cameras/camera_qcom.cc