Home
last modified time | relevance | path

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

12

/frameworks/av/media/codec2/hidl/client/
Dclient.cpp86 std::vector<std::string> const& names = Codec2Client::GetServiceNames(); in getServiceIndex()
97 std::shared_ptr<Codec2Client> mClient;
100 Client2Store(std::shared_ptr<Codec2Client> const& client) in Client2Store()
165 class Codec2Client::Cache {
167 std::shared_ptr<Codec2Client> mClient;
190 std::shared_ptr<Codec2Client> getClient() { in getClient()
193 mClient = Codec2Client::_CreateFromIndex(mIndex); in getClient()
217 std::shared_ptr<Codec2Client> client = getClient(); in getTraits()
489 struct Codec2Client::Component::HidlListener : public IComponentListener {
500 std::shared_ptr<Codec2Client::Component> strongComponent = in onWorkDone()
[all …]
/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/
Dclient.h133 friend struct Codec2Client;
136 struct Codec2Client : public Codec2ConfigurableClient { struct
154 typedef Codec2Client Store; argument
193 static std::shared_ptr<Codec2Client> CreateFromService(
198 static std::vector<std::shared_ptr<Codec2Client>> CreateFromAllServices();
206 std::shared_ptr<Codec2Client>* owner = nullptr,
214 std::shared_ptr<Codec2Client>* owner = nullptr,
225 Codec2Client(sp<Base> const& base, size_t serviceIndex);
250 std::function<c2_status_t(std::shared_ptr<Codec2Client> const&)> argument
259 static std::shared_ptr<Codec2Client> _CreateFromIndex(size_t index); argument
[all …]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/master/
DVtsHalMediaC2V1_0TargetMasterTest.cpp36 mClient = android::Codec2Client::CreateFromService(GetParam().c_str()); in SetUp()
45 std::shared_ptr<android::Codec2Client> mClient;
70 std::shared_ptr<android::Codec2Client::Listener> listener; in TEST_P()
71 std::shared_ptr<android::Codec2Client::Component> component; in TEST_P()
87 testing::ValuesIn(android::Codec2Client::GetServiceNames()),
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.h55 struct CodecListener : public android::Codec2Client::Listener {
60 virtual void onWorkDone(const std::weak_ptr<android::Codec2Client::Component>& comp, in onWorkDone()
69 const std::weak_ptr<android::Codec2Client::Component>& comp, in onTripped()
76 virtual void onError(const std::weak_ptr<android::Codec2Client::Component>& comp, in onError()
84 virtual void onDeath(const std::weak_ptr<android::Codec2Client::Component>& comp) override { in onDeath()
119 void testInputBuffer(const std::shared_ptr<android::Codec2Client::Component>& component,
127 void workDone(const std::shared_ptr<android::Codec2Client::Component>& component,
Dmedia_c2_hidl_test_common.cpp26 void testInputBuffer(const std::shared_ptr<android::Codec2Client::Component>& component, in testInputBuffer()
80 void workDone(const std::shared_ptr<android::Codec2Client::Component>& component, in workDone()
149 auto instances = android::Codec2Client::GetServiceNames(); in getTestParameters()
151 std::shared_ptr<android::Codec2Client> client = in getTestParameters()
152 android::Codec2Client::CreateFromService(instance.c_str()); in getTestParameters()
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkC2Common.h58 struct CodecListener : public android::Codec2Client::Listener {
63 virtual void onWorkDone(const std::weak_ptr<android::Codec2Client::Component> &comp, in onWorkDone()
71 const std::weak_ptr<android::Codec2Client::Component> &comp, in onTripped()
77 virtual void onError(const std::weak_ptr<android::Codec2Client::Component> &comp, in onError()
84 virtual void onDeath(const std::weak_ptr<android::Codec2Client::Component> &comp) override { in onDeath()
128 std::shared_ptr<android::Codec2Client> mClient;
DBenchmarkC2Common.cpp24 mClient = android::Codec2Client::CreateFromService("default"); in setupCodec2()
26 mClient = android::Codec2Client::CreateFromService("software"); in setupCodec2()
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.h151 const std::shared_ptr<Codec2Client::Configurable> &configurable);
244 std::shared_ptr<Codec2Client::Configurable> configurable,
256 std::shared_ptr<Codec2Client::Configurable> configurable,
263 const std::shared_ptr<Codec2Client::Configurable> &configurable);
271 const std::shared_ptr<Codec2Client::Configurable> &configurable,
332 const std::shared_ptr<Codec2Client::Configurable> &configurable,
DC2OMXNode.cpp59 const std::shared_ptr<Codec2Client::Component> &comp, in queue()
87 std::shared_ptr<Codec2Client::Component> comp = queue.component.lock(); in threadLoop()
148 Queue(const std::shared_ptr<Codec2Client::Component> &comp) in Queue()
153 std::weak_ptr<Codec2Client::Component> component;
158 std::map<std::weak_ptr<Codec2Client::Component>,
160 std::owner_less<std::weak_ptr<Codec2Client::Component>>> queues;
166 C2OMXNode::C2OMXNode(const std::shared_ptr<Codec2Client::Component> &comp) in C2OMXNode()
334 std::shared_ptr<Codec2Client::Component> comp = mComp.lock(); in emptyBuffer()
DCCodec.cpp142 const std::shared_ptr<Codec2Client::InputSurface> &surface) : in C2InputSurfaceWrapper()
148 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect()
183 std::shared_ptr<Codec2Client::InputSurface> mSurface;
184 std::shared_ptr<Codec2Client::InputSurfaceConnection> mConnection;
202 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect()
412 std::shared_ptr<Codec2Client> mClient;
415 Codec2ClientInterfaceWrapper(std::shared_ptr<Codec2Client> client) in Codec2ClientInterfaceWrapper()
478 struct CCodec::ClientListener : public Codec2Client::Listener {
483 const std::weak_ptr<Codec2Client::Component>& component, in onWorkDone()
494 const std::weak_ptr<Codec2Client::Component>& component, in onTripped()
[all …]
DC2OMXNode.h37 explicit C2OMXNode(const std::shared_ptr<Codec2Client::Component> &comp);
97 std::weak_ptr<Codec2Client::Component> mComp;
DCCodecBufferChannel.h98 void setComponent(const std::shared_ptr<Codec2Client::Component> &component);
255 std::shared_ptr<Codec2Client::Component> mComponent;
299 std::shared_ptr<Codec2Client::Configurable> outputPoolIntf;
DCodec2InfoBuilder.cpp71 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()
363 std::shared_ptr<Codec2Client::Interface> intf = in buildMediaCodecList()
364 Codec2Client::CreateInterfaceByName(nameOrAlias.c_str()); in buildMediaCodecList()
DInputSurfaceWrapper.h44 const std::shared_ptr<Codec2Client::Component> &comp) = 0;
DCCodecConfig.cpp187 const std::shared_ptr<Codec2Client::Configurable> &configurable) { in QueryMediaTypeImpl()
215 bool input, const std::shared_ptr<Codec2Client::Configurable> &configurable) { in QueryMediaType()
924 const std::shared_ptr<Codec2Client::Configurable> &configurable) { in initialize()
1057 const std::shared_ptr<Codec2Client::Configurable> &configurable, in subscribeToConfigUpdate()
1082 const std::shared_ptr<Codec2Client::Configurable> &configurable) { in queryConfiguration()
1652 std::shared_ptr<Codec2Client::Configurable> configurable, in getConfigUpdateFromSdkParams()
1691 std::shared_ptr<Codec2Client::Configurable> configurable, in setParameters()
1770 const std::shared_ptr<Codec2Client::Configurable> &configurable, in subscribeToAllVendorParams()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.h43 std::shared_ptr<android::Codec2Client::Listener> mListener;
44 std::shared_ptr<android::Codec2Client::Component> mComponent;
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.h62 std::shared_ptr<android::Codec2Client::Listener> mListener;
63 std::shared_ptr<android::Codec2Client::Component> mComponent;
/frameworks/av/media/codec2/sfplugin/include/media/stagefright/
DCCodec.h163 std::shared_ptr<Codec2Client::Component> comp;
188 std::shared_ptr<Codec2Client> mClient;
189 std::shared_ptr<Codec2Client::Listener> mClientListener;
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp59 mClient = android::Codec2Client::CreateFromService( in SetUp()
61 !bool(android::Codec2Client::CreateFromService("default", true))); in SetUp()
166 std::shared_ptr<android::Codec2Client> mClient;
167 std::shared_ptr<android::Codec2Client::Listener> mListener;
168 std::shared_ptr<android::Codec2Client::Component> mComponent;
204 void validateComponent(const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
243 bool setupConfigParam(const std::shared_ptr<android::Codec2Client::Component>& component, in setupConfigParam()
312 void encodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in encodeNFrames()
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp60 mClient = android::Codec2Client::CreateFromService( in SetUp()
62 !bool(android::Codec2Client::CreateFromService("default", true))); in SetUp()
200 std::shared_ptr<android::Codec2Client> mClient;
201 std::shared_ptr<android::Codec2Client::Listener> mListener;
202 std::shared_ptr<android::Codec2Client::Component> mComponent;
219 void validateComponent(const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
258 bool setupConfigParam(const std::shared_ptr<android::Codec2Client::Component>& component, in setupConfigParam()
273 void getInputChannelInfo(const std::shared_ptr<android::Codec2Client::Component>& component, in getInputChannelInfo()
378 void decodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in decodeNFrames()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp66 mClient = android::Codec2Client::CreateFromService(mInstanceName.c_str()); 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.cpp61 mClient = android::Codec2Client::CreateFromService( in SetUp()
63 !bool(android::Codec2Client::CreateFromService("default", true))); in SetUp()
217 std::shared_ptr<android::Codec2Client> mClient;
218 std::shared_ptr<android::Codec2Client::Listener> mListener;
219 std::shared_ptr<android::Codec2Client::Component> mComponent;
236 void validateComponent(const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
303 void encodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in encodeNFrames()
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp69 mClient = android::Codec2Client::CreateFromService( in SetUp()
71 !bool(android::Codec2Client::CreateFromService("default", true))); in SetUp()
307 std::shared_ptr<android::Codec2Client> mClient;
308 std::shared_ptr<android::Codec2Client::Listener> mListener;
309 std::shared_ptr<android::Codec2Client::Component> mComponent;
326 void validateComponent(const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
433 void decodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in decodeNFrames()
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp479 for (std::shared_ptr<Codec2Client> const& client : in setListener()
480 Codec2Client::CreateFromAllServices()) { in setListener()
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecConfig_test.cpp71 mConfigurable = std::make_shared<Codec2Client::Configurable>(cachedConfigurable); in init()
235 std::shared_ptr<Codec2Client::Configurable> mConfigurable;

12