/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/ |
D | client.h | 125 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/ |
D | client.cpp | 82 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/ |
D | media_c2_hidl_test_common.h | 50 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,
|
D | media_c2_hidl_test_common.cpp | 25 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/ |
D | BenchmarkC2Common.h | 58 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;
|
D | BenchmarkC2Common.cpp | 24 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/ |
D | VtsHalMediaC2V1_0TargetMasterTest.cpp | 40 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/ |
D | CCodecConfig.h | 145 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,
|
D | CCodec.cpp | 136 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 …]
|
D | C2OMXNode.cpp | 59 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()
|
D | CCodec.h | 146 std::shared_ptr<Codec2Client::Component> comp; 171 std::shared_ptr<Codec2Client> mClient; 172 std::shared_ptr<Codec2Client::Listener> mClientListener;
|
D | C2OMXNode.h | 37 explicit C2OMXNode(const std::shared_ptr<Codec2Client::Component> &comp); 97 std::weak_ptr<Codec2Client::Component> mComp;
|
D | Codec2InfoBuilder.cpp | 72 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()
|
D | CCodecBufferChannel.h | 81 void setComponent(const std::shared_ptr<Codec2Client::Component> &component); 222 std::shared_ptr<Codec2Client::Component> mComponent; 266 std::shared_ptr<Codec2Client::Configurable> outputPoolIntf;
|
D | InputSurfaceWrapper.h | 44 const std::shared_ptr<Codec2Client::Component> &comp) = 0;
|
D | CCodecConfig.cpp | 182 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()
|
D | CCodecBufferChannel.cpp | 252 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/ |
D | C2Decoder.h | 48 std::shared_ptr<android::Codec2Client::Listener> mListener; 49 std::shared_ptr<android::Codec2Client::Component> mComponent;
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | C2Encoder.h | 63 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/ |
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 67 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()
|
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 73 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/ |
D | VtsHalMediaC2V1_0TargetComponentTest.cpp | 68 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/ |
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 66 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()
|
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 76 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/ |
D | MediaRecorderClient.cpp | 447 for (std::shared_ptr<Codec2Client> const& client : in setListener() 448 Codec2Client::CreateFromAllServices()) { in setListener()
|