Lines Matching refs:comp

148     status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override {  in connect()  argument
152 return toStatusT(comp->connectToInputSurface(mSurface, &mConnection)); in connect()
202 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect() argument
203 mNode = new C2OMXNode(comp); in connect()
513 std::shared_ptr<Codec2Client::Component> comp = component.lock(); in onDeath() local
514 if (!comp) { in onDeath()
517 ALOGE("Codec2 component \"%s\" died.", comp->getName().c_str()); in onDeath()
637 std::shared_ptr<Codec2Client::Component> comp = in allocate() local
642 if (!comp) { in allocate()
652 mChannel->setComponent(comp); in allocate()
653 auto setAllocated = [this, comp, client] { in allocate()
660 state->comp = comp; in allocate()
671 status_t err = config->initialize(mClient->getParamReflector(), comp); in allocate()
676 config->queryConfiguration(comp); in allocate()
696 std::shared_ptr<Codec2Client::Component> comp; in configure() local
697 auto checkAllocated = [this, &comp] { in configure()
703 comp = state->comp; in configure()
710 auto doConfig = [msg, comp, this]() -> status_t { in configure()
727 if ((!encoder) != (comp->getName().find("encoder") == std::string::npos)) { in configure()
754 comp->getName().c_str(), config->mBuffersBoundToCodec ? "" : "not "); in configure()
889 if (config->subscribeToAllVendorParams(comp, C2_MAY_BLOCK) != OK) { in configure()
890 ALOGD("[%s] Failed to subscribe to all vendor params", comp->getName().c_str()); in configure()
904 comp, sdkParams, Config::IS_CONFIG, C2_DONT_BLOCK, &configUpdate); in configure()
924 err = config->setParameters(comp, configUpdate, C2_DONT_BLOCK); in configure()
937 c2_status_t c2err = comp->query( in configure()
1089 if (state->comp->getName().find("encoder") == std::string::npos) { in initiateCreateInputSurface()
1296 std::shared_ptr<Codec2Client::Component> comp; in start() local
1297 auto checkStarting = [this, &comp] { in start()
1302 comp = state->comp; in start()
1309 c2_status_t err = comp->start(); in start()
1387 std::shared_ptr<Codec2Client::Component> comp; in stop() local
1402 comp = state->comp; in stop()
1404 status_t err = comp->stop(); in stop()
1475 std::shared_ptr<Codec2Client::Component> comp; in release() local
1486 comp = state->comp; in release()
1488 comp->release(); in release()
1493 state->comp.reset(); in release()
1533 std::shared_ptr<Codec2Client::Component> comp; in flush() local
1534 auto checkFlushing = [this, &comp] { in flush()
1539 comp = state->comp; in flush()
1547 c2_status_t err = comp->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in flush()
1569 std::shared_ptr<Codec2Client::Component> comp; in signalResume() local
1570 auto setResuming = [this, &comp] { in signalResume()
1576 comp = state->comp; in signalResume()
1587 config->queryConfiguration(comp); in signalResume()
1611 std::shared_ptr<Codec2Client::Component> comp; in signalSetParameters() local
1612 auto checkState = [this, &comp] { in signalSetParameters()
1617 comp = state->comp; in signalSetParameters()
1666 comp, params, Config::IS_PARAM, C2_MAY_BLOCK, &configUpdate); in signalSetParameters()
1672 || comp->getName().find("c2.android.") == 0)) { in signalSetParameters()
1675 (void)config->setParameters(comp, configUpdate, C2_MAY_BLOCK); in signalSetParameters()
1684 std::shared_ptr<Codec2Client::Component> comp; in signalRequestIDRFrame() local
1691 comp = state->comp; in signalRequestIDRFrame()
1699 config->setParameters(comp, params, C2_MAY_BLOCK); in signalRequestIDRFrame()