Home
last modified time | relevance | path

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

/hardware/google/av/codec2/hidl/client/
Dclient.cpp75 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()
[all …]
/hardware/google/av/codec2/hidl/client/include/codec2/hidl/
Dclient.h154 friend struct Codec2Client;
157 struct Codec2Client : public Codec2ConfigurableClient { struct
173 typedef Codec2Client Store; argument
197 static std::shared_ptr<Codec2Client> CreateFromService( argument
206 std::shared_ptr<Codec2Client>* owner = nullptr);
212 std::shared_ptr<Codec2Client>* owner = nullptr);
221 Codec2Client(const sp<Base>& base, std::string instanceName);
231 std::function<c2_status_t(const std::shared_ptr<Codec2Client>&)> predicate);
244 struct Codec2Client::Listener { argument
307 struct Codec2Client::Component : public Codec2Client::Configurable {
[all …]
/hardware/google/av/codec2/hidl/1.0/mts/common/
Dmedia_c2_hidl_test_common.h50 struct CodecListener : public android::Codec2Client::Listener {
57 const std::weak_ptr<android::Codec2Client::Component>& comp, in onWorkDone()
68 const std::weak_ptr<android::Codec2Client::Component>& comp, in onTripped()
77 const std::weak_ptr<android::Codec2Client::Component>& comp, in onError()
86 const std::weak_ptr<android::Codec2Client::Component>& comp) override { in onDeath()
185 const std::shared_ptr<android::Codec2Client::Component>& component,
195 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()
/hardware/google/av/codec2/hidl/1.0/mts/master/
DMtsHidlC2V1_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()
/hardware/google/av/media/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()
178 std::shared_ptr<Codec2Client::InputSurface> mSurface;
179 std::shared_ptr<Codec2Client::InputSurfaceConnection> mConnection;
194 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect()
380 std::shared_ptr<Codec2Client> mClient;
383 Codec2ClientInterfaceWrapper(std::shared_ptr<Codec2Client> client) in Codec2ClientInterfaceWrapper()
446 struct CCodec::ClientListener : public Codec2Client::Listener {
451 const std::weak_ptr<Codec2Client::Component>& component, in onWorkDone()
463 const std::weak_ptr<Codec2Client::Component>& component, in onTripped()
[all …]
DCCodec.h140 std::shared_ptr<Codec2Client::Component> comp;
165 std::shared_ptr<Codec2Client> mClient;
166 std::shared_ptr<Codec2Client::Listener> mClientListener;
DC2OMXNode.h36 explicit C2OMXNode(const std::shared_ptr<Codec2Client::Component> &comp);
82 std::weak_ptr<Codec2Client::Component> mComp;
DInputSurfaceWrapper.h44 const std::shared_ptr<Codec2Client::Component> &comp) = 0;
DCCodecBufferChannel.h81 void setComponent(const std::shared_ptr<Codec2Client::Component> &component);
228 std::shared_ptr<Codec2Client::Component> mComponent;
256 std::shared_ptr<Codec2Client::Configurable> outputPoolIntf;
DCodec2InfoBuilder.cpp353 std::vector<Traits> traits = Codec2Client::ListComponents(); in buildMediaCodecList()
367 bool surfaceTest(Codec2Client::CreateInputSurface()); in buildMediaCodecList()
375 std::shared_ptr<Codec2Client::Interface> intf = in buildMediaCodecList()
376 Codec2Client::CreateInterfaceByName(trait.name.c_str()); in buildMediaCodecList()
DC2OMXNode.cpp52 C2OMXNode::C2OMXNode(const std::shared_ptr<Codec2Client::Component> &comp) in C2OMXNode()
215 std::shared_ptr<Codec2Client::Component> comp = mComp.lock(); in emptyBuffer()
DCCodecConfig.cpp182 const std::shared_ptr<Codec2Client::Component> &component) { in QueryMediaTypeImpl()
210 bool input, const std::shared_ptr<Codec2Client::Component> &component) { in QueryMediaType()
826 const std::shared_ptr<Codec2Client> &client, in initialize()
827 const std::shared_ptr<Codec2Client::Component> &component) { in initialize()
950 const std::shared_ptr<Codec2Client::Component> &component, in subscribeToConfigUpdate()
975 const std::shared_ptr<Codec2Client::Component> &component) { in queryConfiguration()
1493 std::shared_ptr<Codec2Client::Component> component, in getConfigUpdateFromSdkParams()
1532 std::shared_ptr<Codec2Client::Component> component, in setParameters()
DCCodecBufferChannel.cpp1594 const std::shared_ptr<Codec2Client::Component> &component) { in setComponent()
2781 std::shared_ptr<Codec2Client::Configurable> outputPoolIntf; in setSurface()
/hardware/google/av/codec2/hidl/1.0/mts/component/
DMtsHidlC2V1_0TargetComponentTest.cpp42 mClient = android::Codec2Client::CreateFromService( in SetUp()
87 std::shared_ptr<android::Codec2Client> mClient;
88 std::shared_ptr<android::Codec2Client::Listener> mListener;
89 std::shared_ptr<android::Codec2Client::Component> mComponent;
/hardware/google/av/codec2/hidl/1.0/mts/audio/
DMtsHidlC2V1_0TargetAudioEncTest.cpp67 mClient = android::Codec2Client::CreateFromService( in SetUp()
170 std::shared_ptr<android::Codec2Client> mClient;
171 std::shared_ptr<android::Codec2Client::Listener> mListener;
172 std::shared_ptr<android::Codec2Client::Component> mComponent;
181 const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
223 const std::shared_ptr<android::Codec2Client::Component>& component, in setupConfigParam()
263 void encodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in encodeNFrames()
DMtsHidlC2V1_0TargetAudioDecTest.cpp73 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()
276 const std::shared_ptr<android::Codec2Client::Component>& component, in setupConfigParam()
293 const std::shared_ptr<android::Codec2Client::Component>& component, in getInputChannelInfo()
389 void decodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in decodeNFrames()
/hardware/google/av/codec2/hidl/1.0/mts/video/
DMtsHidlC2V1_0TargetVideoEncTest.cpp66 mClient = android::Codec2Client::CreateFromService( in SetUp()
179 std::shared_ptr<android::Codec2Client> mClient;
180 std::shared_ptr<android::Codec2Client::Listener> mListener;
181 std::shared_ptr<android::Codec2Client::Component> mComponent;
190 const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
246 void encodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in encodeNFrames()
DMtsHidlC2V1_0TargetVideoDecTest.cpp72 mClient = android::Codec2Client::CreateFromService( in SetUp()
219 std::shared_ptr<android::Codec2Client> mClient;
220 std::shared_ptr<android::Codec2Client::Listener> mListener;
221 std::shared_ptr<android::Codec2Client::Component> mComponent;
230 const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
330 void decodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in decodeNFrames()