Home
last modified time | relevance | path

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

/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/1.0/default/
DHandleImporter.cpp88 uint64_t cpuUsage, const IMapper::Rect& accessRegion) { in lockYCbCrInternal() argument
93 typename M::Rect accessRegionCopy = {accessRegion.left, accessRegion.top, in lockYCbCrInternal()
94 accessRegion.width, accessRegion.height}; in lockYCbCrInternal()
233 IMapperV3::Rect accessRegion { 0, 0, static_cast<int>(size), 1 }; in lock() local
236 mMapperV3->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lock()
247 IMapper::Rect accessRegion { 0, 0, static_cast<int>(size), 1 }; in lock() local
248 mMapperV2->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lock()
265 const IMapper::Rect& accessRegion) { in lockYCbCr() argument
274 mMapperV3, buf, cpuUsage, accessRegion); in lockYCbCr()
279 mMapperV2, buf, cpuUsage, accessRegion); in lockYCbCr()
/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.cpp354 IMapper3::Rect accessRegion; in lock() local
355 accessRegion.left = accessRegionRect.left; in lock()
356 accessRegion.top = accessRegionRect.top; in lock()
357 accessRegion.width = accessRegionRect.width; in lock()
358 accessRegion.height = accessRegionRect.height; in lock()
361 return mGralloc3->lock(bufferHandle, cpuUsage, accessRegion, acquireFence, &bytesPerPixel, in lock()
364 IMapper2::Rect accessRegion; in lock() local
365 accessRegion.left = accessRegionRect.left; in lock()
366 accessRegion.top = accessRegionRect.top; in lock()
367 accessRegion.width = accessRegionRect.width; in lock()
[all …]
/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.h95 Return<void> lock(void* buffer, uint64_t cpuUsage, const V2_0::IMapper::Rect& accessRegion, in lock() argument
111 error = mHal->lock(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &data); in lock()
116 Return<void> lockYCbCr(void* buffer, uint64_t cpuUsage, const V2_0::IMapper::Rect& accessRegion, in lockYCbCr() argument
133 error = mHal->lockYCbCr(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &layout); in lockYCbCr()
/hardware/interfaces/camera/common/1.0/default/include/
DHandleImporter.h53 const IMapper::Rect& accessRegion);
65 const IMapper::Rect& accessRegion);
/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/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/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/
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.cpp180 const IMapper::Rect& accessRegion, int acquireFence, int32_t* outBytesPerPixel, in lock() argument
196 mMapper->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lock()
213 const IMapper::Rect& accessRegion, int acquireFence) { in lockYCbCr() argument
225 mMapper->lockYCbCr(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lockYCbCr()
/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/sensors/common/vts/utils/
DGrallocWrapper.cpp187 typename MapperT::Rect accessRegion = {}; in lock() local
191 mMapper->lock(bufferHandle, kBufferUsage, accessRegion, acquireFenceHandle, in lock()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp390 const gralloc1_rect_t accessRegion = { in MapBuffer() local
397 &accessRegion, &buffer_ptr, acquire_fence); in MapBuffer()
/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()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3StreamMem.h146 const gralloc1_rect_t* accessRegion,