Home
last modified time | relevance | path

Searched refs:buffer_handle_t (Results 1 – 25 of 204) sorted by relevance

123456789

/hardware/intel/img/hwcomposer/merrifield/include/
DBufferManager.h43 DataBuffer* lockDataBuffer(buffer_handle_t handle);
48 DataBuffer* get(buffer_handle_t handle);
57 virtual buffer_handle_t allocFrameBuffer(int width, int height, int *stride);
58 virtual void freeFrameBuffer(buffer_handle_t fbHandle);
60buffer_handle_t allocGrallocBuffer(uint32_t width, uint32_t height, uint32_t format, uint32_t usag…
61 void freeGrallocBuffer(buffer_handle_t handle);
62 virtual bool blit(buffer_handle_t srcHandle, buffer_handle_t destHandle,
65 virtual DataBuffer* createDataBuffer(buffer_handle_t handle) = 0;
76 KeyedVector<buffer_handle_t, BufferMapper*> mFrameBuffers;
/hardware/qcom/display/msm8909/gralloc/
Dgr_device_impl.h66 buffer_handle_t buffer);
85 static gralloc1_error_t GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer,
87 static gralloc1_error_t GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer,
89 static gralloc1_error_t GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer,
91 static gralloc1_error_t GetColorFormat(gralloc1_device_t *device, buffer_handle_t descriptor,
93 static gralloc1_error_t GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer,
95 static gralloc1_error_t GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer,
97 static gralloc1_error_t GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer,
101 buffer_handle_t *out_buffers);
102 static gralloc1_error_t RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer);
[all …]
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_device_impl.h66 buffer_handle_t buffer);
85 static gralloc1_error_t GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer,
87 static gralloc1_error_t GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer,
89 static gralloc1_error_t GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer,
91 static gralloc1_error_t GetColorFormat(gralloc1_device_t *device, buffer_handle_t descriptor,
93 static gralloc1_error_t GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer,
95 static gralloc1_error_t GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer,
97 static gralloc1_error_t GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer,
101 buffer_handle_t *out_buffers);
102 static gralloc1_error_t RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer);
[all …]
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_device_impl.h66 buffer_handle_t buffer);
85 static gralloc1_error_t GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer,
87 static gralloc1_error_t GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer,
89 static gralloc1_error_t GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer,
91 static gralloc1_error_t GetColorFormat(gralloc1_device_t *device, buffer_handle_t descriptor,
93 static gralloc1_error_t GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer,
95 static gralloc1_error_t GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer,
97 static gralloc1_error_t GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer,
101 buffer_handle_t *out_buffers);
102 static gralloc1_error_t RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer);
[all …]
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_device_impl.h66 buffer_handle_t buffer);
85 static gralloc1_error_t GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer,
87 static gralloc1_error_t GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer,
89 static gralloc1_error_t GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer,
91 static gralloc1_error_t GetColorFormat(gralloc1_device_t *device, buffer_handle_t descriptor,
93 static gralloc1_error_t GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer,
95 static gralloc1_error_t GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer,
97 static gralloc1_error_t GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer,
101 buffer_handle_t *out_buffers);
102 static gralloc1_error_t RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer);
[all …]
/hardware/intel/img/hwcomposer/merrifield/include/pvr/hal/
Dimg_gralloc.h33 (const gralloc_module_t *g, buffer_handle_t handle) in gralloc0_register_img()
39 (const gralloc_module_t *g, buffer_handle_t handle) in gralloc0_unregister_img()
46 buffer_handle_t *handle, int *stride) in gralloc0_device_alloc_img()
52 (alloc_device_t *d, buffer_handle_t handle) in gralloc0_device_free_img()
58 (const gralloc_module_t *g, buffer_handle_t handle, int usage, in gralloc0_lock_async_img()
67 (const gralloc_module_t *g, buffer_handle_t handle, int *releaseFence) in gralloc0_unlock_async_img()
73 (const gralloc_module_t *g, buffer_handle_t src, buffer_handle_t dest, in gralloc0_blit_handle_to_handle_img()
82 (const gralloc_module_t *g, buffer_handle_t handle, void **vaddrs, in gralloc0_get_buffer_cpu_addresses_img()
90 (const gralloc_module_t *g, buffer_handle_t handle) in gralloc0_put_buffer_cpu_addresses_img()
102 (const gralloc_module_t *g, buffer_handle_t handle, uint32_t *pui32Status) in gralloc0_get_display_status_img()
Dimg_gralloc1.h48 (gralloc1_device_t *g, buffer_handle_t handle) in gralloc1_register_img()
68 (gralloc1_device_t *g, buffer_handle_t handle) in gralloc1_unregister_img()
87 buffer_handle_t *handle, int *stride) in gralloc1_device_alloc_img()
182 (gralloc1_device_t *d, buffer_handle_t handle) in gralloc1_device_free_img()
188 (gralloc1_device_t *g, buffer_handle_t handle, int usage, in gralloc1_lock_async_img()
214 (gralloc1_device_t *g, buffer_handle_t handle, int *releaseFence) in gralloc1_unlock_async_img()
233 (gralloc1_device_t *g, buffer_handle_t src, buffer_handle_t dest,
238 (gralloc1_device_t *g, buffer_handle_t src, buffer_handle_t dest, in gralloc1_blit_handle_to_handle_img()
250 (gralloc1_device_t *g, buffer_handle_t handle, void **vaddrs,
254 (gralloc1_device_t *g, buffer_handle_t handle, void **vaddrs, in gralloc1_get_buffer_cpu_addresses_img()
[all …]
Dhal_public.h89 (const hw_device_t *d, buffer_handle_t handle) in gralloc_register_img()
98 (const hw_device_t *d, buffer_handle_t handle) in gralloc_unregister_img()
108 buffer_handle_t *handle, int *stride) in gralloc_device_alloc_img()
120 (const hw_device_t *d, buffer_handle_t handle) in gralloc_device_free_img()
129 (const hw_device_t *d, buffer_handle_t handle, int usage, in gralloc_lock_async_img()
142 (const hw_device_t *d, buffer_handle_t handle, int *releaseFence) in gralloc_unlock_async_img()
153 (const hw_device_t *d, buffer_handle_t src, buffer_handle_t dest, in gralloc_blit_handle_to_handle_img()
171 (const hw_device_t *d, buffer_handle_t handle, void **vaddrs, in gralloc_get_buffer_cpu_addresses_img()
183 (const hw_device_t *d, buffer_handle_t handle) in gralloc_put_buffer_cpu_addresses_img()
205 (const hw_device_t *d, buffer_handle_t handle, uint32_t *pui32Status) in gralloc_get_display_status_img()
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/pvr/hal/
Dimg_gralloc.h33 (const gralloc_module_t *g, buffer_handle_t handle) in gralloc0_register_img()
39 (const gralloc_module_t *g, buffer_handle_t handle) in gralloc0_unregister_img()
46 buffer_handle_t *handle, int *stride) in gralloc0_device_alloc_img()
52 (alloc_device_t *d, buffer_handle_t handle) in gralloc0_device_free_img()
58 (const gralloc_module_t *g, buffer_handle_t handle, int usage, in gralloc0_lock_async_img()
67 (const gralloc_module_t *g, buffer_handle_t handle, int *releaseFence) in gralloc0_unlock_async_img()
73 (const gralloc_module_t *g, buffer_handle_t src, buffer_handle_t dest, in gralloc0_blit_handle_to_handle_img()
82 (const gralloc_module_t *g, buffer_handle_t handle, void **vaddrs, in gralloc0_get_buffer_cpu_addresses_img()
90 (const gralloc_module_t *g, buffer_handle_t handle) in gralloc0_put_buffer_cpu_addresses_img()
102 (const gralloc_module_t *g, buffer_handle_t handle, uint32_t *pui32Status) in gralloc0_get_display_status_img()
Dimg_gralloc1.h48 (gralloc1_device_t *g, buffer_handle_t handle) in gralloc1_register_img()
68 (gralloc1_device_t *g, buffer_handle_t handle) in gralloc1_unregister_img()
87 buffer_handle_t *handle, int *stride) in gralloc1_device_alloc_img()
182 (gralloc1_device_t *d, buffer_handle_t handle) in gralloc1_device_free_img()
188 (gralloc1_device_t *g, buffer_handle_t handle, int usage, in gralloc1_lock_async_img()
214 (gralloc1_device_t *g, buffer_handle_t handle, int *releaseFence) in gralloc1_unlock_async_img()
233 (gralloc1_device_t *g, buffer_handle_t src, buffer_handle_t dest,
238 (gralloc1_device_t *g, buffer_handle_t src, buffer_handle_t dest, in gralloc1_blit_handle_to_handle_img()
250 (gralloc1_device_t *g, buffer_handle_t handle, void **vaddrs,
254 (gralloc1_device_t *g, buffer_handle_t handle, void **vaddrs, in gralloc1_get_buffer_cpu_addresses_img()
[all …]
Dhal_public.h89 (const hw_device_t *d, buffer_handle_t handle) in gralloc_register_img()
98 (const hw_device_t *d, buffer_handle_t handle) in gralloc_unregister_img()
108 buffer_handle_t *handle, int *stride) in gralloc_device_alloc_img()
120 (const hw_device_t *d, buffer_handle_t handle) in gralloc_device_free_img()
129 (const hw_device_t *d, buffer_handle_t handle, int usage, in gralloc_lock_async_img()
142 (const hw_device_t *d, buffer_handle_t handle, int *releaseFence) in gralloc_unlock_async_img()
153 (const hw_device_t *d, buffer_handle_t src, buffer_handle_t dest, in gralloc_blit_handle_to_handle_img()
171 (const hw_device_t *d, buffer_handle_t handle, void **vaddrs, in gralloc_get_buffer_cpu_addresses_img()
183 (const hw_device_t *d, buffer_handle_t handle) in gralloc_put_buffer_cpu_addresses_img()
205 (const hw_device_t *d, buffer_handle_t handle, uint32_t *pui32Status) in gralloc_get_display_status_img()
/hardware/intel/img/psb_video/src/android/
Dpsb_gralloc.h39 int gralloc_lock(buffer_handle_t handle, int usage,
42 int gralloc_unlock(buffer_handle_t handle);
44 int gralloc_register(buffer_handle_t handle);
46 int gralloc_unregister(buffer_handle_t handle);
50 int gralloc_getdisplaystatus(buffer_handle_t handle, int* status);
52 int gralloc_getbuffd(buffer_handle_t handle);
/hardware/libhardware/include/hardware/
Dgralloc1.h539 gralloc1_device_t* device, buffer_handle_t buffer,
561 gralloc1_device_t* device, buffer_handle_t buffer,
583 gralloc1_device_t* device, buffer_handle_t buffer, uint32_t* outWidth,
605 gralloc1_device_t* device, buffer_handle_t descriptor,
627 gralloc1_device_t* device, buffer_handle_t buffer,
649 gralloc1_device_t* device, buffer_handle_t buffer,
674 gralloc1_device_t* device, buffer_handle_t buffer, uint32_t* outStride);
699 gralloc1_device_t* device, buffer_handle_t buffer, uint32_t *outNumFds,
731 gralloc1_device_t* device, buffer_handle_t buffer,
786 buffer_handle_t* outBuffers);
[all …]
Dgralloc.h173 buffer_handle_t handle);
188 buffer_handle_t handle);
226 buffer_handle_t handle, int usage,
237 buffer_handle_t handle);
265 buffer_handle_t handle, int usage,
280 buffer_handle_t handle, int usage,
296 buffer_handle_t handle, int* fenceFd);
310 buffer_handle_t handle, int usage,
344 buffer_handle_t* handle, int* stride);
357 buffer_handle_t handle);
/hardware/qcom/display/msm8226/libgralloc/
Dgpu.h39 buffer_handle_t* pHandle,
46 buffer_handle_t* pHandle, int* pStride,
51 buffer_handle_t* pHandle,
54 buffer_handle_t* pHandle);
57 buffer_handle_t* pHandle);
59 static int gralloc_free(alloc_device_t* dev, buffer_handle_t handle);
63 int usage, buffer_handle_t* pHandle,
/hardware/qcom/display/msm8994/libgralloc/
Dgpu.h39 buffer_handle_t* pHandle,
46 buffer_handle_t* pHandle, int* pStride,
51 buffer_handle_t* pHandle,
54 buffer_handle_t* pHandle);
57 buffer_handle_t* pHandle);
59 static int gralloc_free(alloc_device_t* dev, buffer_handle_t handle);
63 int usage, buffer_handle_t* pHandle,
/hardware/qcom/display/msm8909/libgralloc/
Dgpu.h39 buffer_handle_t* pHandle,
46 buffer_handle_t* pHandle, int* pStride,
51 buffer_handle_t* pHandle,
54 buffer_handle_t* pHandle);
57 buffer_handle_t* pHandle);
59 static int gralloc_free(alloc_device_t* dev, buffer_handle_t handle);
63 int usage, buffer_handle_t* pHandle,
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dgpu.h39 buffer_handle_t* pHandle,
46 buffer_handle_t* pHandle, int* pStride,
51 buffer_handle_t* pHandle,
54 buffer_handle_t* pHandle);
57 buffer_handle_t* pHandle);
59 static int gralloc_free(alloc_device_t* dev, buffer_handle_t handle);
63 int usage, buffer_handle_t* pHandle,
/hardware/qcom/display/msm8996/libgralloc/
Dgpu.h39 buffer_handle_t* pHandle,
46 buffer_handle_t* pHandle, int* pStride,
51 buffer_handle_t* pHandle,
54 buffer_handle_t* pHandle);
57 buffer_handle_t* pHandle);
59 static int gralloc_free(alloc_device_t* dev, buffer_handle_t handle);
63 int usage, buffer_handle_t* pHandle,
/hardware/qcom/display/msm8084/libgralloc/
Dgpu.h39 buffer_handle_t* pHandle,
46 buffer_handle_t* pHandle, int* pStride,
51 buffer_handle_t* pHandle,
54 buffer_handle_t* pHandle);
57 buffer_handle_t* pHandle);
59 static int gralloc_free(alloc_device_t* dev, buffer_handle_t handle);
63 int usage, buffer_handle_t* pHandle,
/hardware/qcom/display/msm8960/libgralloc/
Dgpu.h40 buffer_handle_t* pHandle,
47 buffer_handle_t* pHandle, int* pStride,
52 buffer_handle_t* pHandle,
55 buffer_handle_t* pHandle);
58 buffer_handle_t* pHandle);
60 static int gralloc_free(alloc_device_t* dev, buffer_handle_t handle);
64 int usage, buffer_handle_t* pHandle,
/hardware/interfaces/camera/common/1.0/default/include/
DHandleImporter.h42 bool importBuffer(buffer_handle_t& handle);
43 void freeBuffer(buffer_handle_t handle);
48 void* lock(buffer_handle_t& buf, uint64_t cpuUsage, size_t size);
51 YCbCrLayout lockYCbCr(buffer_handle_t& buf, uint64_t cpuUsage,
54 int unlock(buffer_handle_t& buf); // returns release fence
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
DTngGrallocBufferMapper.cpp126 (buffer_handle_t)mClonedHandle, in map()
165 (buffer_handle_t)mClonedHandle); in map()
186 (buffer_handle_t)mClonedHandle); in unmap()
193 buffer_handle_t TngGrallocBufferMapper::getKHandle(int subIndex) in getKHandle()
195 buffer_handle_t ret = GrallocBufferMapperBase::getKHandle(subIndex); in getKHandle()
221 mKHandle[0] = (buffer_handle_t)(unsigned long)psbWsbmGetKBufHandle(wsbmBufferObject); in mapKhandle()
226 buffer_handle_t TngGrallocBufferMapper::getFbHandle(int subIndex) in getFbHandle()
240 (buffer_handle_t)mClonedHandle, in getFbHandle()
248 return (buffer_handle_t)vaddr[subIndex]; in getFbHandle()
254 (buffer_handle_t)mClonedHandle); in putFbHandle()
/hardware/libhardware/modules/gralloc/
Dmapper.cpp38 buffer_handle_t handle, in gralloc_map()
59 buffer_handle_t handle) in gralloc_unmap()
77 buffer_handle_t handle) in gralloc_register_buffer()
127 buffer_handle_t handle) in gralloc_unregister_buffer()
158 buffer_handle_t handle, int /*usage*/, in gralloc_lock()
179 buffer_handle_t handle) in gralloc_unlock()
/hardware/intel/img/hwcomposer/merrifield/common/buffers/
DBufferManager.cpp124 DataBuffer* BufferManager::lockDataBuffer(buffer_handle_t handle) in lockDataBuffer()
136 DataBuffer* BufferManager::get(buffer_handle_t handle) in get()
214 buffer_handle_t BufferManager::allocFrameBuffer(int width, int height, int *stride) in allocFrameBuffer()
229 buffer_handle_t handle = 0; in allocFrameBuffer()
260 buffer_handle_t fbHandle; in allocFrameBuffer()
282 void BufferManager::freeFrameBuffer(buffer_handle_t fbHandle) in freeFrameBuffer()
298 buffer_handle_t handle = mapper->getHandle(); in freeFrameBuffer()
305 buffer_handle_t BufferManager::allocGrallocBuffer(uint32_t width, uint32_t height, uint32_t format,… in allocGrallocBuffer()
320 buffer_handle_t handle = 0; in allocGrallocBuffer()
338 void BufferManager::freeGrallocBuffer(buffer_handle_t handle) in freeGrallocBuffer()

123456789