commit | 9850926372fa204230fb31ead4801c1fa87b374e | [log] [tgz] |
---|---|---|
author | Tanmay Patil <tanmayp@google.com> | Thu Apr 08 17:20:01 2021 -0700 |
committer | Tanmay Patil <tanmayp@google.com> | Tue Apr 20 00:21:23 2021 +0000 |
tree | 46050e14d5572f3d4ae4533ecfb064de7665d712 | |
parent | cb81c8a44cf9b54b96153be1ec3ee29b6a391a34 [diff] |
Adds support for buffer caching to sv2d - Adds memory_id field to input and output buffers in core_lib.h - Updates core_lib.so with support for buffer caching - Populates the memory_id field for input/output buffers in SurroundView2dSession.cpp Bug: 182815281 **** Core Lib updated April 13, 2021 *** core_lib.so built from g3 from cl/368283228 Build command: blaze build --config android_arm64 -c opt \ --copt=-DANDROID_SV_SERVICE --copt=-DEGL_EGLEXT_PROTOTYPES \ --copt=-DGL_GLEXT_PROTOTYPES \ --copt="-D_LIBCPP_ABI_NAMESPACE=_LIBCPP_CONCAT(__,_LIBCPP_ABI_VERSION)" \ wireless/android/automotive/caml/surround_view:libcore_lib_shared.so ************************* Test: Verified double buferring with MockEVS. Change-Id: I4937bc1fab684c57418e5aca52a7355bdb508715 (cherry picked from commit 5fd4632c3db3ec437b5c4ecfeed9db880dce53da)
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.