  
  void fill_frame_data(cereal::FrameData::Builder &framed, const FrameMetadata &frame_data);
  kj::Array<uint8_t> get_frame_image(const CameraBuf *b);
  void set_exposure_target(CameraState *c, const uint8_t *pix_ptr, int x_start, int x_end, int x_skip, int y_start, int y_end, int y_skip);
  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> remove std::thread start_process_thread(MultiCameraState *cameras, const char *tname,
                                 CameraState *cs, process_thread_cb callback) {
  return std::thread(processing_thread, cameras, tname, cs, callback);
 </s> add std::thread start_process_thread(MultiCameraState *cameras, CameraState *cs, process_thread_cb callback) {
  return std::thread(processing_thread, cameras, cs, callback); </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 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); </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   static const bool rhd_front = Params().read_db_bool("IsRHD");
 </s> add   static const bool is_rhd = Params().read_db_bool("IsRHD");
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);
  
  void fill_frame_data(cereal::FrameData::Builder &framed, const FrameMetadata &frame_data);
  kj::Array<uint8_t> get_frame_image(const CameraBuf *b);
  void set_exposure_target(CameraState *c, const uint8_t *pix_ptr, int x_start, int x_end, int x_skip, int y_start, int y_end, int y_skip);
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);
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);
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);
keep keep keep keep replace replace replace
 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