  
  typedef void (*release_cb)(void *cookie, int buf_idx);
  
  typedef struct CameraInfo {
    const char* name;
    int frame_width, frame_height;
    int frame_stride;
    bool bayer;
    int bayer_flip;
    bool hdr;
 
</s> remove const bool env_send_front = getenv("SEND_FRONT") != NULL;
const bool env_send_rear = getenv("SEND_REAR") != NULL;
const bool env_send_wide = getenv("SEND_WIDE") != NULL;
 </s> add 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; </s> remove   CameraState rear;
  CameraState front;
 </s> add   CameraState road_cam;
  CameraState driver_cam; </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 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 std::thread start_process_thread(MultiCameraState *cameras, const char *tname,
                                 CameraState *cs, process_thread_cb callback);
void common_camera_process_front(SubMaster *sm, PubMaster *pm, CameraState *c, int cnt);
 </s> add std::thread start_process_thread(MultiCameraState *cameras, CameraState *cs, process_thread_cb callback);
void common_process_driver_camera(SubMaster *sm, PubMaster *pm, CameraState *c, int cnt);
  
  typedef void (*release_cb)(void *cookie, int buf_idx);
  
  typedef struct CameraInfo {

    int frame_width, frame_height;
    int frame_stride;
    bool bayer;
    int bayer_flip;
    bool hdr;
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_common.h