/frameworks/base/native/webview/plat_support/ |
D | graphic_buffer_impl.cpp | 48 void GraphicBufferImpl::Release(long buffer_id) { in Release() argument 49 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); in Release() 54 int GraphicBufferImpl::MapStatic(long buffer_id, AwMapMode mode, void** vaddr) { in MapStatic() argument 55 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); in MapStatic() 60 int GraphicBufferImpl::UnmapStatic(long buffer_id) { in UnmapStatic() argument 61 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); in UnmapStatic() 66 void* GraphicBufferImpl::GetNativeBufferStatic(long buffer_id) { in GetNativeBufferStatic() argument 67 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); in GetNativeBufferStatic() 72 uint32_t GraphicBufferImpl::GetStrideStatic(long buffer_id) { in GetStrideStatic() argument 73 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); in GetStrideStatic()
|
D | graphic_buffer_impl.h | 34 static void Release(long buffer_id); 35 static int MapStatic(long buffer_id, AwMapMode mode, void** vaddr); 36 static int UnmapStatic(long buffer_id); 37 static void* GetNativeBufferStatic(long buffer_id); 38 static uint32_t GetStrideStatic(long buffer_id);
|
D | draw_gl.h | 104 typedef void AwReleaseGraphicBufferFunction(long buffer_id); 106 typedef int AwMapFunction(long buffer_id, AwMapMode mode, void** vaddr); 108 typedef int AwUnmapFunction(long buffer_id); 110 typedef void* AwGetNativeBufferFunction(long buffer_id); 112 typedef unsigned int AwGetStrideFunction(long buffer_id);
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | OMXNodeInstance.h | 77 OMX_U32 portIndex, size_t size, IOMX::buffer_id *buffer, 81 OMX_U32 portIndex, const OMXBuffer &omxBuf, buffer_id *buffer); 84 OMX_U32 portIndex, buffer_id buffer); 87 buffer_id buffer, const OMXBuffer &omxBuf, int fenceFd = -1); 90 buffer_id buffer, const OMXBuffer &omxBuf, 145 IOMX::buffer_id mID; 151 KeyedVector<IOMX::buffer_id, OMX_BUFFERHEADERTYPE *> mBufferIDToBufferHeader; 152 KeyedVector<OMX_BUFFERHEADERTYPE *, IOMX::buffer_id> mBufferHeaderToBufferID; 188 void addActiveBuffer(OMX_U32 portIndex, IOMX::buffer_id id); 189 void removeActiveBuffer(OMX_U32 portIndex, IOMX::buffer_id id); [all …]
|
/frameworks/av/media/libmedia/include/media/ |
D | IOMX.h | 61 typedef uint32_t buffer_id; typedef 100 typedef IOMX::buffer_id buffer_id; typedef 142 OMX_U32 port_index, size_t size, buffer_id *buffer, 152 OMX_U32 port_index, const OMXBuffer &omxBuf, buffer_id *buffer) = 0; 156 OMX_U32 port_index, buffer_id buffer) = 0; 165 buffer_id buffer, const OMXBuffer &omxBuf, int fenceFd = -1) = 0; 173 buffer_id buffer, const OMXBuffer &omxBuf, 205 IOMX::buffer_id buffer; 210 IOMX::buffer_id buffer;
|
/frameworks/native/libs/bufferstreams/rust/src/buffers/ |
D | buffer_pool.rs | 35 pub(super) fn return_buffer(&mut self, buffer_id: u64) { in return_buffer() 36 assert!(self.hardware_buffers.contains_key(&buffer_id)); in return_buffer() 37 assert!(!self.available_buffers.contains(&buffer_id)); in return_buffer() 39 self.available_buffers.push(buffer_id); in return_buffer() 89 if let Some(buffer_id) = inner.available_buffers.pop() { in next_buffer() 92 inner.hardware_buffers[&buffer_id].clone(), in next_buffer()
|
D | buffer.rs | 75 let buffer_id = hardware_buffer.id(); in test_get_buffer_id() localVariable 78 assert_eq!(buffer_id, buffer.id()); in test_get_buffer_id()
|
/frameworks/native/services/vr/bufferhubd/ |
D | consumer_channel.cpp | 19 ConsumerChannel::ConsumerChannel(BufferHubService* service, int buffer_id, in ConsumerChannel() argument 22 : BufferHubChannel(service, buffer_id, channel_id, kConsumerType), in ConsumerChannel() 31 channel_id(), buffer_id()); in ~ConsumerChannel() 46 info.id = buffer_id(); in GetBufferInfo() 101 ALOGD_IF(TRACE, "ConsumerChannel::OnGetBuffer: buffer=%d", buffer_id()); in OnGetBuffer() 119 acquired_, released_, message.GetChannelId(), producer->buffer_id()); in OnConsumerAcquire() 142 acquired_, released_, message.GetChannelId(), producer->buffer_id()); in OnConsumerRelease()
|
D | producer_channel.cpp | 28 ProducerChannel::ProducerChannel(BufferHubService* service, int buffer_id, in ProducerChannel() argument 32 : BufferHubChannel(service, buffer_id, channel_id, kProducerType), in ProducerChannel() 135 BufferHubService* service, int buffer_id, int channel_id, IonBuffer buffer, in Create() argument 139 service, buffer_id, channel_id, std::move(buffer), in Create() 166 channel_id(), buffer_id(), in ~ProducerChannel() 181 return BufferInfo(buffer_id(), consumer_channels_.size(), buffer_.width(), in GetBufferInfo() 232 buffer_id(), in GetBuffer() 243 buffer_id(), buffer_state_->load(std::memory_order_acquire)); in OnGetBuffer() 311 ALOGD("%s: buffer_id=%d", __FUNCTION__, buffer_id()); in CreateConsumer() 323 service(), buffer_id(), channel_id, consumer_state_mask, in CreateConsumer() [all …]
|
D | consumer_queue_channel.cpp | 15 BufferHubService* service, int buffer_id, int channel_id, in ConsumerQueueChannel() argument 17 : BufferHubChannel(service, buffer_id, channel_id, kConsumerQueueType), in ConsumerQueueChannel() 77 info.id = buffer_id(); in GetBufferInfo() 86 __FUNCTION__, buffer_id(), producer_channel->buffer_id(), in RegisterNewBuffer() 160 buffer_id()); in OnProducerClosed()
|
D | producer_queue_channel.cpp | 30 buffer_id()); in ~ProducerQueueChannel() 121 service(), buffer_id(), channel_id, shared_from_this(), silent); in OnCreateConsumerQueue() 143 return {{config_, buffer_id()}}; in OnGetQueueInfo() 214 int buffer_id; in AllocateBuffer() local 215 auto status = message.PushChannel(0, nullptr, &buffer_id); in AllocateBuffer() 226 buffer_id, width, height, layer_count, format, usage); in AllocateBuffer() 230 ProducerChannel::Create(service(), buffer_id, width, height, layer_count, in AllocateBuffer() 244 buffer_id, buffer_handle.value()); in AllocateBuffer() 247 service()->SetChannel(buffer_id, producer_channel); in AllocateBuffer() 278 buffer_id); in AllocateBuffer()
|
D | buffer_hub.cpp | 43 return a->buffer_id() < b->buffer_id(); in DumpState() 259 const int buffer_id = message.GetChannelId(); in OnCreateBuffer() local 263 buffer_id, width, height, format, usage, meta_size_bytes); in OnCreateBuffer() 268 buffer_id); in OnCreateBuffer() 272 auto status = ProducerChannel::Create(this, buffer_id, width, height, in OnCreateBuffer() 315 channel_id(), buffer_id()); in SignalAvailable() 328 channel_id(), buffer_id()); in ClearAvailable() 340 channel_id(), buffer_id()); in Hangup()
|
/frameworks/av/media/codec2/sfplugin/ |
D | C2OMXNode.h | 62 OMX_U32 port_index, size_t size, buffer_id *buffer, 65 OMX_U32 port_index, const OMXBuffer &omxBuf, buffer_id *buffer) override; 67 OMX_U32 port_index, buffer_id buffer) override; 69 buffer_id buffer, const OMXBuffer &omxBuf, int fenceFd) override; 71 buffer_id buffer, const OMXBuffer &omxBuf,
|
D | C2OMXNode.cpp | 196 OMX_U32 portIndex, size_t size, buffer_id *buffer, in allocateSecureBuffer() 207 OMX_U32 portIndex, const OMXBuffer &omxBuf, buffer_id *buffer) { in useBuffer() 214 status_t C2OMXNode::freeBuffer(OMX_U32 portIndex, buffer_id buffer) { in freeBuffer() 221 buffer_id buffer, const OMXBuffer &omxBuf, int fenceFd) { in fillBuffer() 251 buffer_id buffer, const OMXBuffer &omxBuf, in emptyBuffer()
|
/frameworks/av/media/libstagefright/include/ |
D | ACodecBufferChannel.h | 45 IOMX::buffer_id mBufferId; 51 IOMX::buffer_id bufferId, 61 const IOMX::buffer_id mBufferId; 129 void fillThisBuffer(IOMX::buffer_id bufferID); 136 void drainThisBuffer(IOMX::buffer_id bufferID, OMX_U32 omxFlags);
|
/frameworks/av/media/libmedia/ |
D | IOMX.cpp | 178 OMX_U32 port_index, const OMXBuffer &omxBuf, buffer_id *buffer) { in useBuffer() 197 *buffer = (buffer_id)reply.readInt32(); in useBuffer() 256 buffer_id *buffer, void **buffer_data, sp<NativeHandle> *native_handle) { in allocateSecureBuffer() 271 *buffer = (buffer_id)reply.readInt32(); in allocateSecureBuffer() 283 OMX_U32 port_index, buffer_id buffer) { in freeBuffer() 294 buffer_id buffer, const OMXBuffer &omxBuf, int fenceFd) { in fillBuffer() 312 buffer_id buffer, const OMXBuffer &omxBuf, in emptyBuffer() 441 OMX_U32 port_index, size_t size, buffer_id *buffer, in allocateSecureBuffer() 448 OMX_U32 port_index, const OMXBuffer &omxBuf, buffer_id *buffer) { in useBuffer() 453 OMX_U32 port_index, buffer_id buffer) { in freeBuffer() [all …]
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | WOmxNode.h | 89 OMX_U32 port_index, size_t size, buffer_id *buffer, 93 buffer_id *buffer) override; 95 OMX_U32 port_index, buffer_id buffer) override; 97 buffer_id buffer, const OMXBuffer &omxBuf, 100 buffer_id buffer, const OMXBuffer &omxBuf,
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | WOmxNode.h | 88 OMX_U32 port_index, size_t size, buffer_id *buffer, 92 buffer_id *buffer) override; 94 OMX_U32 port_index, buffer_id buffer) override; 96 buffer_id buffer, const OMXBuffer &omxBuf, 99 buffer_id buffer, const OMXBuffer &omxBuf,
|
/frameworks/native/services/vr/bufferhubd/include/private/dvr/ |
D | buffer_hub.h | 31 BufferHubChannel(BufferHubService* service, int buffer_id, int channel_id, in BufferHubChannel() argument 34 buffer_id_(buffer_id), in BufferHubChannel() 103 int buffer_id() const { return buffer_id_; } in buffer_id() function
|
D | producer_channel.h | 33 int buffer_id, int channel_id, 99 ProducerChannel(BufferHubService* service, int buffer_id, int channel_id,
|
D | consumer_channel.h | 18 ConsumerChannel(BufferHubService* service, int buffer_id, int channel_id,
|
D | consumer_queue_channel.h | 19 ConsumerQueueChannel(BufferHubService* service, int buffer_id, int channel_id,
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | WOmxNode.cpp | 144 OMX_U32 portIndex, size_t size, buffer_id *buffer, in allocateSecureBuffer() 165 OMX_U32 portIndex, const OMXBuffer &omxBuffer, buffer_id *buffer) { in useBuffer() 182 OMX_U32 portIndex, buffer_id buffer) { in freeBuffer() 187 buffer_id buffer, const OMXBuffer &omxBuffer, int fenceFd) { in fillBuffer() 204 buffer_id buffer, const OMXBuffer &omxBuffer, in emptyBuffer() 348 IOMX::buffer_id buffer; in allocateSecureBuffer() 365 IOMX::buffer_id buffer; in useBuffer()
|
/frameworks/av/media/libmedia/omx/1.0/ |
D | WOmxNode.cpp | 141 OMX_U32 portIndex, size_t size, buffer_id *buffer, in allocateSecureBuffer() 162 OMX_U32 portIndex, const OMXBuffer &omxBuffer, buffer_id *buffer) { in useBuffer() 179 OMX_U32 portIndex, buffer_id buffer) { in freeBuffer() 184 buffer_id buffer, const OMXBuffer &omxBuffer, int fenceFd) { in fillBuffer() 201 buffer_id buffer, const OMXBuffer &omxBuffer, in emptyBuffer() 345 IOMX::buffer_id buffer; in allocateSecureBuffer() 362 IOMX::buffer_id buffer; in useBuffer()
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXNodeInstance.cpp | 84 #define NEW_BUFFER_FMT(buffer_id, port, fmt, ...) \ argument 85 BUFFER_FMT(port, fmt ") (#%zu => %#x", ##__VA_ARGS__, mActiveBuffers.size(), (buffer_id)) 88 #define SIMPLE_NEW_BUFFER(buffer_id, port, size, data) \ argument 89 NEW_BUFFER_FMT(buffer_id, port, "%zu@%p", (size), (data)) 1217 OMX_U32 portIndex, const OMXBuffer &omxBuffer, IOMX::buffer_id *buffer) { in useBuffer() 1289 const sp<IHidlMemory> &hParams, IOMX::buffer_id *buffer) { in useBuffer_l() 1421 IOMX::buffer_id *buffer) { in useGraphicBuffer2_l() 1477 IOMX::buffer_id *buffer) { in useGraphicBuffer_l() 1554 IOMX::buffer_id *buffer) { in useGraphicBufferWithMetadata_l() 1577 IOMX::buffer_id buffer, OMX_BUFFERHEADERTYPE *header) { in updateGraphicBufferInMeta_l() [all …]
|