    REPLAY_FLAG_NO_LOOP = 0x0010,
    REPLAY_FLAG_NO_FILE_CACHE = 0x0020,
    REPLAY_FLAG_QCAMERA = 0x0040,
    REPLAY_FLAG_SEND_YUV = 0x0080,
    REPLAY_FLAG_NO_CUDA = 0x0100,
    REPLAY_FLAG_FULL_SPEED = 0x0200,
    REPLAY_FLAG_NO_VIPC = 0x0400,
  };
  
  enum class FindFlag {
 
</s> remove   bool load(const std::string &url, bool no_cuda = false, std::atomic<bool> *abort = nullptr, bool local_cache = false, int chunk_size = -1, int retries = 0);
  bool load(const std::byte *data, size_t size, bool no_cuda = false, std::atomic<bool> *abort = nullptr);
 </s> add   bool load(const std::string &url, bool no_hw_decoder = false, std::atomic<bool> *abort = nullptr, bool local_cache = false, int chunk_size = -1, int retries = 0);
  bool load(const std::byte *data, size_t size, bool no_hw_decoder = false, std::atomic<bool> *abort = nullptr); </s> remove   inline static std::atomic<bool> has_cuda_device = true;
 </s> add   inline static std::atomic<bool> has_hw_decoder = true; </s> remove   rWarning("Please run replay with the --no-cuda flag!");
 </s> add   rWarning("Please run replay with the --no-hw-decoder flag!"); </s> remove     success = frames[id]->load(file, flags & REPLAY_FLAG_NO_CUDA, &abort_, local_cache, 20 * 1024 * 1024, 3);
 </s> add     success = frames[id]->load(file, flags & REPLAY_FLAG_NO_HW_DECODER, &abort_, local_cache, 20 * 1024 * 1024, 3); </s> remove     has_cuda_device = false;
 </s> add     has_hw_decoder = false;
  REPLAY_FLAG_NO_HW_DECODER = 0x0100,
    REPLAY_FLAG_NO_LOOP = 0x0010,
    REPLAY_FLAG_NO_FILE_CACHE = 0x0020,
    REPLAY_FLAG_QCAMERA = 0x0040,
    REPLAY_FLAG_SEND_YUV = 0x0080,
  REPLAY_FLAG_NO_HW_DECODER = 0x0100,
    REPLAY_FLAG_FULL_SPEED = 0x0200,
    REPLAY_FLAG_NO_VIPC = 0x0400,
  };
  
  enum class FindFlag {
keep keep keep keep replace keep keep keep keep keep
 replay: use VideoToolbox HW decoder on Mac (#23832)

* replay: support VideoToolbox HW decoding

* rename flag

* remove debug assert 
selfdrive/ui/replay/replay.h