Commit Graph

26 Commits

Author SHA1 Message Date
Harald Schäfer
e71ec4e8d7 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
2024-06-06 14:31:56 -07:00
Adeeb Shihadeh
cfc5faee2a fix compress_vipc width 2024-03-01 21:53:16 -08:00
Adeeb Shihadeh
daceb171bd bump cereal (#31392)
* bump cereal

* update those

* update refs

* bump cereal

* bump

* bump cereal

* bump

* fix

* bump

* typo:
2024-02-09 21:44:23 -08:00
dzid26
0af62eb3b0 camerastream instructions (#31326)
* camerastream instructions

* Update README.md

* Update tools/README.md

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-02-06 13:19:01 -08:00
Adeeb Shihadeh
43f151eea9 compressed_vipc supports all frame sizes 2024-02-04 15:29:43 -08:00
Adeeb Shihadeh
73db7e8e3a Revert "compressed_vipc: fix issues with VisionIpcServer in ZMQ mode (#30115)"
This reverts commit 0e5cfa3426.
2023-12-12 19:16:46 -08:00
Kacper Rączy
0e5cfa3426 compressed_vipc: fix issues with VisionIpcServer in ZMQ mode (#30115) 2023-09-30 18:45:45 -07:00
Justin Newberry
1ee6ed4b16 Linter: remove pylint (#29611)
remove pylint
2023-08-24 16:30:54 -07:00
Justin Newberry
cf64b27168 Linter: Fix >160 line length test (#29287)
* test

* fix line length

* fix line length

* fix file size

* revert poetry

* cleanup for PR
2023-08-08 17:13:35 -07:00
Robbe Derks
9774fb43e9 Compressed vipc improvements (#28837)
* debug flag

* make it easier to use
2023-07-07 16:04:23 +02:00
Adeeb Shihadeh
102669a232 compressed vipc: fix client connect 2022-11-13 22:28:27 -08:00
Adeeb Shihadeh
f18773acbe compressed_vipc: add main() 2022-09-26 22:27:30 -07:00
Adeeb Shihadeh
6590fb2b93 pre-commit: add codespell (#25571) 2022-08-30 11:20:55 -07:00
Maxime Desroches
2027d5311d tools: add support for nv12 in compressed_vipc (#24962)
reshape for nv12
2022-06-30 15:03:15 -07:00
Adeeb Shihadeh
32a9ccfc37 visionipc python shim (#24660) 2022-05-25 20:49:56 -07:00
Adeeb Shihadeh
b8a32bbc46 little tools fix ups (#24629) 2022-05-23 16:10:36 -07:00
George Hotz
e4b7791044 compressed_vipc: use correct system timestamps 2022-05-18 13:18:00 -07:00
George Hotz
bb5a050840 add to compressed_vipc 2022-05-18 12:58:12 -07:00
George Hotz
fe867df102 compressed_vipc: print frame latency 2022-05-16 20:40:11 -07:00
George Hotz
2a978e36ac compressed_vipc: set NV_LOW_LATENCY flag 2022-05-16 15:58:31 -07:00
George Hotz
2008db47c2 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>
2022-05-10 15:20:51 -07:00
George Hotz
dded24662f update compressed vipc to function on packets 2022-05-09 13:44:09 -07:00
George Hotz
0baa4c3e2a loggerd: switch to v4l encoder try 2 (#24380)
* start v4l encoder

* v4l encoder starts

* start and stop

* fill in proper controls

* it dequeued a buffer

* getting bytes

* it made a video

* it does make files

* getting close

* ahh, so that's how dequeue works

* qcam works (no remuxing)

* remuxing works

* we just need to make shutdown and rollover graceful

* graceful destruction

* switch to polling

* should work now

* fix pc build

* refactors, stop properly

* touchups, remove a copy

* add v4l encoder to release

* inlcude file

* move writing to it's own thread

* fix minor memory leak

* block instead of dropping frames

* add counter, fix tests maybe

* better debugging and test print

* print file path in assert

* format string in test

* no more oversized qlogs

* match qcam

* touchups, remove omx encoder

* remove omx include files

* checked ioctl, better debugging, open by name

* unused import

* move linux includes to third_party/linux/include

* simple encoderd

* full packet

* encoderd should be complete

* lagging print

* updates

* name dq thread

* subset idx

* video file writing works

* debug

* potential bugfix

* rotation works

* iframe

* keep writing support

* ci should pass

* loggerd, not encoderd

* remote encoder code

* support remote encoder

* cereal to master, add encoderd

* header no longer required

* put that back there

* realtime

* lower decoder latency

* don't use queue for VisionIpcBufExtra, disable realtime again

* assert all written

* hmm simpler

* only push to to_write if we are writing

* assert timestamp is right

* use at and remove assert

* revert to queue

Co-authored-by: Comma Device <device@comma.ai>
2022-04-30 09:22:52 -07:00
George Hotz
3694f9801c compressed_vipc: make yuv default 2022-04-25 21:44:37 -07:00
George Hotz
8d24655787 loggerd: Separate writer from encoder (#24257)
* seperate writer from encoder

* video writer in release

* confirm loggerd on PC works, add YUV option to compressed_vipc

* make raw_logger use video_writer

* put this back to master

* close codec

* put this back

* use unique_ptr

Co-authored-by: Comma Device <device@comma.ai>
2022-04-20 14:51:24 -07:00
George Hotz
dab978083b loggerd: broadcast encoder data (#24177)
* encode data try 1

* fix pc build

* low quality compressed streamer with pyav

* nvidia streamer

* timestamp support

* fix latency measurement

* refactor

* camerastream updates

* fix linter

* compressed to vipc, clean

* remove print

* touchups

Co-authored-by: Comma Device <device@comma.ai>
2022-04-12 12:08:50 -07:00