Lines Matching refs:Codec2Client
75 typedef std::array<std::shared_ptr<Codec2Client>, kNumClients> ClientList;
78 std::shared_ptr<Codec2Client> getClient(size_t index) { in getClient()
79 return Codec2Client::CreateFromService(kClientNames[index]); in getClient()
332 struct Codec2Client::Component::HidlListener : public IComponentListener {
346 std::shared_ptr<Codec2Client::Component> strongComponent = component.lock(); in onWorkDone()
350 if (std::shared_ptr<Codec2Client::Listener> listener = base.lock()) { in onWorkDone()
373 if (std::shared_ptr<Codec2Client::Listener> listener = base.lock()) { in onTripped()
397 std::vector<Codec2Client::Listener::RenderedFrame> rfs; in onFramesRendered()
407 std::shared_ptr<Codec2Client::Component> strongComponent = in onFramesRendered()
437 Codec2Client::Base* Codec2Client::base() const { in base()
441 Codec2Client::Codec2Client(const sp<Codec2Client::Base>& base, std::string instanceName) : in Codec2Client() function in android::Codec2Client
451 c2_status_t Codec2Client::createComponent( in createComponent()
453 const std::shared_ptr<Codec2Client::Listener>& listener, in createComponent()
454 std::shared_ptr<Codec2Client::Component>* const component) { in createComponent()
473 *component = std::make_shared<Codec2Client::Component>(c); in createComponent()
500 c2_status_t Codec2Client::createInterface( in createInterface()
502 std::shared_ptr<Codec2Client::Interface>* const interface) { in createInterface()
515 *interface = std::make_shared<Codec2Client::Interface>(i); in createInterface()
524 c2_status_t Codec2Client::createInputSurface( in createInputSurface()
525 std::shared_ptr<Codec2Client::InputSurface>* const inputSurface) { in createInputSurface()
544 const std::vector<C2Component::Traits>& Codec2Client::listComponents() const { in listComponents()
570 c2_status_t Codec2Client::copyBuffer( in copyBuffer()
581 Codec2Client::getParamReflector() { in getParamReflector()
627 std::shared_ptr<Codec2Client> Codec2Client::CreateFromService( in CreateFromService()
643 return std::make_shared<Codec2Client>(baseStore, instanceName); in CreateFromService()
646 c2_status_t Codec2Client::ForAllStores( in ForAllStores()
648 std::function<c2_status_t(const std::shared_ptr<Codec2Client>&)> predicate) { in ForAllStores()
673 std::shared_ptr<Codec2Client> client = getClient(index); in ForAllStores()
690 std::shared_ptr<Codec2Client::Component>
691 Codec2Client::CreateComponentByName( in CreateComponentByName()
694 std::shared_ptr<Codec2Client>* owner) { in CreateComponentByName()
699 const std::shared_ptr<Codec2Client> &client) -> c2_status_t { in CreateComponentByName()
717 std::shared_ptr<Codec2Client::Interface>
718 Codec2Client::CreateInterfaceByName( in CreateInterfaceByName()
720 std::shared_ptr<Codec2Client>* owner) { in CreateInterfaceByName()
725 const std::shared_ptr<Codec2Client> &client) -> c2_status_t { in CreateInterfaceByName()
743 std::shared_ptr<Codec2Client::InputSurface> Codec2Client::CreateInputSurface() { in CreateInputSurface()
748 std::shared_ptr<Codec2Client> client = getClient(i); in CreateInputSurface()
749 std::shared_ptr<Codec2Client::InputSurface> inputSurface; in CreateInputSurface()
761 const std::vector<C2Component::Traits>& Codec2Client::ListComponents() { in ListComponents()
766 for (const std::shared_ptr<Codec2Client>& client : clientList) { in ListComponents()
773 for (const std::shared_ptr<Codec2Client>& client : clientList) { in ListComponents()
790 Codec2Client::Listener::~Listener() { in ~Listener()
795 Codec2Client::Component::Base* Codec2Client::Component::base() const { in base()
799 Codec2Client::Component::Component(const sp<Codec2Client::Component::Base>& base) : in Component()
800 Codec2Client::Configurable(base), in Component()
804 Codec2Client::Component::~Component() { in ~Component()
807 c2_status_t Codec2Client::Component::createBlockPool( in createBlockPool()
810 std::shared_ptr<Codec2Client::Configurable>* configurable) { in createBlockPool()
826 *configurable = std::make_shared<Codec2Client::Configurable>(c); in createBlockPool()
835 c2_status_t Codec2Client::Component::destroyBlockPool( in destroyBlockPool()
846 size_t Codec2Client::Component::handleOnWorkDone( in handleOnWorkDone()
894 std::shared_ptr<C2Buffer> Codec2Client::Component::freeInputBuffer( in freeInputBuffer()
926 c2_status_t Codec2Client::Component::queue( in queue()
975 c2_status_t Codec2Client::Component::flush( in flush()
1042 c2_status_t Codec2Client::Component::drain(C2Component::drain_mode_t mode) { in drain()
1058 c2_status_t Codec2Client::Component::start() { in start()
1073 c2_status_t Codec2Client::Component::stop() { in stop()
1092 c2_status_t Codec2Client::Component::reset() { in reset()
1111 c2_status_t Codec2Client::Component::release() { in release()
1130 c2_status_t Codec2Client::Component::setOutputSurface( in setOutputSurface()
1166 status_t Codec2Client::Component::queueToOutputSurface( in queueToOutputSurface()
1241 c2_status_t Codec2Client::Component::connectToOmxInputSurface( in connectToOmxInputSurface()
1259 c2_status_t Codec2Client::Component::disconnectFromInputSurface() { in disconnectFromInputSurface()
1274 c2_status_t Codec2Client::Component::setDeathListener( in setDeathListener()
1286 if (std::shared_ptr<Codec2Client::Listener> listener = base.lock()) { in setDeathListener()
1314 Codec2Client::InputSurface::Base* Codec2Client::InputSurface::base() const { in base()
1318 Codec2Client::InputSurface::InputSurface(const sp<IInputSurface>& base) : in InputSurface()
1325 c2_status_t Codec2Client::InputSurface::connectToComponent( in connectToComponent()
1326 const std::shared_ptr<Codec2Client::Component>& component, in connectToComponent()
1349 std::shared_ptr<Codec2Client::Configurable>
1350 Codec2Client::InputSurface::getConfigurable() const { in getConfigurable()
1364 Codec2Client::InputSurface::getGraphicBufferProducer() const { in getGraphicBufferProducer()
1368 const sp<IInputSurface>& Codec2Client::InputSurface::getHalInterface() const { in getHalInterface()
1374 Codec2Client::InputSurfaceConnection::Base*
1375 Codec2Client::InputSurfaceConnection::base() const { in base()
1379 Codec2Client::InputSurfaceConnection::InputSurfaceConnection( in InputSurfaceConnection()
1380 const sp<Codec2Client::InputSurfaceConnection::Base>& base) : in InputSurfaceConnection()
1384 c2_status_t Codec2Client::InputSurfaceConnection::disconnect() { in disconnect()