Home
last modified time | relevance | path

Searched refs:bitstreamId (Results 1 – 7 of 7) sorted by relevance

/external/v4l2_codec2/include/
DC2VDAComponent.h130 virtual void pictureReady(int32_t pictureBufferId, int32_t bitstreamId,
132 virtual void notifyEndOfBitstreamBuffer(int32_t bitstreamId) override;
228 void onInputBufferDone(int32_t bitstreamId);
229 void onOutputBufferDone(int32_t pictureBufferId, int32_t bitstreamId);
243 void sendInputBufferToAccelerator(const C2ConstLinearBlock& input, int32_t bitstreamId);
254 std::deque<std::unique_ptr<C2Work>>::iterator findPendingWorkByBitstreamId(int32_t bitstreamId);
256 C2Work* getPendingWorkByBitstreamId(int32_t bitstreamId);
278 void reportWorkIfFinished(int32_t bitstreamId);
DVideoDecodeAcceleratorAdaptor.h54 virtual void pictureReady(int32_t pictureBufferId, int32_t bitstreamId,
59 virtual void notifyEndOfBitstreamBuffer(int32_t bitstreamId) = 0;
78 virtual void decode(int32_t bitstreamId, int handleFd, off_t offset, uint32_t bytesUsed) = 0;
DC2VDAAdaptorProxy.h41 void decode(int32_t bitstreamId, int handleFd, off_t offset, uint32_t size) override;
75 void decodeOnMojoThread(int32_t bitstreamId, int ashmemFd, off_t offset, uint32_t bytesUsed);
DC2VDAAdaptor.h27 void decode(int32_t bitstreamId, int handleFd, off_t offset, uint32_t bytesUsed) override;
/external/v4l2_codec2/
DC2VDAComponent.cpp512 int32_t bitstreamId = frameIndexToBitstreamId(work->input.ordinal.frameIndex); in onDequeueWork() local
540 sendInputBufferToAccelerator(linearBlock, bitstreamId); in onDequeueWork()
558 reportWorkIfFinished(bitstreamId); in onDequeueWork()
567 void C2VDAComponent::onInputBufferDone(int32_t bitstreamId) { in onInputBufferDone() argument
569 ALOGV("onInputBufferDone: bitstream id=%d", bitstreamId); in onInputBufferDone()
572 C2Work* work = getPendingWorkByBitstreamId(bitstreamId); in onInputBufferDone()
581 reportWorkIfFinished(bitstreamId); in onInputBufferDone()
625 void C2VDAComponent::onOutputBufferDone(int32_t pictureBufferId, int32_t bitstreamId) { in onOutputBufferDone() argument
627 ALOGV("onOutputBufferDone: picture id=%d, bitstream id=%d", pictureBufferId, bitstreamId); in onOutputBufferDone()
639 mPendingBuffersToWork.push_back({bitstreamId, pictureBufferId}); in onOutputBufferDone()
[all …]
DC2VDAAdaptorProxy.cpp215 void C2VDAAdaptorProxy::decode(int32_t bitstreamId, int handleFd, off_t offset, uint32_t size) { in decode() argument
219 bitstreamId, handleFd, offset, size)); in decode()
222 void C2VDAAdaptorProxy::decodeOnMojoThread(int32_t bitstreamId, int handleFd, off_t offset, in decodeOnMojoThread() argument
232 bufferPtr->bitstream_id = bitstreamId; in decodeOnMojoThread()
DC2VDAAdaptor.cpp57 void C2VDAAdaptor::decode(int32_t bitstreamId, int ashmemFd, off_t offset, uint32_t bytesUsed) { in decode() argument
59 mVDA->Decode(media::BitstreamBuffer(bitstreamId, base::SharedMemoryHandle(ashmemFd, true), in decode()