Home
last modified time | relevance | path

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

12

/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();
187 std::shared_ptr<Codec2Client>* owner = nullptr,
195 std::shared_ptr<Codec2Client>* owner = nullptr,
206 Codec2Client(sp<Base> const& base, size_t serviceIndex);
230 std::function<c2_status_t(std::shared_ptr<Codec2Client> const&)>
239 static std::shared_ptr<Codec2Client> _CreateFromIndex(size_t index); argument
[all …]
/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()
150 std::shared_ptr<Codec2Client> client = getClient(); in getTraits()
421 struct Codec2Client::Component::HidlListener : public IComponentListener {
432 std::shared_ptr<Codec2Client::Component> strongComponent = in onWorkDone()
437 if (std::shared_ptr<Codec2Client::Listener> listener = base.lock()) { in onWorkDone()
457 if (std::shared_ptr<Codec2Client::Listener> listener = base.lock()) { in onTripped()
[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/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/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.h145 const std::shared_ptr<Codec2Client> &client,
146 const std::shared_ptr<Codec2Client::Component> &component);
240 std::shared_ptr<Codec2Client::Component> component,
252 std::shared_ptr<Codec2Client::Component> component,
259 const std::shared_ptr<Codec2Client::Component> &component);
323 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()
399 std::shared_ptr<Codec2Client> mClient;
402 Codec2ClientInterfaceWrapper(std::shared_ptr<Codec2Client> client) in Codec2ClientInterfaceWrapper()
465 struct CCodec::ClientListener : public Codec2Client::Listener {
470 const std::weak_ptr<Codec2Client::Component>& component, in onWorkDone()
481 const std::weak_ptr<Codec2Client::Component>& component, in onTripped()
[all …]
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.h146 std::shared_ptr<Codec2Client::Component> comp;
171 std::shared_ptr<Codec2Client> mClient;
172 std::shared_ptr<Codec2Client::Listener> mClientListener;
DC2OMXNode.h37 explicit C2OMXNode(const std::shared_ptr<Codec2Client::Component> &comp);
97 std::weak_ptr<Codec2Client::Component> mComp;
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()
363 std::shared_ptr<Codec2Client::Interface> intf = in buildMediaCodecList()
364 Codec2Client::CreateInterfaceByName(nameOrAlias.c_str()); in buildMediaCodecList()
DCCodecBufferChannel.h81 void setComponent(const std::shared_ptr<Codec2Client::Component> &component);
222 std::shared_ptr<Codec2Client::Component> mComponent;
266 std::shared_ptr<Codec2Client::Configurable> outputPoolIntf;
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()
836 const std::shared_ptr<Codec2Client> &client, in initialize()
837 const std::shared_ptr<Codec2Client::Component> &component) { in initialize()
960 const std::shared_ptr<Codec2Client::Component> &component, in subscribeToConfigUpdate()
985 const std::shared_ptr<Codec2Client::Component> &component) { in queryConfiguration()
1521 std::shared_ptr<Codec2Client::Component> component, in getConfigUpdateFromSdkParams()
1560 std::shared_ptr<Codec2Client::Component> component, in setParameters()
DCCodecBufferChannel.cpp252 const std::shared_ptr<Codec2Client::Component> &component) { in setComponent()
1621 std::shared_ptr<Codec2Client::Configurable> outputPoolIntf; in setSurface()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.h48 std::shared_ptr<android::Codec2Client::Listener> mListener;
49 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/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()

12