/device/linaro/hikey/gralloc/ |
D | gralloc_module.cpp | 64 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer() 71 private_handle_t *hnd = (private_handle_t *)handle; in gralloc_register_buffer() 97 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) in gralloc_register_buffer() 101 else if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_UMP) in gralloc_register_buffer() 113 hnd->lockState &= ~(private_handle_t::LOCK_STATE_UNREGISTERED); in gralloc_register_buffer() 133 else if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION) in gralloc_register_buffer() 180 hnd->lockState &= ~(private_handle_t::LOCK_STATE_UNREGISTERED); in gralloc_register_buffer() 195 static void unmap_buffer(private_handle_t *hnd) in unmap_buffer() 197 if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_UMP) in unmap_buffer() 207 else if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION) in unmap_buffer() [all …]
|
D | gralloc_priv.h | 100 struct private_handle_t; 106 private_handle_t *framebuffer; 131 struct private_handle_t : public native_handle struct 134 struct private_handle_t 203 …private_handle_t(int flags, int usage, int size, void *base, int lock_state, ump_secure_id secure_… in private_handle_t() argument 232 numInts = (sizeof(private_handle_t) - sizeof(native_handle)) / sizeof(int) - sNumFds; in private_handle_t() 237 private_handle_t(int flags, int usage, int size, void *base, int lock_state): in private_handle_t() argument 263 numInts = (sizeof(private_handle_t) - sizeof(native_handle)) / sizeof(int) - sNumFds; in private_handle_t() 268 …private_handle_t(int flags, int usage, int size, void *base, int lock_state, int fb_file, int fb_o… in private_handle_t() function 299 numInts = (sizeof(private_handle_t) - sizeof(native_handle)) / sizeof(int) - sNumFds; in private_handle_t() [all …]
|
D | alloc_device.cpp | 146 …private_handle_t *hnd = new private_handle_t(private_handle_t::PRIV_FLAGS_USES_ION, usage, size, c… in gralloc_alloc_buffer() 220 …private_handle_t *hnd = new private_handle_t(private_handle_t::PRIV_FLAGS_USES_UMP, usage, size, c… in gralloc_alloc_buffer() 221 private_handle_t::LOCK_STATE_MAPPED, ump_id, ump_mem_handle); in gralloc_alloc_buffer() 310 …private_handle_t *hnd = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, usage, size… in gralloc_alloc_framebuffer_locked() 473 private_handle_t *hnd = (private_handle_t *)*pHandle; in alloc_device_alloc() 507 if (private_handle_t::validate(handle) < 0) in alloc_device_free() 512 private_handle_t const *hnd = reinterpret_cast<private_handle_t const *>(handle); in alloc_device_free() 514 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) in alloc_device_free() 532 else if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_UMP) in alloc_device_free() 547 else if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION) in alloc_device_free()
|
D | framebuffer_device.cpp | 69 if (private_handle_t::validate(buffer) < 0) in fb_post() 74 private_handle_t const *hnd = reinterpret_cast<private_handle_t const *>(buffer); in fb_post() 83 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) in fb_post() 385 …module->framebuffer = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, 0, fbSize, va… in init_frame_buffer_locked()
|
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
D | QCameraStream_Preview.cpp | 61 mPreviewMemory.private_buffer_handle[i] = (struct private_handle_t *)buffers[i]; in registerStreamBuffers() 214 struct private_handle_t *private_handle = mPreviewMemory.private_buffer_handle[0]; in prepareStream() 218 if (private_handle->flags & private_handle_t::PRIV_FLAGS_VIDEO_ENCODER) in prepareStream() 220 else if (private_handle->flags & private_handle_t::PRIV_FLAGS_CAMERA_WRITE) in prepareStream()
|
D | QCameraHWI.cpp | 435 struct private_handle_t *private_handle = in register_stream_buffers() 436 (struct private_handle_t *)buffers[0]; in register_stream_buffers()
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3Mem.h | 132 struct private_handle_t *mPrivateHandle[MM_CAMERA_MAX_NUM_FRAMES];
|
D | QCamera3Channel.h | 163 int32_t initialize(struct private_handle_t *priv_handle);
|
D | QCamera3Mem.cpp | 681 mPrivateHandle[idx] = (struct private_handle_t *)(*mBufferHandle[idx]); in registerBuffer()
|
/device/huawei/angler/camera/QCamera2/HAL3/ |
D | QCamera3Mem.h | 151 struct private_handle_t *mPrivateHandle[MM_CAMERA_MAX_NUM_FRAMES];
|
D | QCamera3Channel.h | 260 int32_t initialize(struct private_handle_t *priv_handle);
|
D | QCamera3Mem.cpp | 770 mPrivateHandle[idx] = (struct private_handle_t *)(*mBufferHandle[idx]); in registerBuffer()
|
/device/lge/bullhead/camera/QCamera2/HAL3/ |
D | QCamera3Mem.h | 151 struct private_handle_t *mPrivateHandle[MM_CAMERA_MAX_NUM_FRAMES];
|
D | QCamera3Channel.h | 260 int32_t initialize(struct private_handle_t *priv_handle);
|
D | QCamera3Mem.cpp | 770 mPrivateHandle[idx] = (struct private_handle_t *)(*mBufferHandle[idx]); in registerBuffer()
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCameraMem.h | 227 struct private_handle_t *mPrivateHandle[MM_CAMERA_MAX_NUM_FRAMES];
|
D | QCameraMem.cpp | 1121 nh->data[3] = private_handle_t::PRIV_FLAGS_ITU_R_709; in allocate() 1480 (struct private_handle_t *)(*mBufferHandle[cnt]); in allocate()
|
/device/moto/shamu/camera/QCamera/HAL2/core/inc/ |
D | QCameraStream.h | 70 struct private_handle_t *private_buffer_handle[MM_CAMERA_MAX_NUM_FRAMES];
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCameraMem.h | 246 struct private_handle_t *mPrivateHandle[MM_CAMERA_MAX_NUM_FRAMES];
|
D | QCameraMem.cpp | 1266 nh->data[3] = private_handle_t::PRIV_FLAGS_ITU_R_709; in allocate() 1695 (struct private_handle_t *)(*mBufferHandle[cnt]); in allocate()
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCameraMem.h | 246 struct private_handle_t *mPrivateHandle[MM_CAMERA_MAX_NUM_FRAMES];
|
D | QCameraMem.cpp | 1266 nh->data[3] = private_handle_t::PRIV_FLAGS_ITU_R_709; in allocate() 1695 (struct private_handle_t *)(*mBufferHandle[cnt]); in allocate()
|
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 893 (struct private_handle_t *) (*camHal->previewMem.buffer_handle[cnt]); in initDisplayBuffers() 1778 struct private_handle_t *private_buffer_handle = NULL; in get_buf_from_display() 1815 private_buffer_handle = (struct private_handle_t *)(*buffer_handle); in get_buf_from_display()
|
/device/moto/shamu/camera/QCamera/HAL/core/inc/ |
D | QCameraHWI.h | 155 struct private_handle_t *private_buffer_handle[MM_CAMERA_MAX_NUM_FRAMES];
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Preview.cpp | 153 (struct private_handle_t *)(*mHalCamCtrl->mPreviewMemory.buffer_handle[cnt]); in getBufferFromSurface()
|