Commit Graph

20 Commits

Author SHA1 Message Date
Dean Lee
46183bc11b encoderd: publish i-frame as thumbnail (#32202)
* pusblish i-frame as thumbnail

* generic

* disable for now

* fix

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b742776bff
2024-05-18 17:46:34 -07:00
Adeeb Shihadeh
402e8f8b0e encoderd: fix large frames (#31681)
* encoderd: fix large frames

* Update camera_common.cc

* just do this for now

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 84797482e9
2024-03-06 16:19:08 -08:00
Adeeb Shihadeh
2632a41c1e encoderd: get frame size over vipc (#31276)
* encoderd: get frame size over vipc

* bump cereal

* fix ffmpeg

* no print
old-commit-hash: a5766e2796
2024-02-02 12:53:12 -08:00
Dean Lee
5ab1fc7674 encoder: reduce memory allocations and copying (#28704)
* reduce memory allocations and copying

* #include <vector>
old-commit-hash: a4179a7c23
2023-12-12 19:15:47 -08:00
Kacper Rączy
4040d85159 encoderd: fix crash when filename is null (#29748)
Use publish_name for thread name and debugging messages
old-commit-hash: 0bda43d71c
2023-09-01 11:51:59 -07:00
Dean Lee
d5631664d3 v4l_encoder: convert macro checked_ioctl to funtion (#29609)
* break to multiple lines

* convert to function

* format errno

* use safe_ioctl

* cleanup
old-commit-hash: 1e62999e75
2023-08-25 11:05:22 -07:00
Dean Lee
86692bf177 v4l_encoder: fix error handling for poll (#29166)
* fix error handling for poll

* revert

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d54fa5c7f1
2023-08-24 12:56:06 -07:00
Dean Lee
de809632bf cpplint: add filter whitespace/comma (#29595)
old-commit-hash: 7bfd3dac81
2023-08-24 10:42:06 -07:00
Dean Lee
0984736972 cpplint: add filter build/include_subdir (#29585)
old-commit-hash: 21da5a216f
2023-08-24 15:42:17 +01:00
Dean Lee
97e9d55588 cpplint: build/include_what_you_use (#29556)
* include_what_you_use

* remove comments

* include <memory>

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d99521e75
2023-08-23 13:25:17 -07:00
Dean Lee
004a097c95 cpplint: add readability/braces filter (#29554)
old-commit-hash: 363740a497
2023-08-23 10:13:46 -07:00
Dean Lee
bd93cd7db3 encoder: remove function publisher_init, init PubMaster in constructor (#28980)
old-commit-hash: 65fe3c8c34
2023-07-17 19:25:41 -07:00
Dean Lee
ad461bedb2 encoder: remove public function encoder_init (#28971)
old-commit-hash: 06aef9edd3
2023-07-15 23:57:44 -07:00
Dean Lee
b59b27e01e 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
old-commit-hash: 713d2ec586
2023-07-15 10:39:40 -07:00
ntegan1
1c5075bfcd v4l_encoder: enable hevc vui header timing info flag (#27156)
v4l_encoder: enable hevc vui timing info flag

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 0ddecd36cf
2023-07-09 20:38:30 +01:00
Harald Schäfer
1581ba80f8 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
old-commit-hash: ac45b77d3b
2023-06-11 22:23:40 -07:00
Harald Schäfer
0705a97292 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>
old-commit-hash: d8f677c5eb
2023-06-11 15:02:42 -07:00
Adeeb Shihadeh
22882d740c Revert "Encoderd: encoders just encode, no writing (#28482)"
This reverts commit eed43696f113feeac757b147a782b8c063638a63.

old-commit-hash: 5161c23645
2023-06-11 08:27:09 -07:00
Harald Schäfer
c4bc3964a6 Encoderd: encoders just encode, no writing (#28482)
Encoders dont write, they encode
old-commit-hash: 1fd7542eae
2023-06-10 23:44:01 -07:00
Adeeb Shihadeh
3a968c67e1 loggerd: move to system/ (#27534)
old-commit-hash: 94eb215980
2023-03-08 11:20:49 -08:00