Home
last modified time | relevance | path

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

12345678910>>...15

/aosp12/hardware/google/gchips/libvendorgraphicbuffer/include/
H A DVendorGraphicBuffer.h121 void init(const buffer_handle_t handle);
123 static int get_fd(buffer_handle_t, int num);
128 static int get_width(buffer_handle_t);
129 static int get_height(buffer_handle_t);
134 static uint64_t get_flags(buffer_handle_t);
136 static uint64_t get_usage(buffer_handle_t);
137 static int is_afbc(buffer_handle_t);
138 static int is_sbwc(buffer_handle_t);
146 static int get_dataspace(buffer_handle_t);
149 static buffer_handle_t import_buffer(buffer_handle_t);
[all …]
/aosp12/frameworks/native/libs/ui/include/ui/
H A DGraphicBufferMapper.h57 status_t importBuffer(buffer_handle_t rawHandle,
60 buffer_handle_t* outHandle);
62 status_t freeBuffer(buffer_handle_t handle);
64 void getTransportSize(buffer_handle_t handle,
70 status_t lockYCbCr(buffer_handle_t handle,
73 status_t unlock(buffer_handle_t handle);
83 status_t lockAsyncYCbCr(buffer_handle_t handle,
110 buffer_handle_t bufferHandle,
114 buffer_handle_t bufferHandle,
118 buffer_handle_t bufferHandle,
[all …]
H A DGralloc.h52 virtual void freeBuffer(buffer_handle_t bufferHandle) const = 0;
75 virtual int unlock(buffer_handle_t bufferHandle) const = 0;
89 virtual status_t getBufferId(buffer_handle_t /*bufferHandle*/, in getBufferId() argument
102 virtual status_t getLayerCount(buffer_handle_t /*bufferHandle*/, in getLayerCount() argument
130 buffer_handle_t /*bufferHandle*/, in getCompression() argument
139 buffer_handle_t /*bufferHandle*/, in getInterlaced() argument
148 buffer_handle_t /*bufferHandle*/, in getChromaSiting() argument
160 virtual status_t getDataspace(buffer_handle_t /*bufferHandle*/, in getDataspace() argument
172 virtual status_t getCta861_3(buffer_handle_t /*bufferHandle*/, in getCta861_3() argument
177 buffer_handle_t /*bufferHandle*/, in getSmpte2094_40() argument
[all …]
H A DGralloc4.h65 int unlock(buffer_handle_t bufferHandle) const override;
86 status_t getCompression(buffer_handle_t bufferHandle,
89 status_t getCompression(buffer_handle_t bufferHandle,
91 status_t getInterlaced(buffer_handle_t bufferHandle,
94 status_t getInterlaced(buffer_handle_t bufferHandle,
96 status_t getChromaSiting(buffer_handle_t bufferHandle,
99 status_t getChromaSiting(buffer_handle_t bufferHandle,
101 status_t getPlaneLayouts(buffer_handle_t bufferHandle,
105 status_t getSmpte2086(buffer_handle_t bufferHandle,
107 status_t getCta861_3(buffer_handle_t bufferHandle,
[all …]
/aosp12/frameworks/native/libs/ui/include_vndk/ui/
H A DGraphicBufferMapper.h57 status_t importBuffer(buffer_handle_t rawHandle,
60 buffer_handle_t* outHandle);
62 status_t freeBuffer(buffer_handle_t handle);
64 void getTransportSize(buffer_handle_t handle,
70 status_t lockYCbCr(buffer_handle_t handle,
73 status_t unlock(buffer_handle_t handle);
83 status_t lockAsyncYCbCr(buffer_handle_t handle,
110 buffer_handle_t bufferHandle,
114 buffer_handle_t bufferHandle,
118 buffer_handle_t bufferHandle,
[all …]
/aosp12/hardware/qcom/display/msm8996/libgralloc1/
H A Dgr_device_impl.h66 buffer_handle_t buffer);
93 static gralloc1_error_t GetLayerCount(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);
103 static gralloc1_error_t ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer);
106 static gralloc1_error_t LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
111 static gralloc1_error_t LockFlex(gralloc1_device_t *device, buffer_handle_t buffer,
118 static gralloc1_error_t UnlockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
123 buffer_handle_t bufferHandle,
127 buffer_handle_t buffer, uint32_t *outNumFds,
[all …]
/aosp12/hardware/qcom/display/msm8998/libgralloc1/
H A Dgr_device_impl.h66 buffer_handle_t buffer);
93 static gralloc1_error_t GetLayerCount(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);
103 static gralloc1_error_t ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer);
106 static gralloc1_error_t LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
111 static gralloc1_error_t LockFlex(gralloc1_device_t *device, buffer_handle_t buffer,
118 static gralloc1_error_t UnlockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
123 buffer_handle_t bufferHandle,
127 buffer_handle_t buffer, uint32_t *outNumFds,
[all …]
/aosp12/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp85 status_t GraphicBufferMapper::importBuffer(buffer_handle_t rawHandle, in importBuffer()
88 buffer_handle_t* outHandle) in importBuffer()
92 buffer_handle_t bufferHandle; in importBuffer()
112 void GraphicBufferMapper::getTransportSize(buffer_handle_t handle, in getTransportSize()
118 status_t GraphicBufferMapper::freeBuffer(buffer_handle_t handle) in freeBuffer()
139 status_t GraphicBufferMapper::unlock(buffer_handle_t handle) in unlock()
169 status_t GraphicBufferMapper::lockAsyncYCbCr(buffer_handle_t handle, in lockAsyncYCbCr()
242 buffer_handle_t bufferHandle, in getCompression()
253 buffer_handle_t bufferHandle, in getInterlaced()
264 buffer_handle_t bufferHandle, in getChromaSiting()
[all …]
/aosp12/hardware/qcom/display/msm8909w_3100/libgralloc1/
H A 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,
93 static gralloc1_error_t GetLayerCount(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);
103 static gralloc1_error_t ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer);
106 static gralloc1_error_t LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
111 static gralloc1_error_t LockFlex(gralloc1_device_t *device, buffer_handle_t buffer,
[all …]
/aosp12/hardware/qcom/display/msm8909/gralloc/
H A 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,
93 static gralloc1_error_t GetLayerCount(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);
103 static gralloc1_error_t ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer);
106 static gralloc1_error_t LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
111 static gralloc1_error_t LockFlex(gralloc1_device_t *device, buffer_handle_t buffer,
[all …]
/aosp12/hardware/google/gchips/gralloc3/src/
H A 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 …]
H A 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_…
/aosp12/hardware/libhardware/include/hardware/
H A Dgralloc1.h539 gralloc1_device_t* device, buffer_handle_t buffer,
561 gralloc1_device_t* device, buffer_handle_t buffer,
627 gralloc1_device_t* device, buffer_handle_t buffer,
649 gralloc1_device_t* device, buffer_handle_t buffer,
729 gralloc1_device_t* device, buffer_handle_t buffer,
784 buffer_handle_t* outBuffers);
815 buffer_handle_t* outBuffer);
901 gralloc1_device_t* device, buffer_handle_t buffer,
961 gralloc1_device_t* device, buffer_handle_t buffer,
1010 gralloc1_device_t* device, buffer_handle_t buffer,
[all …]
H A Dgralloc.h176 buffer_handle_t handle);
191 buffer_handle_t handle);
229 buffer_handle_t handle, int usage,
240 buffer_handle_t handle);
268 buffer_handle_t handle, int usage,
283 buffer_handle_t handle, int usage,
299 buffer_handle_t handle, int* fenceFd);
313 buffer_handle_t handle, int usage,
342 struct gralloc_module_t const* device, buffer_handle_t handle,
377 buffer_handle_t* handle, int* stride);
[all …]
/aosp12/hardware/qcom/sdm845/display/gralloc/
H A Dgr_device_impl.h66 buffer_handle_t buffer);
85 static gralloc1_error_t GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer,
93 static gralloc1_error_t GetLayerCount(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);
103 static gralloc1_error_t ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer);
106 static gralloc1_error_t LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
111 static gralloc1_error_t LockFlex(gralloc1_device_t *device, buffer_handle_t buffer,
118 static gralloc1_error_t UnlockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
[all …]
/aosp12/hardware/qcom/sm7250/display/gralloc/
H A Dgr_device_impl.h66 buffer_handle_t buffer);
85 static int32_t GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer,
93 static int32_t GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer,
97 static int32_t GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer,
101 buffer_handle_t *out_buffers);
102 static int32_t RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer);
103 static int32_t ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer);
106 static int32_t LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
111 static int32_t LockFlex(gralloc1_device_t *device, buffer_handle_t buffer,
118 static int32_t UnlockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
[all …]
/aosp12/hardware/qcom/sm8150/display/gralloc/
H A Dgr_device_impl.h66 buffer_handle_t buffer);
85 static gralloc1_error_t GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer,
93 static gralloc1_error_t GetLayerCount(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);
103 static gralloc1_error_t ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer);
106 static gralloc1_error_t LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
111 static gralloc1_error_t LockFlex(gralloc1_device_t *device, buffer_handle_t buffer,
118 static gralloc1_error_t UnlockBuffer(gralloc1_device_t *device, buffer_handle_t buffer,
[all …]
/aosp12/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/
H A Dvendor_graphicbuffer_meta.cpp46 int mali_gralloc_reference_validate(buffer_handle_t handle) { in mali_gralloc_reference_validate()
90 int VendorGraphicBufferMeta::get_dataspace(buffer_handle_t hnd) in get_dataspace()
141 int VendorGraphicBufferMeta::is_afbc(buffer_handle_t hnd) in is_afbc()
154 int VendorGraphicBufferMeta::is_sbwc(buffer_handle_t buffer_hnd_p) in is_sbwc()
170 uint32_t VendorGraphicBufferMeta::get_format(buffer_handle_t hnd) in get_format()
201 int VendorGraphicBufferMeta::get_fd(buffer_handle_t hnd, int num) in get_fd()
214 int VendorGraphicBufferMeta::get_size(buffer_handle_t hnd, int num) in get_size()
228 uint64_t VendorGraphicBufferMeta::get_usage(buffer_handle_t hnd) in get_usage()
261 void VendorGraphicBufferMeta::init(const buffer_handle_t handle) in init()
308 buffer_handle_t VendorGraphicBufferMeta::import_buffer(buffer_handle_t hnd) in import_buffer()
[all …]
/aosp12/hardware/google/gchips/libvendorgraphicbuffer/gralloc3/
H A Dvendor_graphicbuffer_meta.cpp28 int VendorGraphicBufferMeta::is_afbc(buffer_handle_t buffer_hnd_p) in is_afbc()
38 int VendorGraphicBufferMeta::is_sbwc(buffer_handle_t buffer_hnd_p) in is_sbwc()
65 __type__ VendorGraphicBufferMeta::get_##__name__(buffer_handle_t hnd) \
87 int VendorGraphicBufferMeta::get_dataspace(buffer_handle_t hnd) in get_dataspace()
139 int VendorGraphicBufferMeta::get_fd(buffer_handle_t hnd, int num) in get_fd()
152 int VendorGraphicBufferMeta::get_size(buffer_handle_t hnd, int num) in get_size()
166 uint64_t VendorGraphicBufferMeta::get_usage(buffer_handle_t hnd) in get_usage()
176 void* VendorGraphicBufferMeta::get_video_metadata(buffer_handle_t hnd) in get_video_metadata()
234 buffer_handle_t VendorGraphicBufferMeta::import_buffer(buffer_handle_t hnd) in import_buffer()
241 int VendorGraphicBufferMeta::free_buffer(buffer_handle_t hnd) in free_buffer()
[all …]
/aosp12/hardware/interfaces/camera/common/1.0/default/include/
H A DHandleImporter.h44 bool importBuffer(buffer_handle_t& handle);
45 void freeBuffer(buffer_handle_t handle);
50 void* lock(buffer_handle_t& buf, uint64_t cpuUsage, size_t size);
53 void* lock(buffer_handle_t& buf, uint64_t cpuUsage, const IMapper::Rect& accessRegion);
56 YCbCrLayout lockYCbCr(buffer_handle_t& buf, uint64_t cpuUsage,
60 status_t getMonoPlanarStrideBytes(buffer_handle_t& buf, uint32_t* stride /*out*/);
62 int unlock(buffer_handle_t& buf); // returns release fence
69 bool importBufferInternal(const sp<M> mapper, buffer_handle_t& handle);
71 YCbCrLayout lockYCbCrInternal(const sp<M> mapper, buffer_handle_t& buf, uint64_t cpuUsage,
74 int unlockInternal(const sp<M> mapper, buffer_handle_t& buf);
/aosp12/frameworks/av/services/camera/libcameraservice/device3/
H A DBufferUtils.h35 size_t operator()(const buffer_handle_t& buf) const { in operator()
49 bool operator()(const buffer_handle_t& buf1, const buffer_handle_t& buf2) const { in operator()
63 typedef std::unordered_map<const buffer_handle_t, uint64_t,
71 typedef std::unordered_map<uint64_t, buffer_handle_t*> InflightBufferMap;
74 typedef std::unordered_map<uint64_t, std::pair<int32_t, buffer_handle_t*>> RequestedBufferMap;
99 const buffer_handle_t& buf, int streamId) override;
123 buffer_handle_t *buffer);
127 /*out*/ buffer_handle_t **buffer) override;
137 uint64_t bufferId, buffer_handle_t* buf, int32_t streamId) override;
141 /*out*/ buffer_handle_t** buffer,
/aosp12/hardware/google/gchips/include/
H A DGrallocWrapper.h52 buffer_handle_t* outBufferHandle) const;
54 void freeBuffer(buffer_handle_t bufferHandle) const;
58 Error lock(buffer_handle_t bufferHandle, uint64_t usage,
64 Error lock(buffer_handle_t bufferHandle, uint64_t usage,
70 int unlock(buffer_handle_t bufferHandle) const;
91 uint32_t* outStride, buffer_handle_t* outBufferHandles) const;
94 uint32_t* outStride, buffer_handle_t* outBufferHandle) const in allocate()
100 uint32_t* outStride, buffer_handle_t* outBufferHandles) const in allocate()
111 uint32_t* outStride, buffer_handle_t* outBufferHandle) const in allocate()
/aosp12/hardware/qcom/display/msm8909w_3100/libgralloc/
H A 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,
/aosp12/hardware/qcom/display/msm8994/libgralloc/
H A 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,
/aosp12/hardware/qcom/display/msm8996/libgralloc/
H A 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,

12345678910>>...15