  
  extern ExitHandler do_exit;
  
  // global var for AE/AF ops
  std::atomic<CameraExpInfo> rear_exp{{0}};
  std::atomic<CameraExpInfo> front_exp{{0}};
  
  CameraInfo cameras_supported[CAMERA_ID_MAX] = {
    [CAMERA_ID_IMX298] = {
      .frame_width = 2328,
      .frame_height = 1748,
 
</s> remove void *processing_thread(MultiCameraState *cameras, const char *tname,
                        CameraState *cs, process_thread_cb callback) {
  set_thread_name(tname);
 </s> add void *processing_thread(MultiCameraState *cameras, CameraState *cs, process_thread_cb callback) {
  const char *thread_name = nullptr;
  if (cs == &cameras->road_cam) {
    thread_name = "RoadCamera";
  } else if (cs == &cameras->driver_cam) {
    thread_name = "DriverCamera";
  } else {
    thread_name = "WideRoadCamera";
  }
  set_thread_name(thread_name); </s> remove   for (int i = 0; i < (rear ? 3 : 1); i++) {
 </s> add   for (int i = 0; i < (is_road_cam ? 3 : 1); i++) { </s> remove   s->rear.device = s->device;
  s->front.device = s->device;
 </s> add   s->road_cam.device = s->device;
  s->driver_cam.device = s->device; </s> remove   s->sm_front = new SubMaster({"driverState"});
 </s> add   s->sm = new SubMaster({"driverState"}); </s> remove       // rear camera
 </s> add       // road camera
std::atomic<CameraExpInfo> road_cam_exp{{0}};
std::atomic<CameraExpInfo> driver_cam_exp{{0}};
  
  extern ExitHandler do_exit;
  
  // global var for AE/AF ops
std::atomic<CameraExpInfo> road_cam_exp{{0}};
std::atomic<CameraExpInfo> driver_cam_exp{{0}};
std::atomic<CameraExpInfo> road_cam_exp{{0}};
std::atomic<CameraExpInfo> driver_cam_exp{{0}};
  
  CameraInfo cameras_supported[CAMERA_ID_MAX] = {
    [CAMERA_ID_IMX298] = {
      .frame_width = 2328,
      .frame_height = 1748,
keep keep keep keep replace 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