camerad: use the YUV buffer to create the jpeg thumbnail (#21936)

* yuv420_to_jpeg

continue

* add comments

* cleanup

* return ky::array
old-commit-hash: e0b5b4573ed34890a5e923012bf96fe311fd11dd
This commit is contained in:
Dean Lee
2021-09-18 08:00:21 +08:00
committed by GitHub
parent 05d7ea39b4
commit cd4e070b47
2 changed files with 56 additions and 38 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
Import('env', 'arch', 'cereal', 'messaging', 'common', 'gpucommon', 'visionipc', 'USE_WEBCAM')
libs = ['m', 'pthread', common, 'jpeg', 'OpenCL', cereal, messaging, 'zmq', 'capnp', 'kj', visionipc, gpucommon]
libs = ['m', 'pthread', common, 'jpeg', 'OpenCL', 'yuv', cereal, messaging, 'zmq', 'capnp', 'kj', visionipc, gpucommon]
if arch == "aarch64":
libs += ['gsl', 'CB', 'adreno_utils', 'EGL', 'GLESv3', 'cutils', 'ui']