  }
  
  void V4LEncoder::encoder_open(const char* path) {
    dequeue_handler_thread = std::thread(V4LEncoder::dequeue_handler, this);
    writer_open(path);
    this->is_open = true;
    this->counter = 0;
  }
  
  int V4LEncoder::encode_frame(VisionBuf* buf, VisionIpcBufExtra *extra) {
 
</s> remove     bitrate(bitrate), codec(codec), out_width(out_width), out_height(out_height), write(write) { }
 </s> add     bitrate(bitrate), codec(codec), out_width(out_width), out_height(out_height) { } </s> remove   writer_open(path);
 </s> add  </s> remove               int bitrate, cereal::EncodeIndex::Type codec, int out_width, int out_height, bool write)
 </s> add               int bitrate, cereal::EncodeIndex::Type codec, int out_width, int out_height) </s> remove   writer_close();
 </s> add  </s> remove     writer_close();
 </s> add 
  }
  
  void V4LEncoder::encoder_open(const char* path) {
    dequeue_handler_thread = std::thread(V4LEncoder::dequeue_handler, this);

    this->is_open = true;
    this->counter = 0;
  }
  
  int V4LEncoder::encode_frame(VisionBuf* buf, VisionIpcBufExtra *extra) {
keep keep keep keep replace keep keep keep keep keep
 Encoderd: encoders don't write, they only encode (#28499)

* Encoders dont write, they encode

* Delete words

* unused

---------

Co-authored-by: Harald Schaefer <torq_boi@Haralds-MacBook-Air.local>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
system/loggerd/encoder/v4l_encoder.cc