• Home
  • Raw
  • Download

Lines Matching refs:C2VDAComponent

97 C2R C2VDAComponent::IntfImpl::ProfileLevelSetter(bool mayBlock,  in ProfileLevelSetter()
106 C2R C2VDAComponent::IntfImpl::SizeSetter(bool mayBlock, in SizeSetter()
117 C2R C2VDAComponent::IntfImpl::DefaultColorAspectsSetter(bool mayBlock, C2P<T>& def) { in DefaultColorAspectsSetter()
135 C2R C2VDAComponent::IntfImpl::MergedColorAspectsSetter( in MergedColorAspectsSetter()
150 C2VDAComponent::IntfImpl::IntfImpl(C2String name, const std::shared_ptr<C2ReflectorHelper>& helper) in IntfImpl()
391 C2VDAComponent::VideoFormat::VideoFormat(HalPixelFormat pixelFormat, uint32_t minNumBuffers, in VideoFormat()
398 C2VDAComponent::C2VDAComponent(C2String name, c2_node_id_t id, in C2VDAComponent() function in android::C2VDAComponent
427 C2VDAComponent::~C2VDAComponent() { in ~C2VDAComponent()
430 ::base::Bind(&C2VDAComponent::onDestroy, ::base::Unretained(this))); in ~C2VDAComponent()
435 void C2VDAComponent::onDestroy() { in onDestroy()
445 void C2VDAComponent::onStart(media::VideoCodecProfile profile, ::base::WaitableEvent* done) { in onStart()
470 void C2VDAComponent::onQueueWork(std::unique_ptr<C2Work> work) { in onQueueWork()
484 ::base::Bind(&C2VDAComponent::onDequeueWork, ::base::Unretained(this))); in onQueueWork()
487 void C2VDAComponent::onDequeueWork() { in onDequeueWork()
562 mTaskRunner->PostTask(FROM_HERE, ::base::Bind(&C2VDAComponent::onDequeueWork, in onDequeueWork()
567 void C2VDAComponent::onInputBufferDone(int32_t bitstreamId) { in onInputBufferDone()
584 void C2VDAComponent::onOutputBufferReturned(std::shared_ptr<C2GraphicBlock> block, in onOutputBufferReturned()
625 void C2VDAComponent::onOutputBufferDone(int32_t pictureBufferId, int32_t bitstreamId) { in onOutputBufferDone()
643 void C2VDAComponent::sendOutputBufferToWorkIfAny(bool dropIfUnavailable) { in sendOutputBufferToWorkIfAny()
699 void C2VDAComponent::updateUndequeuedBlockIds(int32_t blockId) { in updateUndequeuedBlockIds()
705 void C2VDAComponent::onDrain(uint32_t drainMode) { in onDrain()
732 void C2VDAComponent::onDrainDone() { in onDrainDone()
761 ::base::Bind(&C2VDAComponent::onDequeueWork, ::base::Unretained(this))); in onDrainDone()
764 void C2VDAComponent::onFlush() { in onFlush()
782 void C2VDAComponent::onStop(::base::WaitableEvent* done) { in onStop()
803 void C2VDAComponent::onResetDone() { in onResetDone()
817 void C2VDAComponent::onFlushDone() { in onFlushDone()
825 ::base::Bind(&C2VDAComponent::onDequeueWork, ::base::Unretained(this))); in onFlushDone()
828 void C2VDAComponent::onStopDone() { in onStopDone()
850 c2_status_t C2VDAComponent::setListener_vb(const std::shared_ptr<C2Component::Listener>& listener, in setListener_vb()
862 void C2VDAComponent::sendInputBufferToAccelerator(const C2ConstLinearBlock& input, in sendInputBufferToAccelerator()
877 std::deque<std::unique_ptr<C2Work>>::iterator C2VDAComponent::findPendingWorkByBitstreamId( in findPendingWorkByBitstreamId()
886 C2Work* C2VDAComponent::getPendingWorkByBitstreamId(int32_t bitstreamId) { in getPendingWorkByBitstreamId()
895 C2VDAComponent::GraphicBlockInfo* C2VDAComponent::getGraphicBlockById(int32_t blockId) { in getGraphicBlockById()
903 C2VDAComponent::GraphicBlockInfo* C2VDAComponent::getGraphicBlockByPoolId(uint32_t poolId) { in getGraphicBlockByPoolId()
916 void C2VDAComponent::onOutputFormatChanged(std::unique_ptr<VideoFormat> format) { in onOutputFormatChanged()
935 void C2VDAComponent::tryChangeOutputFormat() { in tryChangeOutputFormat()
977 c2_status_t C2VDAComponent::allocateBuffersFromBlockAllocator(const media::Size& size, in allocateBuffersFromBlockAllocator()
1098 void C2VDAComponent::appendOutputBuffer(std::shared_ptr<C2GraphicBlock> block, uint32_t poolId) { in appendOutputBuffer()
1162 void C2VDAComponent::appendSecureOutputBuffer(std::shared_ptr<C2GraphicBlock> block, in appendSecureOutputBuffer()
1199 void C2VDAComponent::sendOutputBufferToAccelerator(GraphicBlockInfo* info, bool ownByAccelerator) { in sendOutputBufferToAccelerator()
1219 bool C2VDAComponent::parseCodedColorAspects(const C2ConstLinearBlock& input) { in parseCodedColorAspects()
1286 c2_status_t C2VDAComponent::updateColorAspects() { in updateColorAspects()
1301 void C2VDAComponent::onVisibleRectChanged(const media::Rect& cropRect) { in onVisibleRectChanged()
1312 void C2VDAComponent::setOutputFormatCrop(const media::Rect& cropRect) { in setOutputFormatCrop()
1319 void C2VDAComponent::onSurfaceChanged() { in onSurfaceChanged()
1400 c2_status_t C2VDAComponent::queue_nb(std::list<std::unique_ptr<C2Work>>* const items) { in queue_nb()
1406 ::base::Bind(&C2VDAComponent::onQueueWork, ::base::Unretained(this), in queue_nb()
1413 c2_status_t C2VDAComponent::announce_nb(const std::vector<C2WorkOutline>& items) { in announce_nb()
1418 c2_status_t C2VDAComponent::flush_sm(flush_mode_t mode, in flush_sm()
1426 mTaskRunner->PostTask(FROM_HERE, ::base::Bind(&C2VDAComponent::onFlush, in flush_sm()
1432 c2_status_t C2VDAComponent::drain_nb(drain_mode_t mode) { in drain_nb()
1440 ::base::Bind(&C2VDAComponent::onDrain, ::base::Unretained(this), in drain_nb()
1445 c2_status_t C2VDAComponent::start() { in start()
1459 ::base::Bind(&C2VDAComponent::onStart, ::base::Unretained(this), in start()
1471 c2_status_t C2VDAComponent::stop() { in stop()
1483 ::base::Bind(&C2VDAComponent::onStop, ::base::Unretained(this), &done)); in stop()
1489 c2_status_t C2VDAComponent::reset() { in reset()
1495 c2_status_t C2VDAComponent::release() { in release()
1499 std::shared_ptr<C2ComponentInterface> C2VDAComponent::intf() { in intf()
1503 void C2VDAComponent::providePictureBuffers(uint32_t minNumBuffers, const media::Size& codedSize) { in providePictureBuffers()
1512 mTaskRunner->PostTask(FROM_HERE, ::base::Bind(&C2VDAComponent::onOutputFormatChanged, in providePictureBuffers()
1517 void C2VDAComponent::dismissPictureBuffer(int32_t pictureBufferId) { in dismissPictureBuffer()
1522 void C2VDAComponent::pictureReady(int32_t pictureBufferId, int32_t bitstreamId, in pictureReady()
1529 mTaskRunner->PostTask(FROM_HERE, ::base::Bind(&C2VDAComponent::onVisibleRectChanged, in pictureReady()
1533 mTaskRunner->PostTask(FROM_HERE, ::base::Bind(&C2VDAComponent::onOutputBufferDone, in pictureReady()
1538 void C2VDAComponent::notifyEndOfBitstreamBuffer(int32_t bitstreamId) { in notifyEndOfBitstreamBuffer()
1539 mTaskRunner->PostTask(FROM_HERE, ::base::Bind(&C2VDAComponent::onInputBufferDone, in notifyEndOfBitstreamBuffer()
1543 void C2VDAComponent::notifyFlushDone() { in notifyFlushDone()
1545 ::base::Bind(&C2VDAComponent::onDrainDone, ::base::Unretained(this))); in notifyFlushDone()
1548 void C2VDAComponent::notifyResetDone() { in notifyResetDone()
1550 ::base::Bind(&C2VDAComponent::onResetDone, ::base::Unretained(this))); in notifyResetDone()
1553 void C2VDAComponent::notifyError(VideoDecodeAcceleratorAdaptor::Result error) { in notifyError()
1563 void C2VDAComponent::reportWorkIfFinished(int32_t bitstreamId) { in reportWorkIfFinished()
1592 bool C2VDAComponent::isWorkDone(const C2Work* work) const { in isWorkDone()
1616 void C2VDAComponent::reportEOSWork() { in reportEOSWork()
1642 void C2VDAComponent::reportAbandonedWorks() { in reportAbandonedWorks()
1678 void C2VDAComponent::reportError(c2_status_t error) { in reportError()
1682 bool C2VDAComponent::startDequeueThread(const media::Size& size, uint32_t pixelFormat, in startDequeueThread()
1695 FROM_HERE, ::base::Bind(&C2VDAComponent::dequeueThreadLoop, ::base::Unretained(this), in startDequeueThread()
1700 void C2VDAComponent::stopDequeueThread() { in stopDequeueThread()
1707 void C2VDAComponent::dequeueThreadLoop(const media::Size& size, uint32_t pixelFormat, in dequeueThreadLoop()
1732 mTaskRunner->PostTask(FROM_HERE, ::base::Bind(&C2VDAComponent::onSurfaceChanged, in dequeueThreadLoop()
1749 ::base::Bind(&C2VDAComponent::onOutputBufferReturned, in dequeueThreadLoop()
1770 *component = std::shared_ptr<C2Component>(new C2VDAComponent(mDecoderName, id, mReflector)); in createComponent()
1778 std::shared_ptr<C2ComponentInterface>(new SimpleInterface<C2VDAComponent::IntfImpl>( in createInterface()
1780 std::make_shared<C2VDAComponent::IntfImpl>(mDecoderName, mReflector))); in createInterface()