Home
last modified time | relevance | path

Searched refs:Codec2Client (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/codec2/hidl/client/
Dclient.cpp82 std::vector<std::string> const& names = Codec2Client::GetServiceNames(); in getServiceIndex()
98 class Codec2Client::Cache {
100 std::shared_ptr<Codec2Client> mClient;
123 std::shared_ptr<Codec2Client> getClient() { in getClient()
126 mClient = Codec2Client::_CreateFromIndex(mIndex); in getClient()
147 std::shared_ptr<Codec2Client> client = getClient(); in getTraits()
418 struct Codec2Client::Component::HidlListener : public IComponentListener {
429 std::shared_ptr<Codec2Client::Component> strongComponent = in onWorkDone()
434 if (std::shared_ptr<Codec2Client::Listener> listener = base.lock()) { in onWorkDone()
454 if (std::shared_ptr<Codec2Client::Listener> listener = base.lock()) { in onTripped()
[all …]
/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/
Dclient.h125 friend struct Codec2Client;
128 struct Codec2Client : public Codec2ConfigurableClient { struct
144 typedef Codec2Client Store; argument
176 static std::shared_ptr<Codec2Client> CreateFromService(char const* name);
179 static std::vector<std::shared_ptr<Codec2Client>> CreateFromAllServices();
186 std::shared_ptr<Codec2Client>* owner = nullptr);
192 std::shared_ptr<Codec2Client>* owner = nullptr);
202 Codec2Client(sp<Base> const& base, size_t serviceIndex);
212 std::function<c2_status_t(std::shared_ptr<Codec2Client> const&)>
221 static std::shared_ptr<Codec2Client> _CreateFromIndex(size_t index); argument
[all …]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.h50 struct CodecListener : public android::Codec2Client::Listener {
57 const std::weak_ptr<android::Codec2Client::Component>& comp, in onWorkDone()
66 const std::weak_ptr<android::Codec2Client::Component>& comp, in onTripped()
75 const std::weak_ptr<android::Codec2Client::Component>& comp, in onError()
84 const std::weak_ptr<android::Codec2Client::Component>& comp) override { in onDeath()
188 const std::shared_ptr<android::Codec2Client::Component>& component,
198 const std::shared_ptr<android::Codec2Client::Component>& component,
Dmedia_c2_hidl_test_common.cpp25 const std::shared_ptr<android::Codec2Client::Component>& component, in testInputBuffer()
82 const std::shared_ptr<android::Codec2Client::Component>& component, in workDone()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/master/
DVtsHalMediaC2V1_0TargetMasterTest.cpp40 mClient = android::Codec2Client::CreateFromService( in SetUp()
50 std::shared_ptr<android::Codec2Client> mClient;
76 std::shared_ptr<android::Codec2Client::Listener> listener; in TEST_F()
77 std::shared_ptr<android::Codec2Client::Component> component; in TEST_F()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.h143 const std::shared_ptr<Codec2Client> &client,
144 const std::shared_ptr<Codec2Client::Component> &component);
238 std::shared_ptr<Codec2Client::Component> component,
250 std::shared_ptr<Codec2Client::Component> component,
257 const std::shared_ptr<Codec2Client::Component> &component);
321 const std::shared_ptr<Codec2Client::Component> &component,
DCCodec.cpp136 const std::shared_ptr<Codec2Client::InputSurface> &surface) : in C2InputSurfaceWrapper()
142 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect()
177 std::shared_ptr<Codec2Client::InputSurface> mSurface;
178 std::shared_ptr<Codec2Client::InputSurfaceConnection> mConnection;
195 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect()
395 std::shared_ptr<Codec2Client> mClient;
398 Codec2ClientInterfaceWrapper(std::shared_ptr<Codec2Client> client) in Codec2ClientInterfaceWrapper()
461 struct CCodec::ClientListener : public Codec2Client::Listener {
466 const std::weak_ptr<Codec2Client::Component>& component, in onWorkDone()
477 const std::weak_ptr<Codec2Client::Component>& component, in onTripped()
[all …]
DC2OMXNode.cpp59 const std::shared_ptr<Codec2Client::Component> &comp, in queue()
86 std::shared_ptr<Codec2Client::Component> comp = queue.component.lock(); in threadLoop()
146 Queue(const std::shared_ptr<Codec2Client::Component> &comp, nsecs_t timestamp) in Queue()
151 std::weak_ptr<Codec2Client::Component> component;
156 std::map<std::weak_ptr<Codec2Client::Component>,
158 std::owner_less<std::weak_ptr<Codec2Client::Component>>> queues;
164 C2OMXNode::C2OMXNode(const std::shared_ptr<Codec2Client::Component> &comp) in C2OMXNode()
332 std::shared_ptr<Codec2Client::Component> comp = mComp.lock(); in emptyBuffer()
DCCodec.h145 std::shared_ptr<Codec2Client::Component> comp;
170 std::shared_ptr<Codec2Client> mClient;
171 std::shared_ptr<Codec2Client::Listener> mClientListener;
DC2OMXNode.h37 explicit C2OMXNode(const std::shared_ptr<Codec2Client::Component> &comp);
97 std::weak_ptr<Codec2Client::Component> mComp;
DCCodecBufferChannel.h82 void setComponent(const std::shared_ptr<Codec2Client::Component> &component);
223 std::shared_ptr<Codec2Client::Component> mComponent;
267 std::shared_ptr<Codec2Client::Configurable> outputPoolIntf;
DCodec2InfoBuilder.cpp72 std::shared_ptr<Codec2Client::Interface> intf, in addSupportedProfileLevels()
189 std::shared_ptr<Codec2Client::Interface> intf, in addSupportedColorFormats()
320 std::vector<Traits> traits = Codec2Client::ListComponents(); in buildMediaCodecList()
362 std::shared_ptr<Codec2Client::Interface> intf = in buildMediaCodecList()
363 Codec2Client::CreateInterfaceByName(nameOrAlias.c_str()); in buildMediaCodecList()
DInputSurfaceWrapper.h44 const std::shared_ptr<Codec2Client::Component> &comp) = 0;
DCCodecConfig.cpp182 const std::shared_ptr<Codec2Client::Component> &component) { in QueryMediaTypeImpl()
210 bool input, const std::shared_ptr<Codec2Client::Component> &component) { in QueryMediaType()
837 const std::shared_ptr<Codec2Client> &client, in initialize()
838 const std::shared_ptr<Codec2Client::Component> &component) { in initialize()
961 const std::shared_ptr<Codec2Client::Component> &component, in subscribeToConfigUpdate()
986 const std::shared_ptr<Codec2Client::Component> &component) { in queryConfiguration()
1504 std::shared_ptr<Codec2Client::Component> component, in getConfigUpdateFromSdkParams()
1543 std::shared_ptr<Codec2Client::Component> component, in setParameters()
DCCodecBufferChannel.cpp251 const std::shared_ptr<Codec2Client::Component> &component) { in setComponent()
1606 std::shared_ptr<Codec2Client::Configurable> outputPoolIntf; in setSurface()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp67 mClient = android::Codec2Client::CreateFromService( in SetUp()
165 std::shared_ptr<android::Codec2Client> mClient;
166 std::shared_ptr<android::Codec2Client::Listener> mListener;
167 std::shared_ptr<android::Codec2Client::Component> mComponent;
197 const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
239 const std::shared_ptr<android::Codec2Client::Component>& component, in setupConfigParam()
279 void encodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in encodeNFrames()
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp73 mClient = android::Codec2Client::CreateFromService( in SetUp()
216 std::shared_ptr<android::Codec2Client> mClient;
217 std::shared_ptr<android::Codec2Client::Listener> mListener;
218 std::shared_ptr<android::Codec2Client::Component> mComponent;
227 const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
269 const std::shared_ptr<android::Codec2Client::Component>& component, in setupConfigParam()
286 const std::shared_ptr<android::Codec2Client::Component>& component, in getInputChannelInfo()
397 void decodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in decodeNFrames()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp68 mClient = android::Codec2Client::CreateFromService( in SetUp()
113 std::shared_ptr<android::Codec2Client> mClient;
114 std::shared_ptr<android::Codec2Client::Listener> mListener;
115 std::shared_ptr<android::Codec2Client::Component> mComponent;
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp66 mClient = android::Codec2Client::CreateFromService( in SetUp()
215 std::shared_ptr<android::Codec2Client> mClient;
216 std::shared_ptr<android::Codec2Client::Listener> mListener;
217 std::shared_ptr<android::Codec2Client::Component> mComponent;
226 const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
282 void encodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in encodeNFrames()
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp76 mClient = android::Codec2Client::CreateFromService( in SetUp()
223 std::shared_ptr<android::Codec2Client> mClient;
224 std::shared_ptr<android::Codec2Client::Listener> mListener;
225 std::shared_ptr<android::Codec2Client::Component> mComponent;
234 const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
334 void decodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in decodeNFrames()
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp447 for (std::shared_ptr<Codec2Client> const& client : in setListener()
448 Codec2Client::CreateFromAllServices()) { in setListener()
DMediaPlayerService.cpp721 for (std::shared_ptr<Codec2Client> const& client : in setDataSource_pre()
722 Codec2Client::CreateFromAllServices()) { in setDataSource_pre()