Home
last modified time | relevance | path

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

12

/aosp_15_r20/frameworks/av/media/codec2/hal/client/
H A Dclient.cpp132 std::vector<std::string> const& names = Codec2Client::GetServiceNames(); in getServiceIndex()
143 std::shared_ptr<Codec2Client> mClient;
146 Client2Store(std::shared_ptr<Codec2Client> const& client) in Client2Store()
225 class Codec2Client::Cache {
227 std::shared_ptr<Codec2Client> mClient;
250 std::shared_ptr<Codec2Client> getClient() { in getClient()
253 mClient = Codec2Client::_CreateFromIndex(mIndex); in getClient()
277 std::shared_ptr<Codec2Client> client = getClient(); in getTraits()
1234 struct Codec2Client::Component::HidlListener : public c2_hidl::IComponentListener {
1245 std::shared_ptr<Codec2Client::Component> strongComponent = in onWorkDone()
[all …]
/aosp_15_r20/frameworks/av/media/codec2/hal/client/include/codec2/hidl/
H A Dclient.h185 struct Codec2Client : public Codec2ConfigurableClient { struct
206 typedef Codec2Client Store; argument
247 static std::shared_ptr<Codec2Client> CreateFromService(
252 static std::vector<std::shared_ptr<Codec2Client>> CreateFromAllServices();
261 std::shared_ptr<Codec2Client>* owner = nullptr,
269 std::shared_ptr<Codec2Client>* owner = nullptr,
283 Codec2Client(
287 Codec2Client(
291 Codec2Client(
321 std::function<c2_status_t(std::shared_ptr<Codec2Client> const&)> argument
[all …]
/aosp_15_r20/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0213/
H A Dpoc.cpp42 void workDone(const std::shared_ptr<android::Codec2Client::Component> &component,
67 struct CodecListener : public android::Codec2Client::Listener {
72 virtual void onWorkDone(const std::weak_ptr<android::Codec2Client::Component> &comp, in onWorkDone()
81 const std::weak_ptr<android::Codec2Client::Component> &comp, in onTripped()
87 virtual void onError(const std::weak_ptr<android::Codec2Client::Component> &comp, in onError()
93 virtual void onDeath(const std::weak_ptr<android::Codec2Client::Component> &comp) override { in onDeath()
124 if (android::Codec2Client::CreateComponentByName(mComponentName.c_str(), mListener, in SetUp()
154 std::shared_ptr<android::Codec2Client> getClient() { in getClient()
155 auto instances = android::Codec2Client::GetServiceNames(); in getClient()
157 std::shared_ptr<android::Codec2Client> client = in getClient()
[all …]
/aosp_15_r20/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/master/
H A DVtsHalMediaC2V1_0TargetMasterTest.cpp37 mClient = android::Codec2Client::CreateFromService(GetParam().c_str()); in SetUp()
46 std::shared_ptr<android::Codec2Client> mClient;
71 std::shared_ptr<android::Codec2Client::Listener> listener; in TEST_P()
72 std::shared_ptr<android::Codec2Client::Component> component; in TEST_P()
78 android::Codec2Client::CreateComponentByName( in TEST_P()
101 testing::ValuesIn(android::Codec2Client::GetServiceNames()),
/aosp_15_r20/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/common/
H A Dmedia_c2_hidl_test_common.h85 struct CodecListener : public android::Codec2Client::Listener {
90 virtual void onWorkDone(const std::weak_ptr<android::Codec2Client::Component>& comp, in onWorkDone()
98 const std::weak_ptr<android::Codec2Client::Component>& comp, in onTripped()
105 virtual void onError(const std::weak_ptr<android::Codec2Client::Component>& comp, in onError()
112 virtual void onDeath(const std::weak_ptr<android::Codec2Client::Component>& comp) override { in onDeath()
151 void testInputBuffer(const std::shared_ptr<android::Codec2Client::Component>& component,
159 void workDone(const std::shared_ptr<android::Codec2Client::Component>& component,
H A Dmedia_c2_hidl_test_common.cpp77 void testInputBuffer(const std::shared_ptr<android::Codec2Client::Component>& component, in testInputBuffer()
131 void workDone(const std::shared_ptr<android::Codec2Client::Component>& component, in workDone()
198 auto instances = android::Codec2Client::GetServiceNames(); in getTestParameters()
200 std::shared_ptr<android::Codec2Client> client = in getTestParameters()
201 android::Codec2Client::CreateFromService(instance.c_str()); in getTestParameters()
/aosp_15_r20/frameworks/av/media/codec2/sfplugin/
H A DCCodecConfig.h160 const std::shared_ptr<Codec2Client::Configurable> &configurable);
253 std::shared_ptr<Codec2Client::Configurable> configurable,
265 std::shared_ptr<Codec2Client::Configurable> configurable,
272 const std::shared_ptr<Codec2Client::Configurable> &configurable);
280 const std::shared_ptr<Codec2Client::Configurable> &configurable,
356 const std::shared_ptr<Codec2Client::Configurable> &configurable,
364 const std::shared_ptr<Codec2Client::Configurable> &configurable,
371 const std::shared_ptr<Codec2Client::Configurable> &configurable,
H A DCCodec.cpp167 const std::shared_ptr<Codec2Client::InputSurface> &surface) : in C2InputSurfaceWrapper()
173 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect()
208 std::shared_ptr<Codec2Client::InputSurface> mSurface;
209 std::shared_ptr<Codec2Client::InputSurfaceConnection> mConnection;
227 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect()
507 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect()
745 std::shared_ptr<Codec2Client> mClient;
748 Codec2ClientInterfaceWrapper(std::shared_ptr<Codec2Client> client) in Codec2ClientInterfaceWrapper()
877 struct CCodec::ClientListener : public Codec2Client::Listener {
882 const std::weak_ptr<Codec2Client::Component>& component, in onWorkDone()
[all …]
H A DC2NodeImpl.cpp61 const std::shared_ptr<Codec2Client::Component> &comp, in queue()
110 std::shared_ptr<Codec2Client::Component> comp = queue.component.lock(); in threadLoop()
175 Queue(const std::shared_ptr<Codec2Client::Component> &comp) in Queue()
180 std::weak_ptr<Codec2Client::Component> component;
185 std::map<std::weak_ptr<Codec2Client::Component>,
187 std::owner_less<std::weak_ptr<Codec2Client::Component>>> queues;
194 C2NodeImpl::C2NodeImpl(const std::shared_ptr<Codec2Client::Component> &comp, bool aidl) in C2NodeImpl()
231 std::shared_ptr<Codec2Client::Component> comp = mComp.lock(); in getInputBufferParams()
286 std::shared_ptr<Codec2Client::Component> comp = mComp.lock(); in submitBuffer()
H A DCodec2InfoBuilder.cpp102 std::shared_ptr<Codec2Client::Interface> intf, in addSupportedProfileLevels()
252 std::shared_ptr<Codec2Client::Interface> intf, in addSupportedColorFormats()
434 std::vector<Traits> traits = Codec2Client::ListComponents(); in buildMediaCodecList()
535 std::shared_ptr<Codec2Client> client; in buildMediaCodecList()
536 std::shared_ptr<Codec2Client::Interface> intf = in buildMediaCodecList()
537 Codec2Client::CreateInterfaceByName(nameOrAlias.c_str(), &client); in buildMediaCodecList()
H A DC2NodeImpl.h37 explicit C2NodeImpl(const std::shared_ptr<Codec2Client::Component> &comp, bool aidl);
104 std::weak_ptr<Codec2Client::Component> mComp;
H A DCCodecBufferChannel.h115 void setComponent(const std::shared_ptr<Codec2Client::Component> &component);
337 std::shared_ptr<Codec2Client::Component> mComponent;
395 std::shared_ptr<Codec2Client::Configurable> outputPoolIntf;
H A DCCodecBufferChannel.cpp127 std::shared_ptr<Codec2Client::Component> component, in post()
158 std::weak_ptr<Codec2Client::Component> mComp;
163 std::shared_ptr<Codec2Client::Component> comp, in SurfaceCallbackItem()
190 std::shared_ptr<Codec2Client::Component> comp = item->mComp.lock();; in handle()
197 std::shared_ptr<Codec2Client::Component> comp = item->mComp.lock(); in handle()
337 const std::shared_ptr<Codec2Client::Component> &component) { in setComponent()
1608 std::shared_ptr<Codec2Client::Component> comp = std::atomic_load(&mComponent); in onBufferReleasedFromOutputSurface()
1620 std::shared_ptr<Codec2Client::Component> comp = std::atomic_load(&mComponent); in onBufferAttachedToOutputSurface()
2257 std::shared_ptr<Codec2Client::Component> comp = std::atomic_load(&mComponent); in stopUseOutputSurface()
2292 std::shared_ptr<Codec2Client::Component> nullComp; in release()
[all …]
H A DCCodecConfig.cpp196 const std::shared_ptr<Codec2Client::Configurable> &configurable) { in QueryMediaTypeImpl()
224 bool input, const std::shared_ptr<Codec2Client::Configurable> &configurable) { in QueryMediaType()
1059 const std::shared_ptr<Codec2Client::Configurable> &configurable) { in initialize()
1218 const std::shared_ptr<Codec2Client::Configurable> &configurable, in subscribeToConfigUpdate()
1263 const std::shared_ptr<Codec2Client::Configurable> &configurable) { in queryConfiguration()
1988 std::shared_ptr<Codec2Client::Configurable> configurable, in getConfigUpdateFromSdkParams()
2088 std::shared_ptr<Codec2Client::Configurable> configurable, in setParameters()
2167 const std::shared_ptr<Codec2Client::Configurable> &configurable, in subscribeToAllVendorParams()
2221 const std::shared_ptr<Codec2Client::Configurable> &configurable, in subscribeToVendorConfigUpdate()
2236 const std::shared_ptr<Codec2Client::Configurable> &configurable, in unsubscribeFromVendorConfigUpdate()
H A DInputSurfaceWrapper.h45 const std::shared_ptr<Codec2Client::Component> &comp) = 0;
/aosp_15_r20/frameworks/av/media/tests/benchmark/src/native/common/
H A 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;
H A DBenchmarkC2Common.cpp24 mClient = android::Codec2Client::CreateFromService("default"); in setupCodec2()
26 mClient = android::Codec2Client::CreateFromService("software"); in setupCodec2()
/aosp_15_r20/frameworks/av/media/codec2/sfplugin/include/media/stagefright/
H A DCCodec.h136 const std::shared_ptr<Codec2Client::Component> comp,
174 std::shared_ptr<Codec2Client::Component> comp;
199 std::shared_ptr<Codec2Client> mClient;
200 std::shared_ptr<Codec2Client::Listener> mClientListener;
/aosp_15_r20/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/
H A DVtsHalMediaC2V1_0TargetAudioDecTest.cpp82 mClient = android::Codec2Client::CreateFromService( in SetUp()
84 !bool(android::Codec2Client::CreateFromService("default", true))); 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;
245 void validateComponent(const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
276 bool isLargeAudioFrameSupported(const std::shared_ptr<android::Codec2Client::Component> &comp, in isLargeAudioFrameSupported()
299 c2_status_t configureLargeFrameParams(const std::shared_ptr<android::Codec2Client::Component> &comp, in configureLargeFrameParams()
367 bool setupConfigParam(const std::shared_ptr<android::Codec2Client::Component>& component, in setupConfigParam()
382 void getInputChannelInfo(const std::shared_ptr<android::Codec2Client::Component>& component, in getInputChannelInfo()
[all …]
H A DVtsHalMediaC2V1_0TargetAudioEncTest.cpp57 mClient = android::Codec2Client::CreateFromService( in SetUp()
59 !bool(android::Codec2Client::CreateFromService("default", true))); in SetUp()
158 std::shared_ptr<android::Codec2Client> mClient;
159 std::shared_ptr<android::Codec2Client::Listener> mListener;
160 std::shared_ptr<android::Codec2Client::Component> mComponent;
193 void validateComponent(const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
225 bool setupConfigParam(const std::shared_ptr<android::Codec2Client::Component>& component, in setupConfigParam()
325 void encodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in encodeNFrames()
/aosp_15_r20/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/
H A DVtsHalMediaC2V1_0TargetVideoDecTest.cpp109 mClient = android::Codec2Client::CreateFromService( in SetUp()
111 !bool(android::Codec2Client::CreateFromService("default", true))); in SetUp()
346 std::shared_ptr<android::Codec2Client> mClient;
347 std::shared_ptr<android::Codec2Client::Listener> mListener;
348 std::shared_ptr<android::Codec2Client::Component> mComponent;
370 void validateComponent(const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
423 void setOutputSurface(const std::shared_ptr<android::Codec2Client::Component>& component, in setOutputSurface()
435 std::shared_ptr<Codec2Client::Configurable> configurable; in setOutputSurface()
478 void decodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in decodeNFrames()
H A DVtsHalMediaC2V1_0TargetVideoEncTest.cpp58 mClient = android::Codec2Client::CreateFromService( in SetUp()
60 !bool(android::Codec2Client::CreateFromService("default", true))); in SetUp()
220 std::shared_ptr<android::Codec2Client> mClient;
221 std::shared_ptr<android::Codec2Client::Listener> mListener;
222 std::shared_ptr<android::Codec2Client::Component> mComponent;
240 void validateComponent(const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
330 void encodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in encodeNFrames()
/aosp_15_r20/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/component/
H A DVtsHalMediaC2V1_0TargetComponentTest.cpp67 mClient = android::Codec2Client::CreateFromService(mInstanceName.c_str()); in SetUp()
123 std::shared_ptr<android::Codec2Client> mClient;
124 std::shared_ptr<android::Codec2Client::Listener> mListener;
125 std::shared_ptr<android::Codec2Client::Component> mComponent;
/aosp_15_r20/frameworks/av/media/tests/benchmark/src/native/decoder/
H A DC2Decoder.h44 std::shared_ptr<android::Codec2Client::Listener> mListener;
45 std::shared_ptr<android::Codec2Client::Component> mComponent;
/aosp_15_r20/frameworks/av/media/tests/benchmark/src/native/encoder/
H A DC2Encoder.h63 std::shared_ptr<android::Codec2Client::Listener> mListener;
64 std::shared_ptr<android::Codec2Client::Component> mComponent;

12