Home
last modified time | relevance | path

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

123

/device/generic/opengl-transport/host/libs/virglrenderer/include/hardware/
Dgralloc.h34 int (*registerBuffer)(gralloc_module_t const*, buffer_handle_t);
35 int (*unregisterBuffer)(gralloc_module_t const*, buffer_handle_t);
36 int (*lock)(gralloc_module_t const*, buffer_handle_t, int, int, int, int, int, void**);
37 int (*unlock)(gralloc_module_t const*, buffer_handle_t);
39 int (*lock_ycbcr)(gralloc_module_t const*, buffer_handle_t, int, int, int, int, int,
41 … int (*lockAsync)(gralloc_module_t const*, buffer_handle_t, int, int, int, int, int, void**, int);
42 int (*unlockAsync)(gralloc_module_t const*, buffer_handle_t, int*);
43 int (*lockAsync_ycbcr)(gralloc_module_t const*, buffer_handle_t, int, int, int, int, int,
45 int32_t (*getTransportSize)(gralloc_module_t const*, buffer_handle_t, uint32_t, uint32_t);
46 int32_t (*validateBufferSize)(gralloc_module_t const*, buffer_handle_t, uint32_t, uint32_t,
Dgralloc1.h70 typedef int32_t (*GRALLOC1_PFN_LOCK)(gralloc1_device_t*, buffer_handle_t, uint64_t, uint64_t,
72 typedef int32_t (*GRALLOC1_PFN_UNLOCK)(gralloc1_device_t*, buffer_handle_t, int32_t*);
/device/linaro/hikey/gralloc960/
Dmali_gralloc_private_interface.h47 typedef int32_t (*GRALLOC1_PFN_PRIVATE_GET_BUFF_INT_FMT)(gralloc1_device_t *device, buffer_handle_t
49 typedef int32_t (*GRALLOC1_PFN_PRIVATE_GET_BUFF_FD)(gralloc1_device_t *device, buffer_handle_t hand…
50 …t (*GRALLOC1_PFN_PRIVATE_GET_BUFF_INTERNAL_DIMS)(gralloc1_device_t *device, buffer_handle_t handle,
52 typedef int32_t (*GRALLOC1_PFN_PRIVATE_GET_BUFF_OFFSET)(gralloc1_device_t *device, buffer_handle_t
54 …32_t (*GRALLOC1_PFN_PRIVATE_GET_BUFF_BYTESTRIDE)(gralloc1_device_t *device, buffer_handle_t handle,
56 typedef int32_t (*GRALLOC1_PFN_PRIVATE_GET_BUFF_YUVINFO)(gralloc1_device_t *device, buffer_handle_t
58 typedef int32_t (*GRALLOC1_PFN_PRIVATE_GET_BUFF_SIZE)(gralloc1_device_t *device, buffer_handle_t ha…
59 typedef int32_t (*GRALLOC1_PFN_PRIVATE_GET_BUFF_FLAGS)(gralloc1_device_t *device, buffer_handle_t h…
60 …_t (*GRALLOC1_PFN_PRIVATE_GET_BUFF_MIN_PAGESIZE)(gralloc1_device_t *device, buffer_handle_t handle,
62 typedef int32_t (*GRALLOC1_PFN_PRIVATE_GET_ATTR_PARAM)(gralloc1_device_t *device, buffer_handle_t h…
[all …]
Dmali_gralloc_bufferaccess.h25 int mali_gralloc_lock(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, int l, …
27 int mali_gralloc_lock_ycbcr(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i…
29 int mali_gralloc_unlock(const mali_gralloc_module *m, buffer_handle_t buffer);
31 int mali_gralloc_get_num_flex_planes(const mali_gralloc_module *m, buffer_handle_t buffer, uint32_t…
32 int mali_gralloc_lock_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i…
34 int mali_gralloc_lock_ycbcr_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t us…
36 int mali_gralloc_lock_flex_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usa…
38 int mali_gralloc_unlock_async(const mali_gralloc_module *m, buffer_handle_t buffer, int32_t *fence_…
Dmali_gralloc_bufferdescriptor.h60 int mali_gralloc_get_backing_store_internal(buffer_handle_t buffer, gralloc1_backing_store_t *outSt…
61 int mali_gralloc_get_consumer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage);
62 int mali_gralloc_get_dimensions_internal(buffer_handle_t buffer, uint32_t *outWidth, uint32_t *outH…
63 int mali_gralloc_get_format_internal(buffer_handle_t buffer, int32_t *outFormat);
64 int mali_gralloc_get_producer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage);
66 int mali_gralloc_query_getstride(buffer_handle_t handle, int *pixelStride);
Dmali_gralloc_private_interface.cpp35 static int32_t mali_gralloc_private_get_buff_int_fmt(gralloc1_device_t *device, buffer_handle_t han… in mali_gralloc_private_get_buff_int_fmt()
51 static int32_t mali_gralloc_private_get_buff_fd(gralloc1_device_t *device, buffer_handle_t handle, … in mali_gralloc_private_get_buff_fd()
66 static int32_t mali_gralloc_private_get_buff_int_dims(gralloc1_device_t *device, buffer_handle_t ha… in mali_gralloc_private_get_buff_int_dims()
83 static int32_t mali_gralloc_private_get_buff_offset(gralloc1_device_t *device, buffer_handle_t hand… in mali_gralloc_private_get_buff_offset()
98 static int32_t mali_gralloc_private_get_buff_bytestride(gralloc1_device_t *device, buffer_handle_t in mali_gralloc_private_get_buff_bytestride()
114 static int32_t mali_gralloc_private_get_buff_yuvinfo(gralloc1_device_t *device, buffer_handle_t han… in mali_gralloc_private_get_buff_yuvinfo()
130 static int32_t mali_gralloc_private_get_buff_size(gralloc1_device_t *device, buffer_handle_t handle… in mali_gralloc_private_get_buff_size()
145 static int32_t mali_gralloc_private_get_buff_flags(gralloc1_device_t *device, buffer_handle_t handl… in mali_gralloc_private_get_buff_flags()
160 …32_t mali_gralloc_private_get_buff_min_page_size(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_min_page_size()
176 static int32_t mali_gralloc_private_get_attr_param(gralloc1_device_t *device, buffer_handle_t handl… in mali_gralloc_private_get_attr_param()
[all …]
Dmali_gralloc_module.cpp78 static int gralloc_register_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_register_buffer()
85 static int gralloc_unregister_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unregister_buffer()
92 static int gralloc_lock(gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, i… in gralloc_lock()
100 static int gralloc_lock_ycbcr(gralloc_module_t const *module, buffer_handle_t handle, int usage, in… in gralloc_lock_ycbcr()
108 static int gralloc_unlock(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unlock()
115 static int gralloc_lock_async(gralloc_module_t const *module, buffer_handle_t handle, int usage, in… in gralloc_lock_async()
123 static int gralloc_lock_ycbcr_async(gralloc_module_t const *module, buffer_handle_t handle, int usa… in gralloc_lock_ycbcr_async()
131 static int gralloc_unlock_async(gralloc_module_t const *module, buffer_handle_t handle, int32_t *fe… in gralloc_unlock_async()
Dmali_gralloc_public_interface.cpp104 static int32_t mali_gralloc_get_backing_store(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_backing_store()
113 static int32_t mali_gralloc_get_consumer_usage(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_consumer_usage()
122 static int32_t mali_gralloc_get_dimensions(gralloc1_device_t *device, buffer_handle_t buffer, uint3… in mali_gralloc_get_dimensions()
131 static int32_t mali_gralloc_get_format(gralloc1_device_t *device, buffer_handle_t buffer, int32_t *… in mali_gralloc_get_format()
139 static int32_t mali_gralloc_get_producer_usage(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_producer_usage()
148 static int32_t mali_gralloc_get_stride(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t … in mali_gralloc_get_stride()
165 … const gralloc1_buffer_descriptor_t *descriptors, buffer_handle_t *outBuffers) in mali_gralloc_allocate()
242 static int32_t mali_gralloc_retain(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_retain()
260 static int32_t mali_gralloc_release(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_release()
273 static int32_t mali_gralloc1_get_num_flex_planes(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc1_get_num_flex_planes()
[all …]
Dmali_gralloc_bufferdescriptor.cpp117 int mali_gralloc_get_backing_store_internal(buffer_handle_t buffer, gralloc1_backing_store_t *outSt… in mali_gralloc_get_backing_store_internal()
131 int mali_gralloc_get_consumer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage) in mali_gralloc_get_consumer_usage_internal()
144 int mali_gralloc_get_dimensions_internal(buffer_handle_t buffer, uint32_t *outWidth, uint32_t *outH… in mali_gralloc_get_dimensions_internal()
158 int mali_gralloc_get_format_internal(buffer_handle_t buffer, int32_t *outFormat) in mali_gralloc_get_format_internal()
171 int mali_gralloc_get_producer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage) in mali_gralloc_get_producer_usage_internal()
185 int mali_gralloc_query_getstride(buffer_handle_t buffer, int *pixelStride) in mali_gralloc_query_getstride()
Dmali_gralloc_reference.h24 int mali_gralloc_reference_retain(mali_gralloc_module const *module, buffer_handle_t handle);
25 int mali_gralloc_reference_release(mali_gralloc_module const *module, buffer_handle_t handle, bool …
Dmali_gralloc_bufferallocation.h28 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend);
29 int mali_gralloc_buffer_free(buffer_handle_t pHandle);
Dmali_gralloc_bufferaccess.cpp36 int mali_gralloc_lock(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, int l, … in mali_gralloc_lock()
72 int mali_gralloc_lock_ycbcr(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i… in mali_gralloc_lock_ycbcr()
168 int mali_gralloc_unlock(const mali_gralloc_module *m, buffer_handle_t buffer) in mali_gralloc_unlock()
187 int mali_gralloc_get_num_flex_planes(const mali_gralloc_module *m, buffer_handle_t buffer, uint32_t… in mali_gralloc_get_num_flex_planes()
222 int mali_gralloc_lock_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usage, i… in mali_gralloc_lock_async()
234 int mali_gralloc_lock_ycbcr_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t us… in mali_gralloc_lock_ycbcr_async()
248 int mali_gralloc_lock_flex_async(const mali_gralloc_module *m, buffer_handle_t buffer, uint64_t usa… in mali_gralloc_lock_flex_async()
404 int mali_gralloc_unlock_async(const mali_gralloc_module *m, buffer_handle_t buffer, int32_t *fence_… in mali_gralloc_unlock_async()
Dmali_gralloc_reference.cpp37 int mali_gralloc_reference_retain(mali_gralloc_module const *module, buffer_handle_t handle) in mali_gralloc_reference_retain()
81 int mali_gralloc_reference_release(mali_gralloc_module const *module, buffer_handle_t handle, bool … in mali_gralloc_reference_release()
/device/generic/goldfish/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()
Dgralloc.cpp47 size_t size, int usage, buffer_handle_t* pHandle);
58 buffer_handle_t handle, int usage,
63 buffer_handle_t handle);
66 buffer_handle_t handle);
69 buffer_handle_t handle);
108 size_t size, int usage, buffer_handle_t* pHandle) in gralloc_alloc_framebuffer_locked()
161 size_t size, int usage, buffer_handle_t* pHandle) in gralloc_alloc_framebuffer()
172 size_t size, int /*usage*/, buffer_handle_t* pHandle) in gralloc_alloc_buffer()
209 buffer_handle_t* pHandle, int* pStride) in gralloc_alloc()
257 buffer_handle_t handle) in gralloc_free()
/device/google/cuttlefish_common/guest/hals/gralloc/legacy/
Dmapper.cpp43 buffer_handle_t handle) { in gralloc_register_buffer()
57 buffer_handle_t handle) { in gralloc_unregister_buffer()
66 gralloc_module_t const* /*module*/, buffer_handle_t handle, int /*usage*/, in gralloc_lock()
90 gralloc_module_t const* /*module*/, buffer_handle_t handle) { in gralloc_unlock()
107 gralloc_module_t const* /*module*/, buffer_handle_t handle, int /*usage*/, in gralloc_lock_ycbcr()
Dgralloc_vsoc_priv.h346 buffer_handle_t handle, int usage,
351 gralloc_module_t const* module, buffer_handle_t handle);
354 gralloc_module_t const* module, buffer_handle_t handle);
357 gralloc_module_t const* module, buffer_handle_t handle);
361 buffer_handle_t handle, int usage,
Dgralloc.cpp54 buffer_handle_t* pHandle, int* pStrideInPixels) { in gralloc_alloc_buffer()
103 int /*usage*/, buffer_handle_t* pHandle, in gralloc_alloc()
116 static int gralloc_free(alloc_device_t* /*dev*/, buffer_handle_t handle) { in gralloc_free()
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3Channel.h102 virtual int32_t request(buffer_handle_t * /*buffer*/, in request() argument
105 virtual int32_t request(buffer_handle_t * /*buffer*/, in request() argument
113 virtual int32_t registerBuffer(buffer_handle_t *buffer, cam_is_type_t isType) = 0;
201 virtual int32_t request(buffer_handle_t *buffer,
209 virtual int32_t registerBuffer(buffer_handle_t *buffer, cam_is_type_t isType);
215 virtual void reprocessCbRoutine(buffer_handle_t *resultBuffer,
231 buffer_handle_t *output_buffer,
249 void issueChannelCb(buffer_handle_t *resultBuffer,
302 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber,
330 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber,
[all …]
DQCamera3PostProc.h57 buffer_handle_t *output_buffer;
85 buffer_handle_t *output;
124 buffer_handle_t *output, uint32_t frameNumber);
/device/google/cuttlefish_common/guest/hals/camera/
DGrallocModule.h28 int lock(buffer_handle_t handle, int usage, int l, int t, int w, int h, in lock()
34 int lock_ycbcr(buffer_handle_t handle, int usage, int l, int t, int w, int h, in lock_ycbcr()
40 int unlock(buffer_handle_t handle) { in unlock()
/device/generic/goldfish/camera/
DGrallocModule.h15 int lock(buffer_handle_t handle, in lock()
21 int lock_ycbcr(buffer_handle_t handle, in lock_ycbcr()
28 int unlock(buffer_handle_t handle) { in unlock()
/device/google/cuttlefish_common/guest/hals/gralloc/
Dgralloc.cpp122 buffer_handle_t handle, in lock()
144 int unlock(struct gralloc_module_t const* /*module*/, buffer_handle_t handle) { in unlock()
153 buffer_handle_t handle, in lock_ycbcr()
178 buffer_handle_t* pHandle, in gralloc_alloc()
223 static int gralloc_free(alloc_device_t* /*dev*/, buffer_handle_t handle) { in gralloc_free()
231 buffer_handle_t handle) { in register_buffer()
245 buffer_handle_t handle) { in unregister_buffer()
/device/linaro/hikey/gralloc/
Dgralloc_module.cpp62 static int gralloc_register_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_register_buffer()
239 static int gralloc_unregister_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unregister_buffer()
281 static int gralloc_lock(gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, i… in gralloc_lock()
330 static int gralloc_lock_ycbcr(gralloc_module_t const *module, buffer_handle_t handle, int usage, in… in gralloc_lock_ycbcr()
410 static int gralloc_unlock(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unlock()
465 static int gralloc_lock_async (gralloc_module_t const *module, buffer_handle_t handle, int usage, i… in gralloc_lock_async()
476 static int gralloc_unlock_async(gralloc_module_t const *module, buffer_handle_t handle, int *fenceF… in gralloc_unlock_async()
489 static int gralloc_lock_async_ycbcr(gralloc_module_t const *module, buffer_handle_t handle, int usa… in gralloc_lock_async_ycbcr()
/device/generic/opengl-transport/host/libs/virglrenderer/include/cutils/
Dnative_handle.h21 typedef const struct native_handle_t* buffer_handle_t; typedef

123