Home
last modified time | relevance | path

Searched defs:hnd (Results 1 – 25 of 131) sorted by relevance

123456

/hardware/qcom/display/msm8996/libgralloc/
Dmapper.cpp60 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_metadata() local
87 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() local
132 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap() local
199 private_handle_t* hnd) in terminateBuffer()
222 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_and_invalidate() local
260 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock() local
273 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock_ycbcr() local
288 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unlock() local
303 static bool isYUV(private_handle_t* hnd) in isYUV()
386 private_handle_t* hnd = (private_handle_t*)native_handle_create( in gralloc_perform() local
[all …]
Dgpu.cpp163 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, in gralloc_alloc_buffer() local
229 private_handle_t* hnd = new private_handle_t( in gralloc_alloc_framebuffer_locked() local
341 auto hnd = (private_handle_t*) *pHandle; in alloc_impl() local
350 int gpu_context_t::free_impl(private_handle_t const* hnd) { in free_impl()
406 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(handle); in gralloc_free() local
/hardware/qcom/display/msm8994/libgralloc/
Dmapper.cpp61 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_metadata() local
88 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() local
133 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap() local
200 private_handle_t* hnd) in terminateBuffer()
223 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_and_invalidate() local
261 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock() local
274 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock_ycbcr() local
289 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unlock() local
304 static bool isYUV(private_handle_t* hnd) in isYUV()
387 private_handle_t* hnd = (private_handle_t*)native_handle_create( in gralloc_perform() local
[all …]
Dgpu.cpp180 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, in gralloc_alloc_buffer() local
248 private_handle_t* hnd = new private_handle_t( in gralloc_alloc_framebuffer_locked() local
346 auto hnd = (private_handle_t*) *pHandle; in alloc_impl() local
355 int gpu_context_t::free_impl(private_handle_t const* hnd) { in free_impl()
411 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(handle); in gralloc_free() local
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dmapper.cpp59 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_metadata() local
86 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() local
131 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap() local
198 private_handle_t* hnd) in terminateBuffer()
221 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_and_invalidate() local
259 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock() local
272 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock_ycbcr() local
287 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unlock() local
324 private_handle_t* hnd = (private_handle_t*)native_handle_create( in gralloc_perform() local
361 const private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform() local
[all …]
/hardware/qcom/display/msm8909/libgralloc/
Dmapper.cpp59 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_metadata() local
86 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() local
131 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap() local
198 private_handle_t* hnd) in terminateBuffer()
221 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_and_invalidate() local
259 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock() local
272 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock_ycbcr() local
287 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unlock() local
324 private_handle_t* hnd = (private_handle_t*)native_handle_create( in gralloc_perform() local
361 const private_handle_t* hnd = va_arg(args, private_handle_t*); in gralloc_perform() local
[all …]
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_buf_mgr.cpp193 auto hnd = buf->handle; in FreeBuffer() local
213 void BufferManager::RegisterHandleLocked(const private_handle_t *hnd, in RegisterHandleLocked()
220 gralloc1_error_t BufferManager::ImportHandleLocked(private_handle_t *hnd) { in ImportHandleLocked()
241 BufferManager::GetBufferFromHandleLocked(const private_handle_t *hnd) { in GetBufferFromHandleLocked()
255 private_handle_t *hnd = const_cast<private_handle_t *>(handle); in MapBuffer() local
275 gralloc1_error_t BufferManager::RetainBuffer(private_handle_t const *hnd) { in RetainBuffer()
292 gralloc1_error_t BufferManager::ReleaseBuffer(private_handle_t const *hnd) { in ReleaseBuffer()
312 gralloc1_error_t BufferManager::LockBuffer(const private_handle_t *hnd, in LockBuffer()
360 private_handle_t *hnd = const_cast<private_handle_t *>(handle); in UnlockBuffer() local
500 private_handle_t *hnd = new private_handle_t(data.fd, in AllocateBuffer() local
[all …]
Dgr_device_impl.cpp197 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in CheckDeviceAndHandle() local
312 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in GetBufferDimensions() local
344 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in GetProducerUsage() local
378 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in RetainBuffer() local
389 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in ReleaseBuffer() local
402 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in GetNumFlexPlanes() local
434 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in LockBuffer() local
471 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in LockFlex() local
484 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in UnlockBuffer() local
507 auto hnd = static_cast<private_handle_t *>(const_cast<native_handle_t *>(buffer)); in validateBufferSize() local
[all …]
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_buf_mgr.cpp192 auto hnd = buf->handle; in FreeBuffer() local
220 void BufferManager::RegisterHandleLocked(const private_handle_t *hnd, in RegisterHandleLocked()
227 gralloc1_error_t BufferManager::ImportHandleLocked(private_handle_t *hnd) { in ImportHandleLocked()
252 BufferManager::GetBufferFromHandleLocked(const private_handle_t *hnd) { in GetBufferFromHandleLocked()
262 private_handle_t *hnd = const_cast<private_handle_t *>(handle); in MapBuffer() local
273 gralloc1_error_t BufferManager::RetainBuffer(private_handle_t const *hnd) { in RetainBuffer()
287 gralloc1_error_t BufferManager::ReleaseBuffer(private_handle_t const *hnd) { in ReleaseBuffer()
304 gralloc1_error_t BufferManager::LockBuffer(const private_handle_t *hnd, in LockBuffer()
352 private_handle_t *hnd = const_cast<private_handle_t *>(handle); in UnlockBuffer() local
492 private_handle_t *hnd = new private_handle_t(data.fd, in AllocateBuffer() local
[all …]
Dgr_device_impl.cpp215 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in CheckDeviceAndHandle() local
330 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in GetBufferDimensions() local
362 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in GetProducerUsage() local
396 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in RetainBuffer() local
409 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in ReleaseBuffer() local
419 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in GetNumFlexPlanes() local
454 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in LockBuffer() local
491 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in LockFlex() local
504 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in UnlockBuffer() local
527 auto hnd = static_cast<private_handle_t *>(const_cast<native_handle_t *>(buffer)); in validateBufferSize() local
[all …]
/hardware/qcom/sdm845/display/gralloc/
Dgr_buf_mgr.cpp58 auto hnd = buf->handle; in FreeBuffer() local
86 Error BufferManager::ValidateBufferSize(private_handle_t const *hnd, BufferInfo info) { in ValidateBufferSize()
97 void BufferManager::RegisterHandleLocked(const private_handle_t *hnd, int ion_handle, in RegisterHandleLocked()
103 Error BufferManager::ImportHandleLocked(private_handle_t *hnd) { in ImportHandleLocked()
132 const private_handle_t *hnd) { in GetBufferFromHandleLocked()
142 private_handle_t *hnd = const_cast<private_handle_t *>(handle); in MapBuffer() local
153 Error BufferManager::IsBufferImported(const private_handle_t *hnd) { in IsBufferImported()
162 Error BufferManager::RetainBuffer(private_handle_t const *hnd) { in RetainBuffer()
176 Error BufferManager::ReleaseBuffer(private_handle_t const *hnd) { in ReleaseBuffer()
193 Error BufferManager::LockBuffer(const private_handle_t *hnd, uint64_t usage) { in LockBuffer()
[all …]
Dgr_device_impl.cpp279 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in CheckDeviceAndHandle() local
391 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in GetBufferDimensions() local
493 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in RetainBuffer() local
506 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in ReleaseBuffer() local
511 gralloc1_error_t GrallocImpl::GetFlexLayout(const private_handle_t *hnd, in GetFlexLayout()
562 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in GetNumFlexPlanes() local
602 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in LockBuffer() local
639 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in LockFlex() local
655 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in UnlockBuffer() local
681 private_handle_t *hnd = va_arg(args, private_handle_t *); in Perform() local
[all …]
DQtiMapper.cpp170 auto hnd = PRIV_HANDLE_CONST(buffer); in LockBuffer() local
184 auto hnd = PRIV_HANDLE_CONST(buffer); in lock() local
200 auto hnd = PRIV_HANDLE_CONST(buffer); in lockYCbCr() local
229 auto hnd = static_cast<private_handle_t *>(buffer); in validateBufferSize() local
246 auto hnd = static_cast<private_handle_t *>(buffer); in getTransportSize() local
270 auto hnd = static_cast<private_handle_t *>(buffer); in getMapSecureBufferFlag() local
285 auto hnd = static_cast<private_handle_t *>(buffer); in getInterlacedFlag() local
300 auto hnd = static_cast<private_handle_t *>(buffer); in getCustomDimensions() local
315 auto hnd = static_cast<private_handle_t *>(buffer); in getRgbDataAddress() local
339 auto hnd = static_cast<private_handle_t *>(buffer); in getColorSpace() local
[all …]
/hardware/qcom/display/msm8084/libgralloc/
Dmapper.cpp61 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() local
98 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap() local
145 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer() local
169 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer() local
180 private_handle_t* hnd) in terminateBuffer()
214 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_and_invalidate() local
246 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock() local
258 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock_ycbcr() local
272 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unlock() local
318 private_handle_t* hnd = (private_handle_t*)native_handle_create( in gralloc_perform() local
[all …]
/hardware/qcom/display/msm8226/libgralloc/
Dmapper.cpp61 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() local
98 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap() local
145 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer() local
169 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer() local
180 private_handle_t* hnd) in terminateBuffer()
214 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_and_invalidate() local
246 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock() local
258 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock_ycbcr() local
272 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unlock() local
318 private_handle_t* hnd = (private_handle_t*)native_handle_create( in gralloc_perform() local
[all …]
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_buf_mgr.cpp194 auto hnd = buf->handle; in FreeBuffer() local
216 void BufferManager::RegisterHandleLocked(const private_handle_t *hnd, in RegisterHandleLocked()
223 gralloc1_error_t BufferManager::ImportHandleLocked(private_handle_t *hnd) { in ImportHandleLocked()
244 BufferManager::GetBufferFromHandleLocked(const private_handle_t *hnd) { in GetBufferFromHandleLocked()
254 private_handle_t *hnd = const_cast<private_handle_t *>(handle); in MapBuffer() local
265 gralloc1_error_t BufferManager::RetainBuffer(private_handle_t const *hnd) { in RetainBuffer()
286 gralloc1_error_t BufferManager::ReleaseBuffer(private_handle_t const *hnd) { in ReleaseBuffer()
303 gralloc1_error_t BufferManager::LockBuffer(const private_handle_t *hnd, in LockBuffer()
351 private_handle_t *hnd = const_cast<private_handle_t *>(handle); in UnlockBuffer() local
513 private_handle_t *hnd = new private_handle_t(data.fd, in AllocateBuffer() local
[all …]
Dgr_device_impl.cpp202 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in CheckDeviceAndHandle() local
317 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in GetBufferDimensions() local
353 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in GetProducerUsage() local
395 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in RetainBuffer() local
406 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in ReleaseBuffer() local
423 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in GetNumFlexPlanes() local
456 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in LockBuffer() local
493 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in LockFlex() local
509 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in UnlockBuffer() local
/hardware/qcom/display/msm8909/gralloc/
Dgr_buf_mgr.cpp194 auto hnd = buf->handle; in FreeBuffer() local
222 void BufferManager::RegisterHandleLocked(const private_handle_t *hnd, in RegisterHandleLocked()
229 gralloc1_error_t BufferManager::ImportHandleLocked(private_handle_t *hnd) { in ImportHandleLocked()
250 BufferManager::GetBufferFromHandleLocked(const private_handle_t *hnd) { in GetBufferFromHandleLocked()
260 private_handle_t *hnd = const_cast<private_handle_t *>(handle); in MapBuffer() local
271 gralloc1_error_t BufferManager::RetainBuffer(private_handle_t const *hnd) { in RetainBuffer()
285 gralloc1_error_t BufferManager::ReleaseBuffer(private_handle_t const *hnd) { in ReleaseBuffer()
302 gralloc1_error_t BufferManager::LockBuffer(const private_handle_t *hnd, in LockBuffer()
354 private_handle_t *hnd = const_cast<private_handle_t *>(handle); in UnlockBuffer() local
516 private_handle_t *hnd = new private_handle_t(data.fd, in AllocateBuffer() local
[all …]
Dgr_device_impl.cpp202 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in CheckDeviceAndHandle() local
317 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in GetBufferDimensions() local
353 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in GetProducerUsage() local
395 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in RetainBuffer() local
408 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in ReleaseBuffer() local
422 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in GetNumFlexPlanes() local
455 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in LockBuffer() local
492 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in LockFlex() local
508 const private_handle_t *hnd = PRIV_HANDLE_CONST(buffer); in UnlockBuffer() local
/hardware/libhardware/modules/gralloc/
Dmapper.cpp41 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() local
61 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap() local
117 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer() local
132 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer() local
140 private_handle_t* hnd) in mapBuffer()
147 private_handle_t* hnd) in terminateBuffer()
173 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock() local
/hardware/qcom/display/msm8960/libgralloc/
Dmapper.cpp60 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map() local
94 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap() local
141 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer() local
165 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer() local
176 private_handle_t* hnd) in terminateBuffer()
208 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_and_invalidate() local
239 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock() local
251 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock_ycbcr() local
307 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unlock() local
349 private_handle_t* hnd = (private_handle_t*)native_handle_create( in gralloc_perform() local
[all …]
/hardware/qcom/display/msm8960/libgenlock/
Dgenlock.cpp76 private_handle_t *hnd = reinterpret_cast<private_handle_t*> in perform_lock_unlock_operation() local
151 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle); in genlock_create_lock() local
206 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle); in genlock_release_lock() local
236 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle); in genlock_attach_lock() local
329 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle); in genlock_wait() local
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_buffer_allocator.cpp118 private_handle_t *hnd = nullptr; in AllocateBuffer() local
155 auto hnd = reinterpret_cast<void *>(buffer_info->private_data); in FreeBuffer() local
378 private_handle_t hnd(-1, 0, 0, 0, 0, 0, 0); in GetBufferLayout() local
416 auto hnd = const_cast<private_handle_t *>(handle); in MapBuffer() local
433 auto hnd = const_cast<private_handle_t *>(handle); in UnmapBuffer() local
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.h216 static inline bool isYuvBuffer(const private_handle_t* hnd) { in isYuvBuffer()
221 static inline bool isSecureBuffer(const private_handle_t* hnd) { in isSecureBuffer()
225 static inline bool isBufferLocked(const private_handle_t* hnd) { in isBufferLocked()
230 static inline bool isExtOnly(const private_handle_t* hnd) { in isExtOnly()
235 static inline bool isExtBlock(const private_handle_t* hnd) { in isExtBlock()
240 static inline bool isExtCC(const private_handle_t* hnd) { in isExtCC()
244 static inline int getWidth(const private_handle_t* hnd) { in getWidth()
254 static inline int getHeight(const private_handle_t* hnd) { in getHeight()
Dhwc_fbupdate.cpp66 private_handle_t *hnd = (private_handle_t *)layer->handle; in configure() local
127 bool FBUpdateLowRes::draw(hwc_context_t *ctx, private_handle_t *hnd) in draw()
170 private_handle_t *hnd = (private_handle_t *)layer->handle; in configure() local
264 bool FBUpdateHighRes::draw(hwc_context_t *ctx, private_handle_t *hnd) in draw()

123456