Searched defs:bufferId (Results 1 - 13 of 13) sorted by relevance

/hardware/google/av/codec2/vndk/bufferpool/
H A DConnection.cpp27 Return<void> Connection::fetch(uint64_t transactionId, uint32_t bufferId, fetch_cb _hidl_cb) { argument
32 mConnectionId, transactionId, bufferId, &handle);
34 _hidl_cb(status, Buffer{bufferId, handle});
60 const std::vector<uint8_t> &params, BufferId *bufferId,
63 return mAccessor->allocate(mConnectionId, params, bufferId, handle);
59 allocate( const std::vector<uint8_t> &params, BufferId *bufferId, const native_handle_t **handle) argument
H A DBufferStatus.cpp118 message.bufferId = id;
134 TransactionId transactionId, BufferId bufferId,
145 release.bufferId = id;
158 message.bufferId = bufferId;
133 postBufferStatusMessage( TransactionId transactionId, BufferId bufferId, BufferStatus status, ConnectionId connectionId, ConnectionId targetId, std::list<BufferId> &pending, std::list<BufferId> &posted) argument
H A DAccessor.cpp147 BufferId *bufferId, const native_handle_t** handle) {
149 return mImpl->allocate(connectionId, params, bufferId, handle);
156 BufferId bufferId, const native_handle_t** handle) {
158 return mImpl->fetch(connectionId, transactionId, bufferId, handle);
144 allocate( ConnectionId connectionId, const std::vector<uint8_t> &params, BufferId *bufferId, const native_handle_t** handle) argument
154 fetch( ConnectionId connectionId, TransactionId transactionId, BufferId bufferId, const native_handle_t** handle) argument
H A DClientManager.cpp116 BufferId bufferId,
332 BufferId bufferId, int64_t timestampUs,
343 return client->receive(transactionId, bufferId, timestampUs, handle, buffer);
475 BufferId bufferId, int64_t timestampUs,
478 return mImpl->receive(connectionId, transactionId, bufferId,
330 receive( ConnectionId connectionId, TransactionId transactionId, BufferId bufferId, int64_t timestampUs, native_handle_t **handle, std::shared_ptr<BufferPoolData> *buffer) argument
473 receive( ConnectionId connectionId, TransactionId transactionId, BufferId bufferId, int64_t timestampUs, native_handle_t **handle, std::shared_ptr<BufferPoolData> *buffer) argument
H A DAccessorImpl.cpp75 mBufferId = message.bufferId;
176 BufferId *bufferId, const native_handle_t** handle) {
180 if (!mBufferPool.getFreeBuffer(mAllocator, params, bufferId, handle)) {
187 status = mBufferPool.addNewBuffer(alloc, allocSize, params, bufferId, handle);
190 status == ResultStatus::OK, *bufferId, *handle);
194 mBufferPool.handleOwnBuffer(connectionId, *bufferId);
202 BufferId bufferId, const native_handle_t** handle) {
211 found->second->mBufferId == bufferId) {
213 auto bufferIt = mBufferPool.mBuffers.find(bufferId);
259 ConnectionId connectionId, BufferId bufferId) {
174 allocate( ConnectionId connectionId, const std::vector<uint8_t>& params, BufferId *bufferId, const native_handle_t** handle) argument
200 fetch( ConnectionId connectionId, TransactionId transactionId, BufferId bufferId, const native_handle_t** handle) argument
258 handleOwnBuffer( ConnectionId connectionId, BufferId bufferId) argument
270 handleReleaseBuffer( ConnectionId connectionId, BufferId bufferId) argument
440 BufferId bufferId = iter->second->mBufferId; local
462 BufferId bufferId = *bufferIt; local
486 BufferId bufferId = mSeq++; local
[all...]
H A DBufferPoolClient.cpp66 TransactionId transactionId, BufferId bufferId,
70 void postBufferRelease(BufferId bufferId);
73 BufferId bufferId, ConnectionId receiver,
78 BufferId bufferId, TransactionId transactionId,
82 BufferId bufferId, TransactionId transactionId, bool result);
89 const std::vector<uint8_t>& params, BufferId *bufferId,
93 TransactionId transactionId, BufferId bufferId,
300 BufferId bufferId; local
303 ResultStatus status = allocateBufferHandle(params, &bufferId, &handle);
309 auto cacheIt = mCache.mBuffers.find(bufferId);
338 receive( TransactionId transactionId, BufferId bufferId, int64_t timestampUs, native_handle_t **pHandle, std::shared_ptr<BufferPoolData> *buffer) argument
431 postBufferRelease(BufferId bufferId) argument
439 postSend( BufferId bufferId, ConnectionId receiver, TransactionId *transactionId, int64_t *timestampUs) argument
458 postReceive( BufferId bufferId, TransactionId transactionId, int64_t timestampUs) argument
484 postReceiveResult( BufferId bufferId, TransactionId transactionId, bool result) argument
545 allocateBufferHandle( const std::vector<uint8_t>& params, BufferId *bufferId, native_handle_t** handle) argument
563 fetchBufferHandle( TransactionId transactionId, BufferId bufferId, native_handle_t **handle) argument
640 receive( TransactionId transactionId, BufferId bufferId, int64_t timestampUs, native_handle_t **handle, std::shared_ptr<BufferPoolData> *buffer) argument
[all...]
/hardware/google/av/codec2/vndk/bufferpool/vts/
H A Dmulti.cpp67 BufferId bufferId; member in struct:__anon241::PipeMessage::__anon242
170 message.data.bufferId, message.data.timestampUs, &rhandle, &rbuffer);
211 message.data.bufferId = sbuffer->mId;
/hardware/interfaces/drm/1.0/default/
H A DCryptoPlugin.cpp53 uint32_t bufferId) {
58 mSharedBufferMap[bufferId] = hidlMemory;
70 if (mSharedBufferMap.find(source.bufferId) == mSharedBufferMap.end()) {
77 if (mSharedBufferMap.find(dest.bufferId) == mSharedBufferMap.end()) {
113 sp<IMemory> sourceBase = mSharedBufferMap[source.bufferId];
131 sp<IMemory> destBase = mSharedBufferMap[destBuffer.bufferId];
52 setSharedBufferBase(const hidl_memory& base, uint32_t bufferId) argument
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
H A DExternalCameraDeviceSession.h155 uint64_t bufferId; member in struct:android::hardware::camera::device::V3_4::implementation::ExternalCameraDeviceSession::HalStreamBuffer
342 // key: bufferId sent via HIDL interface
/hardware/interfaces/camera/device/1.0/default/
H A DCameraDevice.cpp162 [&](auto status, uint64_t bufferId, const auto& buf, uint32_t strd) {
166 if (object->mCirculatingBuffers.count(bufferId) == 0) {
174 object->mCirculatingBuffers[bufferId] = importedBuf;
175 object->mBufferIdMap[&(object->mCirculatingBuffers[bufferId])] = bufferId;
178 *buffer = &(object->mCirculatingBuffers[bufferId]);
195 uint64_t bufferId = object->mBufferIdMap.at(buffer); local
196 return getStatusT(object->mPreviewCallback->enqueueBuffer(bufferId));
205 uint64_t bufferId = object->mBufferIdMap.at(buffer); local
206 return getStatusT(object->mPreviewCallback->cancelBuffer(bufferId));
[all...]
/hardware/interfaces/camera/provider/2.4/vts/functional/
H A DVtsHalCameraProviderV2_4TargetTest.cpp302 std::function<void(Status status, uint64_t bufferId,
306 Return<Status> enqueueBuffer(uint64_t bufferId) override;
308 Return<Status> cancelBuffer(uint64_t bufferId) override;
402 uint64_t bufferId = 0; local
408 bufferId = pair.second;
412 _hidl_cb(mapToStatus(rc), bufferId, buf, stride); local
416 Return<Status> PreviewWindowCb::enqueueBuffer(uint64_t bufferId) { argument
417 if (mReversedBufMap.count(bufferId) == 0) {
418 ALOGE("%s: bufferId %" PRIu64 " not found", __FUNCTION__, bufferId);
425 cancelBuffer(uint64_t bufferId) argument
3267 uint64_t bufferId = 1; local
3420 uint64_t bufferId = 1; local
3644 uint64_t bufferId = 1; local
3790 uint64_t bufferId = 1; local
3921 uint64_t bufferId = 1; local
[all...]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device_v4l2.cpp7146 int venc_dev::BatchInfo::registerBuffer(int bufferId) { argument
7155 mBufMap[availId] = bufferId;
7173 int bufferId = mBufMap[v4l2Id]; local
7177 return bufferId;
7180 bool venc_dev::BatchInfo::isPending(int bufferId) { argument
7183 for(; existsId < kMaxBufs && mBufMap[existsId] != bufferId; ++existsId);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device_v4l2.cpp7961 int venc_dev::BatchInfo::registerBuffer(int bufferId) { argument
7970 mBufMap[availId] = bufferId;
7988 int bufferId = mBufMap[v4l2Id]; local
7992 return bufferId;
7995 bool venc_dev::BatchInfo::isPending(int bufferId) { argument
7998 for(; existsId < kMaxBufs && mBufMap[existsId] != bufferId; ++existsId);

Completed in 748 milliseconds