Lines Matching refs:CCodec

108     void watch(sp<CCodec> codec) {  in watch()
111 Mutexed<std::set<wp<CCodec>>>::Locked codecs(mCodecsToWatch); in watch()
127 Mutexed<std::set<wp<CCodec>>>::Locked codecs(mCodecsToWatch); in onMessageReceived()
130 sp<CCodec> codec = it->promote(); in onMessageReceived()
158 Mutexed<std::set<wp<CCodec>>> mCodecsToWatch;
823 struct CCodec::ClientListener : public Codec2Client::Listener {
825 explicit ClientListener(const wp<CCodec> &codec) : mCodec(codec) {} in ClientListener()
831 sp<CCodec> codec(mCodec.promote()); in onWorkDone()
863 sp<CCodec> codec(mCodec.promote()); in onError()
884 sp<CCodec> codec(mCodec.promote()); in onDeath()
902 sp<CCodec> codec(mCodec.promote()); in onInputBufferDone()
909 wp<CCodec> mCodec;
916 explicit CCodecCallbackImpl(CCodec *codec) : mCodec(codec) {} in CCodecCallbackImpl()
936 CCodec *mCodec;
941 CCodec::CCodec() in CCodec() function in android::CCodec
946 CCodec::~CCodec() { in ~CCodec()
949 std::shared_ptr<BufferChannelBase> CCodec::getBufferChannel() { in getBufferChannel()
953 status_t CCodec::tryAndReportOnError(std::function<status_t()> job) { in tryAndReportOnError()
961 void CCodec::initiateAllocateComponent(const sp<AMessage> &msg) { in initiateAllocateComponent()
983 void CCodec::allocate(const sp<MediaCodecInfo> &codecInfo) { in allocate()
1047 void CCodec::initiateConfigureComponent(const sp<AMessage> &format) { in initiateConfigureComponent()
1061 void CCodec::configure(const sp<AMessage> &msg) { in configure()
1813 void CCodec::initiateCreateInputSurface() { in initiateCreateInputSurface()
1833 sp<PersistentSurface> CCodec::CreateOmxInputSurface() { in CreateOmxInputSurface()
1867 sp<PersistentSurface> CCodec::CreateCompatibleInputSurface() { in CreateCompatibleInputSurface()
1877 void CCodec::createInputSurface() { in createInputSurface()
1953 status_t CCodec::setupInputSurface(const std::shared_ptr<InputSurfaceWrapper> &surface) { in setupInputSurface()
2010 void CCodec::initiateSetInputSurface(const sp<PersistentSurface> &surface) { in initiateSetInputSurface()
2016 void CCodec::setInputSurface(const sp<PersistentSurface> &surface) { in setInputSurface()
2087 void CCodec::initiateStart() { in initiateStart()
2103 void CCodec::start() { in start()
2182 void CCodec::initiateShutdown(bool keepComponentAllocated) { in initiateShutdown()
2190 void CCodec::initiateStop() { in initiateStop()
2212 void CCodec::stop(bool pushBlankBuffer) { in stop()
2278 void CCodec::initiateRelease(bool sendCallback /* = true */) { in initiateRelease()
2323 sp<CCodec> thiz(this); in initiateRelease()
2328 void CCodec::release(bool sendCallback, bool pushBlankBuffer) { in release()
2377 status_t CCodec::setSurface(const sp<Surface> &surface, uint32_t generation) { in setSurface()
2409 void CCodec::signalFlush() { in signalFlush()
2436 void CCodec::flush() { in flush()
2472 void CCodec::signalResume() { in signalResume()
2533 void CCodec::signalSetParameters(const sp<AMessage> &msg) { in signalSetParameters()
2653 void CCodec::signalEndOfInputStream() { in signalEndOfInputStream()
2657 void CCodec::signalRequestIDRFrame() { in signalRequestIDRFrame()
2676 status_t CCodec::querySupportedParameters(std::vector<std::string> *names) { in querySupportedParameters()
2682 status_t CCodec::describeParameter( in describeParameter()
2689 status_t CCodec::subscribeToParameters(const std::vector<std::string> &names) { in subscribeToParameters()
2699 status_t CCodec::unsubscribeFromParameters(const std::vector<std::string> &names) { in unsubscribeFromParameters()
2709 void CCodec::onWorkDone(std::list<std::unique_ptr<C2Work>> &workItems) { in onWorkDone()
2720 void CCodec::onInputBufferDone(uint64_t frameIndex, size_t arrayIndex) { in onInputBufferDone()
2732 void CCodec::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
2933 void CCodec::setDeadline( in setDeadline()
2942 status_t CCodec::configureTunneledVideoPlayback( in configureTunneledVideoPlayback()
2991 void CCodec::initiateReleaseIfStuck() { in initiateReleaseIfStuck()
3030 PersistentSurface *CCodec::CreateInputSurface() { in CreateInputSurface()
3313 status_t CCodec::CanFetchLinearBlock( in CanFetchLinearBlock()
3361 std::shared_ptr<C2LinearBlock> CCodec::FetchLinearBlock( in FetchLinearBlock()
3394 status_t CCodec::CanFetchGraphicBlock( in CanFetchGraphicBlock()
3410 std::shared_ptr<C2GraphicBlock> CCodec::FetchGraphicBlock( in FetchGraphicBlock()