Commit Graph

12 Commits

Author SHA1 Message Date
Dean Lee
ddd849a882 encoderd: remove unnecessary calls to encoder_close() on exit. (#28970) 2023-08-23 17:56:22 -07:00
Dean Lee
51cdf155d9 encoderd: fix indentation (#29356)
fix indentation
2023-08-12 13:30:54 -07:00
Vivek Aithal
81322a4805 [commabody] setup and run live stream encoders (#29087)
* op changes needed for body

* remove logmessaged callback

* add newlines

* add stream arg

* add stream_encoder to config

* supersets, avoid two encoderd

* fix recursive exit error

* fix loggerd crash

* add stream_encoderd cpu usage to test

* Update system/loggerd/loggerd.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* resolve comments

* stream_encoderd onroad to false

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-08-11 15:34:25 -07:00
Dean Lee
940954c13e swaglog: enable type-checked against format string (#29096)
* check&fix fmt

* bump rednose

* correct format string

* bump rednose

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-07-31 17:49:50 -07:00
Dean Lee
cbed057789 encoderd: get avaiable streams from vipc server (#28935)
* get avaiable streams

* use std::thread

* assert buf size

* Update system/loggerd/encoderd.cc

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-07-15 12:41:49 -07:00
Dean Lee
713d2ec586 loggerd/encoder: refactor constructors to take EncoderInfo as parameter (#28921)
* refactor constructors to take EncoderInfo as parameter

* remove last arg codec

* use macro to init function pointers
2023-07-15 10:39:40 -07:00
Harald Schäfer
5df4ac61d3 Encoderd: Give encoder threads good names (#28508) 2023-06-11 23:25:16 -07:00
Harald Schäfer
ac45b77d3b Encoderd: give every camera stream list of encoder streams (#28480)
* Compiles

* fixed something

* CLEANUP

* todo

* More cleanup

* Add TODO

* Update loggerd.cc

* remove write here too
2023-06-11 22:23:40 -07:00
Harald Schäfer
d8f677c5eb 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>
2023-06-11 15:02:42 -07:00
Adeeb Shihadeh
5161c23645 Revert "Encoderd: encoders just encode, no writing (#28482)"
This reverts commit 1fd7542eae.
2023-06-11 08:27:09 -07:00
Harald Schäfer
1fd7542eae Encoderd: encoders just encode, no writing (#28482)
Encoders dont write, they encode
2023-06-10 23:44:01 -07:00
Adeeb Shihadeh
94eb215980 loggerd: move to system/ (#27534) 2023-03-08 11:20:49 -08:00