diff options
author | Steven Laver <lavers@google.com> | 2020-05-13 09:11:10 -0700 |
---|---|---|
committer | Steven Laver <lavers@google.com> | 2020-05-13 09:11:10 -0700 |
commit | 155c15d85787bbae10c86cd2bcafefc8f97f34e4 (patch) | |
tree | 0f5342466477436c40e513e1047acad91977562e /camera/common/1.0/default/include | |
parent | 827fea797e600b7eca3e5ef15a6ae70fd57e2a96 (diff) | |
parent | 411729e753c23035811fe1c52abb37e98c24c93a (diff) |
Merge RP1A.200513.002
Change-Id: I6da005525cf489004a7d726490bc1afff1f1384c
Diffstat (limited to 'camera/common/1.0/default/include')
-rw-r--r-- | camera/common/1.0/default/include/HandleImporter.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/camera/common/1.0/default/include/HandleImporter.h b/camera/common/1.0/default/include/HandleImporter.h index fc2bbd1197..edc97ad9a7 100644 --- a/camera/common/1.0/default/include/HandleImporter.h +++ b/camera/common/1.0/default/include/HandleImporter.h @@ -46,10 +46,13 @@ public: bool importFence(const native_handle_t* handle, int& fd) const; void closeFence(int fd) const; - // Assume caller has done waiting for acquire fences + // Locks 1-D buffer. Assumes caller has waited for acquire fences. void* lock(buffer_handle_t& buf, uint64_t cpuUsage, size_t size); - // Assume caller has done waiting for acquire fences + // Locks 2-D buffer. Assumes caller has waited for acquire fences. + void* lock(buffer_handle_t& buf, uint64_t cpuUsage, const IMapper::Rect& accessRegion); + + // Assumes caller has waited for acquire fences. YCbCrLayout lockYCbCr(buffer_handle_t& buf, uint64_t cpuUsage, const IMapper::Rect& accessRegion); |