Commit Graph

15 Commits

Author SHA1 Message Date
Adeeb Shihadeh fe87410c11 fix names 2023-04-28 15:11:43 -07:00
Adeeb Shihadeh 938f57635e
CI: run tests with sanitizers (#438)
* matrix

* add ubsan

* named
2023-04-28 15:08:57 -07:00
Adeeb Shihadeh 911cfac392 switch to pat so tests run on bot pr 2023-04-15 17:57:58 -07:00
Adeeb Shihadeh ae896d9e66
CI: add job to update pre-commit hooks (#434) 2023-04-15 17:39:26 -07:00
Adeeb Shihadeh 5646788a40
CI: set PYTHONWARNINGS=error (#431)
* CI: set PYTHONWARNINGS=error

* precommit update

* try that

* unset

* Revert "precommit update"

This reverts commit 3e1e9a04df.
2023-04-02 11:25:30 -07:00
Adeeb Shihadeh 84b5668d6a CI: update docker login 2022-08-03 21:16:49 -07:00
Jeroen de2dc95e4a
CI: checkout@v3 & DOCKER_REGISTRY env variable (#340) 2022-08-03 16:49:18 -07:00
Willem Melching 95e32803cd
Visionipc v2.0 (#101)
* 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>
2021-01-08 14:54:41 +01:00
Adeeb Shihadeh 7234804834
ubuntu 16.04 -> 20.04 (#97)
* ubuntu 20.04

* non interactive

* fix src prefix
2020-10-24 00:07:24 -07:00
Adeeb Shihadeh a91e43f09e
Coverage analysis in CI (#75)
* coverage analysis in CI

* space

* coverage run

* name
2020-07-29 00:33:42 -07:00
Adeeb Shihadeh c176b01845
Faster CI (#68)
* move tests into their own jobs

* add CI badge to README

* fix name
2020-07-26 19:57:22 -07:00
Adeeb Shihadeh 441849564d only update docker cache from master 2020-06-29 10:52:33 -07:00
Adeeb d49ca496ae
Docker layer caching in CI (#54)
* push to dockerhub

* build using cached image

* static analysis get its own job

* remove duplicate step
2020-06-11 18:11:43 -07:00
Willem Melching 8e2d212a3d
add pre-commit static analysis (#48) 2020-05-28 16:04:53 -07:00
Adeeb 4c50d26c6c
GitHub actions (#25)
* setup github actions

* remove azure pipelines config
2020-02-10 19:23:31 -08:00