• Home
  • Raw
  • Download

Lines Matching refs:comp

142     status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override {  in connect()  argument
146 return toStatusT(mSurface->connectToComponent(comp, &mConnection), in connect()
194 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect() argument
195 mNode = new C2OMXNode(comp); in connect()
482 std::shared_ptr<Codec2Client::Component> comp = component.lock(); in onDeath() local
483 if (!comp) { in onDeath()
486 ALOGE("Codec2 component \"%s\" died.", comp->getName().c_str()); in onDeath()
607 std::shared_ptr<Codec2Client::Component> comp = in allocate() local
612 if (!comp) { in allocate()
622 mChannel->setComponent(comp); in allocate()
623 auto setAllocated = [this, comp, client] { in allocate()
630 state->comp = comp; in allocate()
640 status_t err = config->initialize(mClient, comp); in allocate()
645 config->queryConfiguration(comp); in allocate()
665 std::shared_ptr<Codec2Client::Component> comp; in configure() local
666 auto checkAllocated = [this, &comp] { in configure()
672 comp = state->comp; in configure()
679 auto doConfig = [msg, comp, this]() -> status_t { in configure()
691 if ((!encoder) != (comp->getName().find("encoder") == std::string::npos)) { in configure()
780 comp, msg, Config::IS_CONFIG, C2_DONT_BLOCK, &configUpdate); in configure()
784 err = config->setParameters(comp, configUpdate, C2_DONT_BLOCK); in configure()
796 c2_status_t c2err = comp->query( in configure()
931 if (state->comp->getName().find("encoder") == std::string::npos) { in initiateCreateInputSurface()
1089 std::shared_ptr<Codec2Client::Component> comp; in start() local
1090 auto checkStarting = [this, &comp] { in start()
1095 comp = state->comp; in start()
1102 c2_status_t err = comp->start(); in start()
1174 std::shared_ptr<Codec2Client::Component> comp; in stop() local
1189 comp = state->comp; in stop()
1191 status_t err = comp->stop(); in stop()
1260 std::shared_ptr<Codec2Client::Component> comp; in release() local
1271 comp = state->comp; in release()
1273 comp->release(); in release()
1278 state->comp.reset(); in release()
1317 std::shared_ptr<Codec2Client::Component> comp; in flush() local
1318 auto checkFlushing = [this, &comp] { in flush()
1323 comp = state->comp; in flush()
1331 c2_status_t err = comp->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in flush()
1385 std::shared_ptr<Codec2Client::Component> comp; in setParameters() local
1386 auto checkState = [this, &comp] { in setParameters()
1391 comp = state->comp; in setParameters()
1429 comp, params, Config::IS_PARAM, C2_MAY_BLOCK, &configUpdate); in setParameters()
1435 || comp->getName().find("c2.android.") == 0)) { in setParameters()
1438 (void)config->setParameters(comp, configUpdate, C2_MAY_BLOCK); in setParameters()
1447 std::shared_ptr<Codec2Client::Component> comp; in signalRequestIDRFrame() local
1454 comp = state->comp; in signalRequestIDRFrame()
1461 config->setParameters(comp, params, C2_MAY_BLOCK); in signalRequestIDRFrame()