Commit Graph

16 Commits

Author SHA1 Message Date
Dean Lee
e333e4f189 Cleanup selfdrive/ includes (#20822)
* cleanup include path

* continue

* format includes

* fix testraw.cc

* remove include path from SConstruct

* regroup

* rebase master

* almost done

* apply review

* rename FileReader.xx to filereader.xx

* rename Unlogger.x->unlogger.x

* rename FrameReader.xx -> framereader.xx

* apply reviews

* ui.h

* continue

* fix framebuffer.cc build error:mv util.h up

* full path to msm_media_info

* fix qcom2 camerad

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7222d0f20d
2021-05-08 22:15:17 -07:00
Dean Lee
21346b0980 fix Fix problematic realloc (#19812)
old-commit-hash: e736029235
2021-03-12 19:57:07 -08:00
Greg Hogan
d59a13e22a adjust qcamera quality (#20066)
* better ts

* fix test
old-commit-hash: 1cd9105e96
2021-02-11 17:55:00 -08:00
Dean Lee
6e63be3a01 loggerd: remove the segment variable from encoders (#20034)
old-commit-hash: 1fad5216ea
2021-02-07 17:48:46 -08:00
Dean Lee
ab24d18c43 OmxEncoder: use c++ mutex&condition_variable (#19786)
* use c++ mutex&condition_variable

* rebase

* cleanup includes&use while

* remove include pthread.h
old-commit-hash: aa37e95341
2021-02-01 21:57:17 -08:00
Dean Lee
06ac698691 OMXEncoder: remove pthread_mutex_t lock from member variables (#19948)
* remove mutex

* rebase master
old-commit-hash: 9a9641a296
2021-01-30 19:11:03 -08:00
Adeeb Shihadeh
78b20a077f Revert "OmxEncoder: new function set_state, set and wait state changed (#19906)"
This reverts commit fbc80f3131acd05e6473daa1682f017874b6f883.

old-commit-hash: 20a2bfdd31
2021-01-28 11:57:29 -08:00
Dean Lee
d7adc6ed49 OmxEncoder: new function set_state, set and wait state changed (#19906)
* free buffers after state is loaded

* set_data_blocking

* fix indentation

* Empty commit,trigger Build
old-commit-hash: 36a596eb1e
2021-01-28 11:45:44 -08:00
Dean Lee
da9b0e8baa remove cqueue, use class SafeQueue (#19774)
* class SafeQueue

* cleanup includes

* space

* add timeout

use try_poll

* add function empty() & size()

* class SafeQueue

* add timeout

use try_poll

* add function empty() & size()

* rebase master

* rebase master

* for loop

* fix bug
old-commit-hash: e6783f4d9f
2021-01-28 15:12:45 +01:00
Adeeb Shihadeh
efb14fc172 Revert "OMXEncoder: add calls to OMX_Init()&OMX_Deinit() (#19905)"
This reverts commit 2b789323981058401a6c908ec674901ed2662f08.

old-commit-hash: ea74f558f4
2021-01-27 20:17:35 -08:00
Dean Lee
6bd65f558e OMXEncoder: add calls to OMX_Init()&OMX_Deinit() (#19905)
* add calls to OMX_Init()&OMX_Deinit()

* fix indentation
old-commit-hash: 8f00813089
2021-01-27 13:37:42 -08:00
Adeeb Shihadeh
a65cef0b31 loggerd: remove vipc arg from encode frame
old-commit-hash: 1ed77847fe
2021-01-23 17:11:36 -08:00
Dean Lee
3a11061dce OmxEncoder: set s->of to nullptr after close (#19814)
old-commit-hash: a5be02c2c7
2021-01-19 14:28:03 -08:00
Dean Lee
339cb7b353 OmxEncoder: use std::vector to keep buffer (#19807)
old-commit-hash: e04cecd169
2021-01-17 15:48:06 -08:00
Dean Lee
9eb6648ec5 OmxEncoder: use macro to check error (#19785)
old-commit-hash: 0592c326ed
2021-01-16 12:43:59 -08:00
Adeeb Shihadeh
9909060b4d Video Encoder abstraction (#19729)
old-commit-hash: a1c7f19fe4
2021-01-12 00:03:31 -08:00