/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/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/libmedia/include/media/ |
D | IOMX.h | 53 typedef uint32_t buffer_id; typedef 92 typedef IOMX::buffer_id buffer_id; typedef 134 OMX_U32 port_index, size_t size, buffer_id *buffer, 144 OMX_U32 port_index, const OMXBuffer &omxBuf, buffer_id *buffer) = 0; 148 OMX_U32 port_index, buffer_id buffer) = 0; 157 buffer_id buffer, const OMXBuffer &omxBuf, int fenceFd = -1) = 0; 165 buffer_id buffer, const OMXBuffer &omxBuf, 197 IOMX::buffer_id buffer; 202 IOMX::buffer_id buffer;
|
/frameworks/native/services/vr/bufferhubd/ |
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_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_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 | 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 | 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 | 63 OMX_U32 port_index, size_t size, buffer_id *buffer, 66 OMX_U32 port_index, const OMXBuffer &omxBuf, buffer_id *buffer) override; 68 OMX_U32 port_index, buffer_id buffer) override; 70 buffer_id buffer, const OMXBuffer &omxBuf, int fenceFd) override; 72 buffer_id buffer, const OMXBuffer &omxBuf, 115 Mutexed<std::map<uint64_t, buffer_id>> mBufferIdsInUse;
|
D | C2OMXNode.cpp | 299 OMX_U32 portIndex, size_t size, buffer_id *buffer, in allocateSecureBuffer() 310 OMX_U32 portIndex, const OMXBuffer &omxBuf, buffer_id *buffer) { in useBuffer() 317 status_t C2OMXNode::freeBuffer(OMX_U32 portIndex, buffer_id buffer) { in freeBuffer() 324 buffer_id buffer, const OMXBuffer &omxBuf, int fenceFd) { in fillBuffer() 332 buffer_id buffer, const OMXBuffer &omxBuf, in emptyBuffer()
|
/frameworks/av/media/libstagefright/include/ |
D | ACodecBufferChannel.h | 44 IOMX::buffer_id mBufferId; 50 IOMX::buffer_id bufferId, 60 const IOMX::buffer_id mBufferId; 108 void fillThisBuffer(IOMX::buffer_id bufferID); 115 void drainThisBuffer(IOMX::buffer_id bufferID, OMX_U32 omxFlags);
|
/frameworks/av/media/libmedia/ |
D | IOMX.cpp | 179 OMX_U32 port_index, const OMXBuffer &omxBuf, buffer_id *buffer) { in useBuffer() 198 *buffer = (buffer_id)reply.readInt32(); in useBuffer() 257 buffer_id *buffer, void **buffer_data, sp<NativeHandle> *native_handle) { in allocateSecureBuffer() 272 *buffer = (buffer_id)reply.readInt32(); in allocateSecureBuffer() 284 OMX_U32 port_index, buffer_id buffer) { in freeBuffer() 295 buffer_id buffer, const OMXBuffer &omxBuf, int fenceFd) { in fillBuffer() 313 buffer_id buffer, const OMXBuffer &omxBuf, in emptyBuffer() 442 OMX_U32 port_index, size_t size, buffer_id *buffer, in allocateSecureBuffer() 449 OMX_U32 port_index, const OMXBuffer &omxBuf, buffer_id *buffer) { in useBuffer() 454 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,
|
/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/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/native/libs/vr/libdvr/tests/ |
D | dvr_buffer_queue-test.cpp | 412 int buffer_id = api_.WriteBufferGetId(wbs[i]); in TEST_F() local 413 ASSERT_GT(buffer_id, 0); in TEST_F() 418 auto whb_it = whbs.find(buffer_id); in TEST_F() 423 whbs.emplace(buffer_id, hb); in TEST_F() 447 int buffer_id = api_.ReadBufferGetId(rbs[i]); in TEST_F() local 448 ASSERT_GT(buffer_id, 0); in TEST_F() 453 auto rhb_it = rhbs.find(buffer_id); in TEST_F() 458 rhbs.emplace(buffer_id, hb); in TEST_F()
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXNodeInstance.cpp | 82 #define NEW_BUFFER_FMT(buffer_id, port, fmt, ...) \ argument 83 BUFFER_FMT(port, fmt ") (#%zu => %#x", ##__VA_ARGS__, mActiveBuffers.size(), (buffer_id)) 86 #define SIMPLE_NEW_BUFFER(buffer_id, port, size, data) \ argument 87 NEW_BUFFER_FMT(buffer_id, port, "%zu@%p", (size), (data)) 1086 OMX_U32 portIndex, const OMXBuffer &omxBuffer, IOMX::buffer_id *buffer) { in useBuffer() 1158 const sp<IHidlMemory> &hParams, IOMX::buffer_id *buffer) { in useBuffer_l() 1286 IOMX::buffer_id *buffer) { in useGraphicBuffer2_l() 1342 IOMX::buffer_id *buffer) { in useGraphicBuffer_l() 1419 IOMX::buffer_id *buffer) { in useGraphicBufferWithMetadata_l() 1442 IOMX::buffer_id buffer, OMX_BUFFERHEADERTYPE *header) { in updateGraphicBufferInMeta_l() [all …]
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.h | 140 int buffer_id = -1; in GetBufferId() local 142 &source_, [&buffer_id](const SourceSurface& surface_source) { in GetBufferId() 143 buffer_id = surface_source.GetBufferId(); in GetBufferId() 145 return buffer_id; in GetBufferId() 173 bool CheckAndUpdateCachedBuffer(std::size_t slot, int buffer_id);
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 63 IOMX::buffer_id bufferId) { in findBufferId() 71 IOMX::buffer_id bufferId, in BufferInfo() 380 void ACodecBufferChannel::fillThisBuffer(IOMX::buffer_id bufferId) { in fillThisBuffer() 400 IOMX::buffer_id bufferId, in drainThisBuffer()
|