  
  void front_thread(CameraState *s) {
    int err;
  
    cv::VideoCapture cap_front(2); // driver
    cap_front.set(cv::CAP_PROP_FRAME_WIDTH, 853);
    cap_front.set(cv::CAP_PROP_FRAME_HEIGHT, 480);
    cap_front.set(cv::CAP_PROP_FPS, s->fps);
    // cv::Rect roi_front(320, 0, 960, 720);
  
    cv::Size size;
    size.height = s->ci.frame_height;
    size.width = s->ci.frame_width;
 
</s> remove void common_camera_process_front(SubMaster *sm, PubMaster *pm, CameraState *c, int cnt) {
 </s> add void common_process_driver_camera(SubMaster *sm, PubMaster *pm, CameraState *c, int cnt) { </s> remove   static const bool rhd_front = Params().read_db_bool("IsRHD");
 </s> add   static const bool is_rhd = Params().read_db_bool("IsRHD"); </s> remove   } else if (s->front.camera_id == CAMERA_ID_S5K3P8SP) {
    // init front camera
 </s> add   } else if (s->driver_cam.camera_id == CAMERA_ID_S5K3P8SP) {
    // init driver camera </s> remove static void rear_start(CameraState *s) {
 </s> add static void road_camera_start(CameraState *s) { </s> remove   int rear_op_id_last = 0;
  int front_op_id_last = 0;
 </s> add   int last_road_cam_op_id = 0;
  int last_driver_cam_op_id = 0;
  cv::VideoCapture cap_driver(2); // driver
  cap_driver.set(cv::CAP_PROP_FRAME_WIDTH, 853);
  cap_driver.set(cv::CAP_PROP_FRAME_HEIGHT, 480);
  cap_driver.set(cv::CAP_PROP_FPS, s->fps);
  
  void front_thread(CameraState *s) {
    int err;
  
  cv::VideoCapture cap_driver(2); // driver
  cap_driver.set(cv::CAP_PROP_FRAME_WIDTH, 853);
  cap_driver.set(cv::CAP_PROP_FRAME_HEIGHT, 480);
  cap_driver.set(cv::CAP_PROP_FPS, s->fps);
  cv::VideoCapture cap_driver(2); // driver
  cap_driver.set(cv::CAP_PROP_FRAME_WIDTH, 853);
  cap_driver.set(cv::CAP_PROP_FRAME_HEIGHT, 480);
  cap_driver.set(cv::CAP_PROP_FPS, s->fps);
  cv::VideoCapture cap_driver(2); // driver
  cap_driver.set(cv::CAP_PROP_FRAME_WIDTH, 853);
  cap_driver.set(cv::CAP_PROP_FRAME_HEIGHT, 480);
  cap_driver.set(cv::CAP_PROP_FPS, s->fps);
  cv::VideoCapture cap_driver(2); // driver
  cap_driver.set(cv::CAP_PROP_FRAME_WIDTH, 853);
  cap_driver.set(cv::CAP_PROP_FRAME_HEIGHT, 480);
  cap_driver.set(cv::CAP_PROP_FPS, s->fps);
    // cv::Rect roi_front(320, 0, 960, 720);
  
    cv::Size size;
    size.height = s->ci.frame_height;
    size.width = s->ci.frame_width;
keep keep keep keep replace replace 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_webcam.cc