Lines Matching refs:CCodec
86 void watch(sp<CCodec> codec) { in watch()
89 Mutexed<std::set<wp<CCodec>>>::Locked codecs(mCodecsToWatch); in watch()
105 Mutexed<std::set<wp<CCodec>>>::Locked codecs(mCodecsToWatch); in onMessageReceived()
108 sp<CCodec> codec = it->promote(); in onMessageReceived()
136 Mutexed<std::set<wp<CCodec>>> mCodecsToWatch;
478 struct CCodec::ClientListener : public Codec2Client::Listener {
480 explicit ClientListener(const wp<CCodec> &codec) : mCodec(codec) {} in ClientListener()
486 sp<CCodec> codec(mCodec.promote()); in onWorkDone()
522 sp<CCodec> codec(mCodec.promote()); in onDeath()
540 sp<CCodec> codec(mCodec.promote()); in onInputBufferDone()
547 wp<CCodec> mCodec;
554 explicit CCodecCallbackImpl(CCodec *codec) : mCodec(codec) {} in CCodecCallbackImpl()
571 CCodec *mCodec;
576 CCodec::CCodec() in CCodec() function in android::CCodec
581 CCodec::~CCodec() { in ~CCodec()
584 std::shared_ptr<BufferChannelBase> CCodec::getBufferChannel() { in getBufferChannel()
588 status_t CCodec::tryAndReportOnError(std::function<status_t()> job) { in tryAndReportOnError()
596 void CCodec::initiateAllocateComponent(const sp<AMessage> &msg) { in initiateAllocateComponent()
618 void CCodec::allocate(const sp<MediaCodecInfo> &codecInfo) { in allocate()
681 void CCodec::initiateConfigureComponent(const sp<AMessage> &format) { in initiateConfigureComponent()
695 void CCodec::configure(const sp<AMessage> &msg) { in configure()
1082 void CCodec::initiateCreateInputSurface() { in initiateCreateInputSurface()
1102 sp<PersistentSurface> CCodec::CreateOmxInputSurface() { in CreateOmxInputSurface()
1133 sp<PersistentSurface> CCodec::CreateCompatibleInputSurface() { in CreateCompatibleInputSurface()
1143 void CCodec::createInputSurface() { in createInputSurface()
1195 status_t CCodec::setupInputSurface(const std::shared_ptr<InputSurfaceWrapper> &surface) { in setupInputSurface()
1231 void CCodec::initiateSetInputSurface(const sp<PersistentSurface> &surface) { in initiateSetInputSurface()
1237 void CCodec::setInputSurface(const sp<PersistentSurface> &surface) { in setInputSurface()
1279 void CCodec::initiateStart() { in initiateStart()
1295 void CCodec::start() { in start()
1358 void CCodec::initiateShutdown(bool keepComponentAllocated) { in initiateShutdown()
1366 void CCodec::initiateStop() { in initiateStop()
1386 void CCodec::stop() { in stop()
1427 void CCodec::initiateRelease(bool sendCallback /* = true */) { in initiateRelease()
1470 sp<CCodec> thiz(this); in initiateRelease()
1474 void CCodec::release(bool sendCallback) { in release()
1501 status_t CCodec::setSurface(const sp<Surface> &surface) { in setSurface()
1505 void CCodec::signalFlush() { in signalFlush()
1532 void CCodec::flush() { in flush()
1568 void CCodec::signalResume() { in signalResume()
1610 void CCodec::signalSetParameters(const sp<AMessage> &msg) { in signalSetParameters()
1679 void CCodec::signalEndOfInputStream() { in signalEndOfInputStream()
1683 void CCodec::signalRequestIDRFrame() { in signalRequestIDRFrame()
1702 void CCodec::onWorkDone(std::list<std::unique_ptr<C2Work>> &workItems) { in onWorkDone()
1710 void CCodec::onInputBufferDone(uint64_t frameIndex, size_t arrayIndex) { in onInputBufferDone()
1722 void CCodec::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
1884 void CCodec::setDeadline( in setDeadline()
1893 void CCodec::initiateReleaseIfStuck() { in initiateReleaseIfStuck()
1931 PersistentSurface *CCodec::CreateInputSurface() { in CreateInputSurface()
2158 status_t CCodec::CanFetchLinearBlock( in CanFetchLinearBlock()
2204 std::shared_ptr<C2LinearBlock> CCodec::FetchLinearBlock( in FetchLinearBlock()
2235 status_t CCodec::CanFetchGraphicBlock( in CanFetchGraphicBlock()
2251 std::shared_ptr<C2GraphicBlock> CCodec::FetchGraphicBlock( in FetchGraphicBlock()