  from cereal.services import service_list
  from cereal.visionipc import VisionIpcServer, VisionStreamType
  from common.params import Params
  from common.realtime import Ratekeeper, DT_MDL, DT_DMON, sec_since_boot
  from common.transformations.camera import eon_f_frame_size, eon_d_frame_size, tici_f_frame_size, tici_d_frame_size
  from panda.python import Panda
  from selfdrive.car.toyota.values import EPS_SCALE
  from selfdrive.manager.process import ensure_running
  from selfdrive.manager.process_config import managed_processes
  from selfdrive.test.process_replay.process_replay import FAKEDATA, setup_env, check_enabled
 
</s> remove     ("roadCameraState", DT_MDL, tici_f_frame_size, VisionStreamType.VISION_STREAM_ROAD, True),
    ("driverCameraState", DT_MDL, tici_d_frame_size, VisionStreamType.VISION_STREAM_DRIVER, False),
 </s> add     ("roadCameraState", DT_MDL, tici_f_frame_size, VisionStreamType.VISION_STREAM_ROAD, False),
    ("wideRoadCameraState", DT_MDL, tici_e_frame_size, VisionStreamType.VISION_STREAM_WIDE_ROAD, False),
    ("driverCameraState", DT_DMON, tici_d_frame_size, VisionStreamType.VISION_STREAM_DRIVER, False), </s> remove   regen_and_save(args.route, args.seg, args.upload)
 </s> add   regen_and_save(args.route, args.seg, args.upload, outdir=args.outdir) </s> remove   rpath = regen_segment(lr, {'roadCameraState': fr}, outdir=outdir, disable_tqdm=disable_tqdm)
 </s> add     device_type = next(iter(lr)).initData.deviceType
    if device_type == 'tici':
      wfr = FrameReader(f"cd:/{route.replace('|', '/')}/{sidx}/ecamera.hevc")
    else:
      wfr = None
  
  frs = {'roadCameraState': fr}
  if wfr is not None:
    frs['wideRoadCameraState'] = wfr
  rpath = regen_segment(lr, frs, outdir=outdir, disable_tqdm=disable_tqdm)
from common.transformations.camera import eon_f_frame_size, eon_d_frame_size, tici_f_frame_size, tici_d_frame_size, tici_e_frame_size
  from cereal.services import service_list
  from cereal.visionipc import VisionIpcServer, VisionStreamType
  from common.params import Params
  from common.realtime import Ratekeeper, DT_MDL, DT_DMON, sec_since_boot
from common.transformations.camera import eon_f_frame_size, eon_d_frame_size, tici_f_frame_size, tici_d_frame_size, tici_e_frame_size
  from panda.python import Panda
  from selfdrive.car.toyota.values import EPS_SCALE
  from selfdrive.manager.process import ensure_running
  from selfdrive.manager.process_config import managed_processes
  from selfdrive.test.process_replay.process_replay import FAKEDATA, setup_env, check_enabled
keep keep keep keep replace keep keep keep keep keep
 regen: ecamera support (#27999)

* Add wideRoadCameraState support in regen

* Fix for ecam FrameReader when use_route_meta

* Pylint fixes 
selfdrive/test/process_replay/regen.py