* fast debayer on c2 dcam
* add casts
* 128 local worksize on HDR debayer, 8 ms -> 3.5 ms
* width instead of saving rgb_width
Co-authored-by: Comma Device <device@comma.ai>
* parse out isp packet with structs
* dsp mode
* support only driver / comments for yuv
* minor touchups
* DEBUG_FRAMES
Co-authored-by: Comma Device <device@comma.ai>
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Replace lists with generators v2
* Replace set with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Replace more set() with {}
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* catch exception outside loop
* print decompress error
* add test case for corrupt log
* fix decompressbz2 stuck if log is corrupt
* recovered from corrupt data
* add output
* ass space
* std::endl
* override load(), load from buffer
* override FrameReader::load to load from the buffer
* replace NULL with nullptr
* fix test case for corrupt log
* Trigger Build
* check bzerror too
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* navd: render simple map
* render route
* offscreen rendering
* cleanup
* more cleanup
* render into visionIPC
* rename class
* split position update from route update
* stop broadcast if not active
* gate vipc server behind flag
* add python library
* faster
* no vipc from python
* put behind extras
* only send when loaded
* add glFlush just to be sure
* cleanup settings into helper function
* function ordering
* broadcast thumbnails
* put behind param
* adjust zoom level
* add route to python bindings
* revert that freq change
* add logging if map rendering is enabled
* use rlogs if available
* bump cereal
* vipc snapshot
* front and rear need to go
* remove SEND_*
* cleanup
* put that back
* fix duplicate code
* dont start camerad on pc
* fix rgb stride
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* no-cache mode
* fix test cases build error
* space
* don't create cache dir in no-cache mode
* fix errors in test cases
* no_local_cache_
* set the number of connections by chunk_size
* use size_t instead of int64_t
* add test case for no-cache mode
* rename variables
* fix SIGSEGV
* cleanup
* faster decompressBZ2
* always decompress bz2
* add test cases
* prepare for python interface
* fix test cases build error
* continue
* camera_replay: cache remote file
* protected inheritance
* single option name
* TODO
* test_case for LogReader&FrameReader
* fix wrong require
* test case for FileReader
* cleanup test
* test:fix wrong filename
* check cached file's checksum
* fix mkdir permissions err
cleanup filereader
* remove initialize libav network libraries.
dd
* abort all loading if one failed
* cleanup tests
* use threadpool to limit concurrent downloads
* cache more segments
* merge 3 segments for replay
* one segment uses about 100M of memory
* use segments_need_merge.size()
* shutdown
* fix stuck if exit replay before keyboard thread started
* load one segment at a time
* small cleanup
* cleanup filereader
* space
* tiny cleanup
* merge master
* cleanup test cases
* use util:create_directories
* cleanup framereader
* new class Debayer
* merge master
* pass in cl_event
* needs define, class is not the same
* match clEnqueueCopyBuffer api
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* decode from the previous keyframe after seek
* less memory
* some stream seems to contian no keyframes
* test random seek
* merge master
* continue
update test_cases
use fr
* merge master
* new function device_acquire & device_config
* add space
* apply reviews
* use the specified struct for each command
* fix typo
* apply review
* remove static
* revert device_control