Home
last modified time | relevance | path

Searched refs:accessRegion (Results 1 – 25 of 31) sorted by relevance

12

/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc0Hal.h105 const IMapper::Rect& accessRegion, base::unique_fd fenceFd, in lock() argument
110 result = mModule->lockAsync(mModule, bufferHandle, cpuUsage, accessRegion.left, in lock()
111 accessRegion.top, accessRegion.width, accessRegion.height, in lock()
117 mModule->lock(mModule, bufferHandle, cpuUsage, accessRegion.left, accessRegion.top, in lock()
118 accessRegion.width, accessRegion.height, &data); in lock()
130 const IMapper::Rect& accessRegion, base::unique_fd fenceFd, in lockYCbCr() argument
135 result = mModule->lockAsync_ycbcr(mModule, bufferHandle, cpuUsage, accessRegion.left, in lockYCbCr()
136 accessRegion.top, accessRegion.width, in lockYCbCr()
137 accessRegion.height, &ycbcr, fenceFd.release()); in lockYCbCr()
142 result = mModule->lock_ycbcr(mModule, bufferHandle, cpuUsage, accessRegion.left, in lockYCbCr()
[all …]
DGralloc1Hal.h125 const IMapper::Rect& accessRegion, base::unique_fd fenceFd, in lock() argument
129 const auto accessRect = asGralloc1Rect(accessRegion); in lock()
141 const IMapper::Rect& accessRegion, base::unique_fd fenceFd, in lockYCbCr() argument
154 const auto accessRect = asGralloc1Rect(accessRegion); in lockYCbCr()
/hardware/interfaces/camera/common/default/
DHandleImporter.cpp103 const IMapper::Rect& accessRegion) { in lockYCbCrInternal() argument
108 typename M::Rect accessRegionCopy = {accessRegion.left, accessRegion.top, accessRegion.width, in lockYCbCrInternal()
109 accessRegion.height}; in lockYCbCrInternal()
182 const IMapper::Rect& accessRegion) { in lockYCbCrInternal() argument
188 typename IMapperV4::Rect accessRegionV4 = {accessRegion.left, accessRegion.top, in lockYCbCrInternal()
189 accessRegion.width, accessRegion.height}; in lockYCbCrInternal()
348 IMapper::Rect accessRegion{0, 0, static_cast<int>(size), 1}; in lock() local
349 return lock(buf, cpuUsage, accessRegion); in lock()
353 const IMapper::Rect& accessRegion) { in lock() argument
370 IMapperV4::Rect accessRegionV4{accessRegion.left, accessRegion.top, accessRegion.width, in lock()
[all …]
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.cpp443 const gralloc1_rect_t& accessRegion, void** outData, in lock() argument
449 accessRegion.left, accessRegion.top, accessRegion.width, in lock()
450 accessRegion.height, outData, acquireFence); in lock()
459 accessRegion.left, accessRegion.top, accessRegion.width, in lock()
460 accessRegion.height, outData); in lock()
475 const gralloc1_rect_t& accessRegion, in lockFlex() argument
485 accessRegion.left, in lockFlex()
486 accessRegion.top, in lockFlex()
487 accessRegion.width, in lockFlex()
488 accessRegion.height, in lockFlex()
[all …]
DGralloc1On0Adapter.h353 const gralloc1_rect_t& accessRegion, void** outData,
358 const gralloc1_rect_t& accessRegion,
370 const gralloc1_rect_t* accessRegion, OUT* outData, in lockHook() argument
409 if (!accessRegion) { in lockHook()
415 *accessRegion, outData, acquireFenceFd); in lockHook()
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp372 IMapper4::Rect accessRegion; in lock() local
373 accessRegion.left = accessRegionRect.left; in lock()
374 accessRegion.top = accessRegionRect.top; in lock()
375 accessRegion.width = accessRegionRect.width; in lock()
376 accessRegion.height = accessRegionRect.height; in lock()
377 return mGralloc4->lock(bufferHandle, cpuUsage, accessRegion, acquireFence); in lock()
379 IMapper3::Rect accessRegion; in lock() local
380 accessRegion.left = accessRegionRect.left; in lock()
381 accessRegion.top = accessRegionRect.top; in lock()
382 accessRegion.width = accessRegionRect.width; in lock()
[all …]
/hardware/interfaces/camera/common/default/include/
DHandleImporter.h52 void* lock(buffer_handle_t& buf, uint64_t cpuUsage, const IMapper::Rect& accessRegion);
56 const IMapper::Rect& accessRegion);
76 const IMapper::Rect& accessRegion);
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapperHal.h46 const IMapper::Rect& accessRegion, base::unique_fd fenceFd,
51 const IMapper::Rect& accessRegion, base::unique_fd fenceFd,
DMapper.h91 Return<void> lock(void* buffer, uint64_t cpuUsage, const V2_0::IMapper::Rect& accessRegion, in lock() argument
107 error = mHal->lock(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &data); in lock()
112 Return<void> lockYCbCr(void* buffer, uint64_t cpuUsage, const V2_0::IMapper::Rect& accessRegion, in lockYCbCr() argument
129 error = mHal->lockYCbCr(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &layout); in lockYCbCr()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h72 const IMapper::Rect& accessRegion, int acquireFence);
74 const IMapper::Rect& accessRegion, int acquireFence);
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/
DMapperVts.h73 const IMapper::Rect& accessRegion, int acquireFence, int32_t* outBytesPerPixel,
76 const IMapper::Rect& accessRegion, int acquireFence);
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp165 const IMapper::Rect& accessRegion, int acquireFence) { in lock() argument
177 mMapper->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lock()
191 const IMapper::Rect& accessRegion, int acquireFence) { in lockYCbCr() argument
203 mMapper->lockYCbCr(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lockYCbCr()
/hardware/google/gchips/include/
DGrallocWrapper.h59 const IMapper::Rect& accessRegion,
65 const IMapper::Rect& accessRegion,
/hardware/interfaces/graphics/mapper/2.0/
DIMapper.hal145 * accessRegion, and the device need not guarantee that content outside of
146 * accessRegion is valid for reading. The result of reading or writing
147 * outside of accessRegion is undefined, except that it must not cause
150 * An accessRegion of all-zeros means the entire buffer. That is, it is
155 * if accessRegion does not begin at the top-left corner.
159 * @param accessRegion is the portion of the buffer that the client
178 Rect accessRegion,
195 * @param accessRegion is the portion of the buffer that the client
214 Rect accessRegion,
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp186 const IMapper::Rect& accessRegion, int acquireFence, int32_t* outBytesPerPixel, in lock() argument
202 mMapper->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lock()
219 const IMapper::Rect& accessRegion, int acquireFence) { in lockYCbCr() argument
231 mMapper->lockYCbCr(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lockYCbCr()
/hardware/google/gchips/gralloc4/src/hidl_common/
DMapper.cpp161 const IMapper::Rect& accessRegion, int fenceFd, in lockBuffer() argument
217 …if (mali_gralloc_lock(bufferHandle, cpuUsage, accessRegion.left, accessRegion.top, accessRegion.wi… in lockBuffer()
218 accessRegion.height, &data) < 0) in lockBuffer()
330 void lock(void* buffer, uint64_t cpuUsage, const IMapper::Rect& accessRegion, in lock() argument
349 const Error error = lockBuffer(bufferHandle, cpuUsage, accessRegion, fenceFd, &data); in lock()
DMapper.h79 void lock(void *buffer, uint64_t cpuUsage, const IMapper::Rect &accessRegion, const hidl_handle &ac…
/hardware/interfaces/graphics/mapper/stable-c/implutils/include/android/hardware/graphics/mapper/utils/
DIMapperProvider.h50 ARect accessRegion, int acquireFence,
132 .lock = [](buffer_handle_t _Nonnull buffer, uint64_t cpuUsage, ARect accessRegion, in bindV5()
134 return impl().lock(buffer, cpuUsage, accessRegion, acquireFence, outData); in bindV5()
/hardware/google/gchips/gralloc4/src/4.x/
DGrallocMapper.cpp80 Return<void> GrallocMapper::lock(void *buffer, uint64_t cpuUsage, const IMapper::Rect &accessRegion, in lock() argument
83 common::lock(buffer, cpuUsage, accessRegion, acquireFence, hidl_cb); in lock()
DGrallocMapper.h60 Return<void> lock(void *buffer, uint64_t cpuUsage, const IMapper::Rect &accessRegion,
/hardware/interfaces/graphics/mapper/3.0/
DIMapper.hal190 * @p accessRegion, and the device need not guarantee that content outside
191 * of @p accessRegion is valid for reading. The result of reading or writing
192 * outside of @p accessRegion is undefined, except that it must not cause
197 * buffer, even if @p accessRegion does not begin at the top-left corner.
208 * @param accessRegion Portion of the buffer that the client intends to
228 Rect accessRegion,
250 * @param accessRegion Portion of the buffer that the client intends to
268 Rect accessRegion,
/hardware/libhardware/include/hardware/
Dgralloc1.h964 const gralloc1_rect_t* accessRegion, void** outData,
1013 const gralloc1_rect_t* accessRegion,
/hardware/interfaces/graphics/mapper/stable-c/include/android/hardware/graphics/mapper/
DIMapper.h295 ARect accessRegion, int acquireFence,
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3StreamMem.h146 const gralloc1_rect_t* accessRegion,
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp366 const gralloc1_rect_t accessRegion = { in MapBuffer() local
373 &accessRegion, &buffer_ptr, acquire_fence); in MapBuffer()

12