    return err;
  }
  
  static int imx179_s5k3p8sp_apply_exposure(CameraState *s, int gain, int integ_lines, int frame_length) {
    //printf("front camera: %d %d %d\n", gain, integ_lines, frame_length);
    struct msm_camera_i2c_reg_array reg_array[] = {
      {0x104,0x1,0},
  
      // FRM_LENGTH
      {0x340, (uint16_t)(frame_length >> 8), 0}, {0x341, (uint16_t)(frame_length & 0xff), 0},
 
</s> remove   //printf("front camera: %d %d %d\n", gain, integ_lines, frame_length);
 </s> add   //printf("driver camera: %d %d %d\n", gain, integ_lines, frame_length); </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     cap_rear >> frame_mat;
 </s> add     cap_road >> frame_mat; </s> remove void camera_process_front(MultiCameraState *s, CameraState *c, int cnt) {
  common_camera_process_front(s->sm_front, s->pm, c, cnt);
 </s> add void process_driver_camera(MultiCameraState *s, CameraState *c, int cnt) {
  common_process_driver_camera(s->sm, s->pm, c, cnt); </s> remove void camera_process_front(MultiCameraState *s, CameraState *c, int cnt) {
  common_camera_process_front(s->sm, s->pm, c, cnt);
 </s> add void process_driver_camera(MultiCameraState *s, CameraState *c, int cnt) {
  common_process_driver_camera(s->sm, s->pm, c, cnt);
  //printf("driver camera: %d %d %d\n", gain, integ_lines, frame_length);
    return err;
  }
  
  static int imx179_s5k3p8sp_apply_exposure(CameraState *s, int gain, int integ_lines, int frame_length) {
  //printf("driver camera: %d %d %d\n", gain, integ_lines, frame_length);
    struct msm_camera_i2c_reg_array reg_array[] = {
      {0x104,0x1,0},
  
      // FRM_LENGTH
      {0x340, (uint16_t)(frame_length >> 8), 0}, {0x341, (uint16_t)(frame_length & 0xff), 0},
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