* add visionbuf
make static
ignore that
* Needs decleration
* add test binary
* c++
* create some structure
* some impl
* socket stuff
* Accept socket connection
* Alloc some buffers
* Create pub sockets and send buffer id
* make listener private
* Implement receive
* use error check macros in cl_helpers
* constructors to pass in opencl context
* add some convenience values in struct
* refactor creating buffers
* rgb is not so simple
* add fake stride and expose buffers
* add comment
* add extra data struct
* support conflate
* init opencl on all buffers
* make ion compile
* fix qcom2
* correctly setup yuv pointers when importing buffer
* also included from c
* Remove send print statements
* send metadata
* reveive metadata
* also used in c code
* dont start listener automatically
* Was started in 2 places
* set 100ms timeout on socket
* verify server id to detect reconnects
* handle reconnect
* buffer cleanup
* let user handle opencl creation
* add default values
* Add support for aligned rgb buffers
* add align macro
* dont use namespace
* use poller
* apple ifdef in ipc.cc
* VisionBuf is C++ class
* Install opencl headers
* cppcheck c++
* remove c header guard
* fix mac build
* simplify constructors
* Update visionipc/visionipc.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update visionipc/visionbuf_ion.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* add brackets
* s/VIPCBufExtra/VisionIpcBufExtra/g
* Add unittesting harness
* remove vipc demo
* very basic tests
* add conflate test
* Install opencl
* suppress msgq warnings
* Make it work using zmq
* cl in qcom replay
* run unittests in zmq mode as well
* non blocking connect
* always larger frame queues
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* improve building
* numpy will probably not be needed
* remove unnedded lines
* guessing what static analysis wants to pass
* fix the test by removing it
* Update __init__.py
* Update SConstruct
* Update SConscript
* style
* pre commit
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* add class SubMaster&PubMaster
* add socketmaster.cc
* move to cereal_objects
* modify SubMaster
* modify SubMaster
* Code streamlining
* m createSocket
remove dup SubMessage
* Streamline code
Streamline code
Streamline code
alive if delay with LogMonoTime x
reduce code lines
add underscore to class variable,dont check getValid() in poll
add static function get_service(), assert if pub name is not in service list
remove paramater alive from recieve()
rename services to endpoints
is alive is freq_ <= (1e-5)
referer
use sockets_.find() in pushMaster::send to avoid create an empty entry
submaster only do poller, rm PubMaster,add PubMessage
add MessageContext
make SubMaster api same as python version
add class PubMessage
add empty line
fix type
fix typo
remove service_list_
Streamline code
use cached heaparry to build&send msg
reduce lines
rename sockets_ to messages_
initialize member variable in class
don't use std::find
fix typo
* use global context,remove class PubMessage
remove SubMessage interface from header,add operator[]
undo format source
add new line at end of file
add missing header fiel
reve std::find
add empty line
better drain