ZwX1616
8b90c210f8
encoderd: more efficient compression for low res frames ( #35924 )
...
* shein says inline
* Update system/loggerd/loggerd.h
Co-authored-by: Shane Smiskol <shane@smiskol.com >
* Revert "Update system/loggerd/loggerd.h"
This reverts commit 3602523cefdeb2a46d77946f7f2cc7fc21bd5a4f.
* Revert "shein says inline"
This reverts commit d3c079e137c5d98068501df636975c5fbf8810ee.
* EncoderSettings
* getter
* update test_encoder
* def
---------
Co-authored-by: Comma Device <device@comma.ai >
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2025-08-06 21:17:10 -07:00
ZwX1616
a84089c6e5
EncoderInfo: encoder setting factorys ( #35940 )
2025-08-06 16:53:16 -07:00
pencilpusher
be0626f7e3
improved safe_ioctl ( #35908 )
...
* improved safe_ioctl
* readability
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* use correct ioctl command
* ameliorated api
* use try/catch to prevent spi_fd leak
* Update common/util.h
* use correct ioctl command
* error log message is more readable
---------
Co-authored-by: Test User <test@example.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2025-08-04 13:25:24 -07:00
Dean Lee
203b2e75d3
loggerd: remove deprecated av_init_packet usage ( #35733 )
...
remove deprecated av_init_packet
2025-07-15 09:27:12 -07:00
Dean Lee
0619e9a581
v4l_encoder: used encoder_info.fps instead of hardcoded 20 ( #34701 )
...
Used encoder_info.fps instead of hardcoded 20
2025-02-24 07:06:38 -08:00
Adeeb Shihadeh
e00b5337d2
misc encoder cleanups
2025-02-21 10:41:30 -08:00
Dean Lee
644130ca3d
encoderd: use AV_CODEC_ID_H264 codec for qcamera encoding ( #34498 )
2025-02-11 12:46:43 +00:00
Dean Lee
3c0990e716
move thumbnail generation from camerad to encoderd ( #34554 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
2025-02-10 23:43:46 +00:00
Dean Lee
e7b63dce65
encoderd: enhance robustness of open() with HANDLE_EINTR Macro ( #34478 )
...
HANDLE_EINTR
2025-01-27 19:46:43 -08:00
Dean Lee
3219fe1472
encoder: optimize MessageBuilder data handling by adopting encoded data ( #34391 )
...
optimize data handing by adopting external data
2025-01-19 16:22:40 -08:00
Dean Lee
47b13f54f6
encoderd: refactor VideoEncoder::publisher_publish to standardize member variable access ( #34342 )
...
remove redundant pointer parameter
2025-01-12 11:38:20 -08:00
Dean Lee
467bd74944
camerad: remove CameraType enum from camera_common.h ( #33588 )
...
remove CameraType from camera_common.h
2024-09-19 10:33:24 -07:00
Adeeb Shihadeh
102f1b0d85
loggerd: fix mac build
2024-09-18 22:16:25 -07:00
Adeeb Shihadeh
718835a825
camerad: prep part 2 ( #33584 )
...
* no camerastate in sensors
* bring this over
* and encoder
2024-09-18 21:10:45 -07:00
Harald Schäfer
f870a968e9
Split cereal into cereal/msgq ( #32631 )
...
* squash
* fix doc
* compile device
* compile device
* Update ref
* add msgq to precommit exclusions
* No service ports
* fix compile
* address comments
* More comments
* Delete logger
* Update opendbc
* Linting
* bump msgq
old-commit-hash: e71ec4e8d7
2024-06-06 14:31:56 -07:00
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