Home
last modified time | relevance | path

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

12

/frameworks/av/media/codec2/hal/client/include/codec2/hidl/
Dclient.h179 struct Codec2Client : public Codec2ConfigurableClient { struct
200 typedef Codec2Client Store; argument
241 static std::shared_ptr<Codec2Client> CreateFromService(
246 static std::vector<std::shared_ptr<Codec2Client>> CreateFromAllServices();
255 std::shared_ptr<Codec2Client>* owner = nullptr,
263 std::shared_ptr<Codec2Client>* owner = nullptr,
277 Codec2Client(
281 Codec2Client(
311 std::function<c2_status_t(std::shared_ptr<Codec2Client> const&)> argument
323 static std::shared_ptr<Codec2Client> _CreateFromIndex(size_t index); argument
[all …]
/frameworks/av/media/codec2/hal/client/
Dclient.cpp126 std::vector<std::string> const& names = Codec2Client::GetServiceNames(); in getServiceIndex()
137 std::shared_ptr<Codec2Client> mClient;
140 Client2Store(std::shared_ptr<Codec2Client> const& client) in Client2Store()
219 class Codec2Client::Cache {
221 std::shared_ptr<Codec2Client> mClient;
244 std::shared_ptr<Codec2Client> getClient() { in getClient()
247 mClient = Codec2Client::_CreateFromIndex(mIndex); in getClient()
271 std::shared_ptr<Codec2Client> client = getClient(); in getTraits()
843 struct Codec2Client::Component::HidlListener : public c2_hidl::IComponentListener {
854 std::shared_ptr<Codec2Client::Component> strongComponent = in onWorkDone()
[all …]
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/master/
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()),
/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/hal/hidl/1.0/vts/functional/common/
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,
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()
/frameworks/av/media/codec2/sfplugin/
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,
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()
DC2NodeImpl.h37 explicit C2NodeImpl(const std::shared_ptr<Codec2Client::Component> &comp, bool aidl);
104 std::weak_ptr<Codec2Client::Component> mComp;
DCCodec.cpp164 const std::shared_ptr<Codec2Client::InputSurface> &surface) : in C2InputSurfaceWrapper()
170 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect()
205 std::shared_ptr<Codec2Client::InputSurface> mSurface;
206 std::shared_ptr<Codec2Client::InputSurfaceConnection> mConnection;
224 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect()
481 status_t connect(const std::shared_ptr<Codec2Client::Component> &comp) override { in connect()
691 std::shared_ptr<Codec2Client> mClient;
694 Codec2ClientInterfaceWrapper(std::shared_ptr<Codec2Client> client) in Codec2ClientInterfaceWrapper()
823 struct CCodec::ClientListener : public Codec2Client::Listener {
828 const std::weak_ptr<Codec2Client::Component>& component, in onWorkDone()
[all …]
DInputSurfaceWrapper.h45 const std::shared_ptr<Codec2Client::Component> &comp) = 0;
DCCodecBufferChannel.h114 void setComponent(const std::shared_ptr<Codec2Client::Component> &component);
331 std::shared_ptr<Codec2Client::Component> mComponent;
389 std::shared_ptr<Codec2Client::Configurable> outputPoolIntf;
DCodec2InfoBuilder.cpp99 std::shared_ptr<Codec2Client::Interface> intf, in addSupportedProfileLevels()
249 std::shared_ptr<Codec2Client::Interface> intf, in addSupportedColorFormats()
431 std::vector<Traits> traits = Codec2Client::ListComponents(); in buildMediaCodecList()
528 std::shared_ptr<Codec2Client> client; in buildMediaCodecList()
529 std::shared_ptr<Codec2Client::Interface> intf = in buildMediaCodecList()
530 Codec2Client::CreateInterfaceByName(nameOrAlias.c_str(), &client); in buildMediaCodecList()
DC2AidlNode.h31 explicit C2AidlNode(const std::shared_ptr<Codec2Client::Component> &comp);
DC2OMXNode.h36 explicit C2OMXNode(const std::shared_ptr<Codec2Client::Component> &comp);
DC2AidlNode.cpp35 C2AidlNode::C2AidlNode(const std::shared_ptr<Codec2Client::Component> &comp) in C2AidlNode()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.h44 std::shared_ptr<android::Codec2Client::Listener> mListener;
45 std::shared_ptr<android::Codec2Client::Component> mComponent;
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.h63 std::shared_ptr<android::Codec2Client::Listener> mListener;
64 std::shared_ptr<android::Codec2Client::Component> mComponent;
/frameworks/av/media/codec2/sfplugin/include/media/stagefright/
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;
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/
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 …]
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()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/component/
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;
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp108 mClient = android::Codec2Client::CreateFromService( in SetUp()
110 !bool(android::Codec2Client::CreateFromService("default", true))); in SetUp()
330 std::shared_ptr<android::Codec2Client> mClient;
331 std::shared_ptr<android::Codec2Client::Listener> mListener;
332 std::shared_ptr<android::Codec2Client::Component> mComponent;
354 void validateComponent(const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent()
407 void setOutputSurface(const std::shared_ptr<android::Codec2Client::Component>& component, in setOutputSurface()
420 std::shared_ptr<Codec2Client::Configurable> configurable; in setOutputSurface()
452 void decodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in decodeNFrames()
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()

12