Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 494) sorted by relevance

12345678910>>...20

/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/renderer/vulkan/
Dvk_format_map.json204 "buffer": "R32G32B32_FLOAT" string
210 "buffer": "NONE", string
217 "buffer": "NONE", string
221 "buffer": "NONE", string
225 "buffer": "R32_FLOAT" string
228 "buffer": "R32G32_FLOAT" string
231 "buffer": "R32G32B32_FLOAT" string
234 "buffer": "R32G32B32A32_FLOAT" string
237 "buffer": "R32_FLOAT" string
240 "buffer": "R32G32_FLOAT" string
[all …]
/device/generic/vulkan-cereal/fake-android-guest/utils/
DFlattenable.h41 static size_t align(void const*& buffer) { in align()
49 static size_t align(void*& buffer) { in align()
53 static void advance(void*& buffer, size_t& size, size_t offset) { in advance()
58 static void advance(void const*& buffer, size_t& size, size_t offset) { in advance()
65 static void write(void*& buffer, size_t& size, const T& value) { in write()
74 static void read(void const*& buffer, size_t& size, T& value) { in read()
125 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
130 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
166 inline status_t LightFlattenable<T>::flatten(void* buffer, size_t size) const { in flatten()
170 inline status_t LightFlattenable<T>::unflatten(void const* buffer, size_t size) { in unflatten()
[all …]
/device/google/contexthub/util/nanotool/
Dnanomessage.cpp32 bool HardwareVersionInfo::Populate(const std::vector<uint8_t>& buffer) { in Populate()
51 char buffer[1024]; in ToString() local
66 char buffer[128]; in ToString() local
72 bool WriteEventResponse::Populate(const std::vector<uint8_t>& buffer) { in Populate()
87 std::vector<uint8_t> buffer(sizeof(Request)); in GetBytes() local
98 char buffer[128]; in ToString() local
107 char buffer[32]; in ToString() local
113 const std::vector<uint8_t>& buffer) { in FromBytes()
131 bool ReadEventResponse::Populate(const std::vector<uint8_t>& buffer) { in Populate()
178 uint32_t ReadEventResponse::EventTypeFromBuffer(const std::vector<uint8_t>& buffer) { in EventTypeFromBuffer()
[all …]
Dsensorevent.cpp34 const std::vector<uint8_t>& buffer) { in FromBytes()
154 char buffer[32]; in GetSampleTimeStr() local
176 char buffer[64]; in ToString() local
212 char buffer[64]; in StringForSample() local
229 char buffer[64]; in StringForSample() local
249 char buffer[128]; in StringForSample() local
293 char buffer[128]; in StringForSample() local
/device/generic/vulkan-cereal/third-party/perfetto/include/perfetto/ext/base/
Dcontainer_annotations.h26 #define ANNOTATE_NEW_BUFFER(buffer, capacity, new_size) \ argument
32 #define ANNOTATE_DELETE_BUFFER(buffer, capacity, old_size) \ argument
38 #define ANNOTATE_CHANGE_SIZE(buffer, capacity, old_size, new_size) \ argument
44 #define ANNOTATE_CHANGE_CAPACITY(buffer, old_capacity, buffer_size, \ argument
50 #define ANNOTATE_NEW_BUFFER(buffer, capacity, new_size) argument
51 #define ANNOTATE_DELETE_BUFFER(buffer, capacity, old_size) argument
52 #define ANNOTATE_CHANGE_SIZE(buffer, capacity, old_size, new_size) argument
53 #define ANNOTATE_CHANGE_CAPACITY(buffer, old_capacity, buffer_size, \ argument
/device/generic/goldfish-opengl/system/hwc2/
DGralloc.cpp56 Error Gralloc::GetMetadata(buffer_handle_t buffer, MetadataType type, in GetMetadata()
88 std::optional<uint32_t> Gralloc::GetWidth(buffer_handle_t buffer) { in GetWidth()
107 std::optional<uint32_t> Gralloc::GetHeight(buffer_handle_t buffer) { in GetHeight()
126 std::optional<uint32_t> Gralloc::GetDrmFormat(buffer_handle_t buffer) { in GetDrmFormat()
147 buffer_handle_t buffer) { in GetPlaneLayouts()
167 buffer_handle_t buffer) { in GetMonoPlanarStrideBytes()
186 std::optional<GrallocBuffer> Gralloc::Import(buffer_handle_t buffer) { in Import()
210 void Gralloc::Release(buffer_handle_t buffer) { in Release()
224 std::optional<void*> Gralloc::Lock(buffer_handle_t buffer) { in Lock()
278 std::optional<android_ycbcr> Gralloc::LockYCbCr(buffer_handle_t buffer) { in LockYCbCr()
[all …]
/device/generic/goldfish-opengl/system/hwc3/
DGralloc.cpp56 Error Gralloc::GetMetadata(buffer_handle_t buffer, MetadataType type, in GetMetadata()
88 std::optional<uint32_t> Gralloc::GetWidth(buffer_handle_t buffer) { in GetWidth()
107 std::optional<uint32_t> Gralloc::GetHeight(buffer_handle_t buffer) { in GetHeight()
126 std::optional<uint32_t> Gralloc::GetDrmFormat(buffer_handle_t buffer) { in GetDrmFormat()
147 buffer_handle_t buffer) { in GetPlaneLayouts()
167 buffer_handle_t buffer) { in GetMonoPlanarStrideBytes()
186 std::optional<GrallocBuffer> Gralloc::Import(buffer_handle_t buffer) { in Import()
210 void Gralloc::Release(buffer_handle_t buffer) { in Release()
224 std::optional<void*> Gralloc::Lock(buffer_handle_t buffer) { in Lock()
278 std::optional<android_ycbcr> Gralloc::LockYCbCr(buffer_handle_t buffer) { in LockYCbCr()
[all …]
/device/generic/vulkan-cereal/fake-android-guest/androidImpl/
DAHardwareBuffer.cpp85 void AHardwareBuffer_acquire(AHardwareBuffer* buffer) { in AHardwareBuffer_acquire()
89 void AHardwareBuffer_release(AHardwareBuffer* buffer) { in AHardwareBuffer_release()
93 void AHardwareBuffer_describe(const AHardwareBuffer* buffer, in AHardwareBuffer_describe()
106 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lock()
125 int AHardwareBuffer_unlock(AHardwareBuffer* buffer, int32_t* fence) { in AHardwareBuffer_unlock()
133 int AHardwareBuffer_sendHandleToUnixSocket(const AHardwareBuffer* buffer, int socketFd) { in AHardwareBuffer_sendHandleToUnixSocket()
243 const AHardwareBuffer* buffer) { in AHardwareBuffer_getNativeHandle()
416 const GraphicBuffer* AHardwareBuffer_to_GraphicBuffer(const AHardwareBuffer* buffer) { in AHardwareBuffer_to_GraphicBuffer()
419 GraphicBuffer* AHardwareBuffer_to_GraphicBuffer(AHardwareBuffer* buffer) { in AHardwareBuffer_to_GraphicBuffer()
422 const ANativeWindowBuffer* AHardwareBuffer_to_ANativeWindowBuffer(const AHardwareBuffer* buffer) { in AHardwareBuffer_to_ANativeWindowBuffer()
[all …]
DAndroidWindow.cpp81 int AndroidWindow::dequeueBuffer(ANativeWindowBuffer** buffer, int* fenceFd) { in dequeueBuffer()
91 int AndroidWindow::queueBuffer(ANativeWindowBuffer* buffer, int fenceFd) { in queueBuffer()
97 int AndroidWindow::cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd) { in cancelBuffer()
219 … hook_dequeueBuffer_DEPRECATED(struct ANativeWindow* window, struct ANativeWindowBuffer** buffer) { in hook_dequeueBuffer_DEPRECATED()
224 … int hook_lockBuffer_DEPRECATED(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer) { in hook_lockBuffer_DEPRECATED()
229 …int hook_queueBuffer_DEPRECATED(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer) { in hook_queueBuffer_DEPRECATED()
248 …nt hook_cancelBuffer_DEPRECATED(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer) { in hook_cancelBuffer_DEPRECATED()
253 static int hook_dequeueBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer** buffer, in… in hook_dequeueBuffer()
258 static int hook_queueBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer, int f… in hook_queueBuffer()
263 static int hook_cancelBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer, int … in hook_cancelBuffer()
/device/generic/vulkan-cereal/base/
DStreamSerializing.h39 void saveBuffer(Stream* stream, const std::vector<T>& buffer) { in saveBuffer()
45 bool loadBuffer(Stream* stream, std::vector<T>* buffer) { in loadBuffer()
53 void saveBuffer(Stream* stream, const SmallVector<T>& buffer) { in saveBuffer()
59 bool loadBuffer(Stream* stream, SmallVector<T>* buffer) { in loadBuffer()
68 void saveBuffer(Stream* stream, const std::vector<T>& buffer, SaveFunc&& saver) { in saveBuffer()
76 void saveBuffer(Stream* stream, const T* buffer, size_t numElts) { in saveBuffer()
88 void loadBuffer(Stream* stream, std::vector<T>* buffer, LoadFunc&& loader) { in loadBuffer()
DBufferQueue.h94 BufferQueueResult tryPushLocked(T&& buffer) { in tryPushLocked()
119 BufferQueueResult pushLocked(T&& buffer) { in pushLocked()
133 BufferQueueResult tryPopLocked(T* buffer) { in tryPopLocked()
154 BufferQueueResult popLocked(T* buffer) { in popLocked()
170 BufferQueueResult popLockedBefore(T* buffer, uint64_t waitUntilUs) { in popLockedBefore()
/device/generic/goldfish-opengl/android-emu/android/base/files/
DStreamSerializing.h39 void saveBuffer(Stream* stream, const std::vector<T>& buffer) { in saveBuffer()
45 bool loadBuffer(Stream* stream, std::vector<T>* buffer) { in loadBuffer()
53 void saveBuffer(Stream* stream, const SmallVector<T>& buffer) { in saveBuffer()
59 bool loadBuffer(Stream* stream, SmallVector<T>* buffer) { in loadBuffer()
68 void saveBuffer(Stream* stream, const std::vector<T>& buffer, SaveFunc&& saver) { in saveBuffer()
76 void saveBuffer(Stream* stream, const T* buffer, size_t numElts) { in saveBuffer()
88 void loadBuffer(Stream* stream, std::vector<T>* buffer, LoadFunc&& loader) { in loadBuffer()
/device/google/contexthub/util/stm32_flash/
Dstm32_bl.c45 uint8_t buffer[sizeof(uint8_t)+1]; in write_len() local
54 uint8_t buffer[sizeof(uint16_t)+1]; in write_cnt() local
64 uint8_t buffer[sizeof(uint32_t)+1]; in write_addr() local
77 uint8_t buffer[sizeof(uint8_t)+256+sizeof(uint8_t)]; in write_len_data() local
103 uint8_t buffer[sizeof(uint16_t)+sizeof(uint16_t)+1]; in erase_sector() local
134 uint8_t read_memory(handle_t *handle, uint32_t addr, uint32_t length, uint8_t *buffer) in read_memory()
169 uint8_t write_memory(handle_t *handle, uint32_t addr, uint32_t length, uint8_t *buffer) in write_memory()
Dspi.c24 uint8_t spi_write_data(handle_t *handle, uint8_t *buffer, int length) in spi_write_data()
46 uint8_t buffer[] = in spi_write_cmd() local
69 uint8_t buffer[] = in spi_read_data() local
99 uint8_t buffer[] = in spi_read_ack() local
132 uint8_t buffer[] = in spi_sync() local
Di2c.c26 uint8_t i2c_write_data(handle_t *handle, uint8_t *buffer, int length) in i2c_write_data()
40 uint8_t buffer[sizeof(uint8_t)+1] = in i2c_write_cmd() local
60 uint8_t buffer; in i2c_read_ack() local
Duart.c29 uint8_t uart_write_data(handle_t *handle, uint8_t *buffer, int length) in uart_write_data()
44 uint8_t buffer[2 * sizeof(uint8_t)] = { cmd, ~cmd }; in uart_write_cmd() local
74 uint8_t buffer; in uart_read_ack() local
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_public_interface.cpp105 static int32_t mali_gralloc_get_backing_store(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_backing_store()
114 static int32_t mali_gralloc_get_consumer_usage(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_consumer_usage()
123 static int32_t mali_gralloc_get_dimensions(gralloc1_device_t *device, buffer_handle_t buffer, uint3… in mali_gralloc_get_dimensions()
132 static int32_t mali_gralloc_get_format(gralloc1_device_t *device, buffer_handle_t buffer, int32_t *… in mali_gralloc_get_format()
140 static int32_t mali_gralloc_get_producer_usage(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_producer_usage()
149 static int32_t mali_gralloc_get_stride(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t … in mali_gralloc_get_stride()
244 static int32_t mali_gralloc_retain(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_retain()
262 static int32_t mali_gralloc_release(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_release()
275 static int32_t mali_gralloc1_get_num_flex_planes(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc1_get_num_flex_planes()
294 static int32_t mali_gralloc1_lock_async(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc1_lock_async()
[all …]
Dmali_gralloc_bufferdescriptor.cpp150 int mali_gralloc_get_backing_store_internal(buffer_handle_t buffer, gralloc1_backing_store_t *outSt… in mali_gralloc_get_backing_store_internal()
164 int mali_gralloc_get_consumer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage) in mali_gralloc_get_consumer_usage_internal()
177 int mali_gralloc_get_dimensions_internal(buffer_handle_t buffer, uint32_t *outWidth, uint32_t *outH… in mali_gralloc_get_dimensions_internal()
191 int mali_gralloc_get_format_internal(buffer_handle_t buffer, int32_t *outFormat) in mali_gralloc_get_format_internal()
204 int mali_gralloc_get_producer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage) in mali_gralloc_get_producer_usage_internal()
237 int mali_gralloc_get_layer_count_internal(buffer_handle_t buffer, uint32_t *outLayerCount) in mali_gralloc_get_layer_count_internal()
256 int mali_gralloc_query_getstride(buffer_handle_t buffer, int *pixelStride) in mali_gralloc_query_getstride()
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()
/device/linaro/hikey/gralloc960/
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()
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()
292 static int32_t mali_gralloc1_lock_async(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc1_lock_async()
[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_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()
/device/google/cuttlefish/guest/hals/camera/
Dstream_buffer_cache.cpp23 [buffer_id](const std::shared_ptr<CachedStreamBuffer>& buffer) { in get()
33 [&buffer_id](const std::shared_ptr<CachedStreamBuffer>& buffer) { in remove()
40 void StreamBufferCache::update(const StreamBuffer& buffer) { in update()
42 auto id_match = [id](const std::shared_ptr<CachedStreamBuffer>& buffer) { in update()
/device/generic/vulkan-cereal/stream-servers/
DRenderChannelImpl.cpp86 IoResult RenderChannelImpl::tryWrite(Buffer&& buffer) { in tryWrite()
96 IoResult RenderChannelImpl::tryRead(Buffer* buffer) { in tryRead()
106 IoResult RenderChannelImpl::readBefore(Buffer* buffer, Duration waitUntilUs) { in readBefore()
124 bool RenderChannelImpl::writeToGuest(Buffer&& buffer) { in writeToGuest()
134 IoResult RenderChannelImpl::readFromGuest(Buffer* buffer, bool blocking) { in readFromGuest()
/device/generic/vulkan-cereal/stream-servers/vulkan/
DVulkanStream.cpp139 ssize_t VulkanStream::read(void *buffer, size_t size) { in read()
152 ssize_t VulkanStream::bufferedWrite(const void *buffer, size_t size) { in bufferedWrite()
161 ssize_t VulkanStream::write(const void *buffer, size_t size) { in write()
224 ssize_t VulkanMemReadingStream::read(void* buffer, size_t size) { in read()
230 ssize_t VulkanMemReadingStream::write(const void* buffer, size_t size) { in write()

12345678910>>...20