Lines Matching refs:comp
142 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect() argument
146 return toStatusT(comp->connectToInputSurface(mSurface, &mConnection)); in connect()
195 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect() argument
196 mNode = new C2OMXNode(comp); in connect()
500 std::shared_ptr<Codec2Client::Component> comp = component.lock(); in onDeath() local
501 if (!comp) { in onDeath()
504 ALOGE("Codec2 component \"%s\" died.", comp->getName().c_str()); in onDeath()
623 std::shared_ptr<Codec2Client::Component> comp = in allocate() local
628 if (!comp) { in allocate()
638 mChannel->setComponent(comp); in allocate()
639 auto setAllocated = [this, comp, client] { in allocate()
646 state->comp = comp; in allocate()
656 status_t err = config->initialize(mClient, comp); in allocate()
661 config->queryConfiguration(comp); in allocate()
681 std::shared_ptr<Codec2Client::Component> comp; in configure() local
682 auto checkAllocated = [this, &comp] { in configure()
688 comp = state->comp; in configure()
695 auto doConfig = [msg, comp, this]() -> status_t { in configure()
707 if ((!encoder) != (comp->getName().find("encoder") == std::string::npos)) { in configure()
873 comp, sdkParams, Config::IS_CONFIG, C2_DONT_BLOCK, &configUpdate); in configure()
893 err = config->setParameters(comp, configUpdate, C2_DONT_BLOCK); in configure()
906 c2_status_t c2err = comp->query( in configure()
1057 if (state->comp->getName().find("encoder") == std::string::npos) { in initiateCreateInputSurface()
1264 std::shared_ptr<Codec2Client::Component> comp; in start() local
1265 auto checkStarting = [this, &comp] { in start()
1270 comp = state->comp; in start()
1277 c2_status_t err = comp->start(); in start()
1352 std::shared_ptr<Codec2Client::Component> comp; in stop() local
1367 comp = state->comp; in stop()
1369 status_t err = comp->stop(); in stop()
1438 std::shared_ptr<Codec2Client::Component> comp; in release() local
1449 comp = state->comp; in release()
1451 comp->release(); in release()
1456 state->comp.reset(); in release()
1495 std::shared_ptr<Codec2Client::Component> comp; in flush() local
1496 auto checkFlushing = [this, &comp] { in flush()
1501 comp = state->comp; in flush()
1509 c2_status_t err = comp->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in flush()
1529 std::shared_ptr<Codec2Client::Component> comp; in signalResume() local
1530 auto setResuming = [this, &comp] { in signalResume()
1536 comp = state->comp; in signalResume()
1546 config->queryConfiguration(comp); in signalResume()
1566 std::shared_ptr<Codec2Client::Component> comp; in signalSetParameters() local
1567 auto checkState = [this, &comp] { in signalSetParameters()
1572 comp = state->comp; in signalSetParameters()
1619 comp, params, Config::IS_PARAM, C2_MAY_BLOCK, &configUpdate); in signalSetParameters()
1625 || comp->getName().find("c2.android.") == 0)) { in signalSetParameters()
1628 (void)config->setParameters(comp, configUpdate, C2_MAY_BLOCK); in signalSetParameters()
1637 std::shared_ptr<Codec2Client::Component> comp; in signalRequestIDRFrame() local
1644 comp = state->comp; in signalRequestIDRFrame()
1651 config->setParameters(comp, params, C2_MAY_BLOCK); in signalRequestIDRFrame()