Dean Lee
3c0990e716
move thumbnail generation from camerad to encoderd ( #34554 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2 months ago
Dean Lee
3219fe1472
encoder: optimize MessageBuilder data handling by adopting encoded data ( #34391 )
...
optimize data handing by adopting external data
3 months ago
Dean Lee
47b13f54f6
encoderd: refactor VideoEncoder::publisher_publish to standardize member variable access ( #34342 )
...
remove redundant pointer parameter
3 months ago
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
11 months ago
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
1 year ago
Dean Lee
5ab1fc7674
encoder: reduce memory allocations and copying ( #28704 )
...
* reduce memory allocations and copying
* #include <vector>
old-commit-hash: a4179a7c23
1 year ago
Dean Lee
bd93cd7db3
encoder: remove function `publisher_init`, init PubMaster in constructor ( #28980 )
...
old-commit-hash: 65fe3c8c34
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
Adeeb Shihadeh
22882d740c
Revert "Encoderd: encoders just encode, no writing ( #28482 )"
...
This reverts commit eed43696f113feeac757b147a782b8c063638a63.
old-commit-hash: 5161c23645
2 years ago
Harald Schäfer
c4bc3964a6
Encoderd: encoders just encode, no writing ( #28482 )
...
Encoders dont write, they encode
old-commit-hash: 1fd7542eae
2 years ago
Adeeb Shihadeh
3a968c67e1
loggerd: move to system/ ( #27534 )
...
old-commit-hash: 94eb215980
2 years ago
George Hotz
fca47bb6a4
add unixTimestampNanos to encoderd ( #24583 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c2279ef39d
3 years ago
George Hotz
a053d070be
encoderd: enable ( #24492 )
...
* enable encoderd
* correct enable line
* fix loggerd tests
* fix power draw and cpu tests
* correct cpu for encoderd
* fix a bug, video_writer is shared
* fix issue with not recording dcam
* add recording state
* wooo tests pass. encode id keeps counting
* core 3
* loggerd then encoderd
* stop loggerd first
* core 3 always online
* see the camera when we see encoder packet
* encoderd on small core uses 37%
* remove encoder logic from loggerd
* delete unit test that doesn't really make sense anymore
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 94b9972eb7
3 years ago
George Hotz
1f4628bad5
encoderd: make work on PC ( #24483 )
...
* don't use the codec in video_writer
* this produces broken videos for some reason
* bugfix
* refactor on the class
* works on device
* fix codec
* no codec enum
* fix pc
* move into dirs
* these includes also
* rename it ffmpegencoder
* add avcodec_close
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2008db47c2
3 years ago