/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() 147 std::shared_ptr<Codec2Client> client = getClient(); in getTraits() 418 struct Codec2Client::Component::HidlListener : public IComponentListener { 429 std::shared_ptr<Codec2Client::Component> strongComponent = in onWorkDone() 434 if (std::shared_ptr<Codec2Client::Listener> listener = base.lock()) { in onWorkDone() 454 if (std::shared_ptr<Codec2Client::Listener> listener = base.lock()) { in onTripped() [all …]
|
/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(); 186 std::shared_ptr<Codec2Client>* owner = nullptr); 192 std::shared_ptr<Codec2Client>* owner = nullptr); 202 Codec2Client(sp<Base> const& base, size_t serviceIndex); 212 std::function<c2_status_t(std::shared_ptr<Codec2Client> const&)> 221 static std::shared_ptr<Codec2Client> _CreateFromIndex(size_t index); argument [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/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 | 143 const std::shared_ptr<Codec2Client> &client, 144 const std::shared_ptr<Codec2Client::Component> &component); 238 std::shared_ptr<Codec2Client::Component> component, 250 std::shared_ptr<Codec2Client::Component> component, 257 const std::shared_ptr<Codec2Client::Component> &component); 321 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() 395 std::shared_ptr<Codec2Client> mClient; 398 Codec2ClientInterfaceWrapper(std::shared_ptr<Codec2Client> client) in Codec2ClientInterfaceWrapper() 461 struct CCodec::ClientListener : public Codec2Client::Listener { 466 const std::weak_ptr<Codec2Client::Component>& component, in onWorkDone() 477 const std::weak_ptr<Codec2Client::Component>& component, in onTripped() [all …]
|
D | C2OMXNode.cpp | 59 const std::shared_ptr<Codec2Client::Component> &comp, in queue() 86 std::shared_ptr<Codec2Client::Component> comp = queue.component.lock(); in threadLoop() 146 Queue(const std::shared_ptr<Codec2Client::Component> &comp, nsecs_t timestamp) in Queue() 151 std::weak_ptr<Codec2Client::Component> component; 156 std::map<std::weak_ptr<Codec2Client::Component>, 158 std::owner_less<std::weak_ptr<Codec2Client::Component>>> queues; 164 C2OMXNode::C2OMXNode(const std::shared_ptr<Codec2Client::Component> &comp) in C2OMXNode() 332 std::shared_ptr<Codec2Client::Component> comp = mComp.lock(); in emptyBuffer()
|
D | CCodec.h | 145 std::shared_ptr<Codec2Client::Component> comp; 170 std::shared_ptr<Codec2Client> mClient; 171 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 | CCodecBufferChannel.h | 82 void setComponent(const std::shared_ptr<Codec2Client::Component> &component); 223 std::shared_ptr<Codec2Client::Component> mComponent; 267 std::shared_ptr<Codec2Client::Configurable> outputPoolIntf;
|
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() 362 std::shared_ptr<Codec2Client::Interface> intf = in buildMediaCodecList() 363 Codec2Client::CreateInterfaceByName(nameOrAlias.c_str()); in buildMediaCodecList()
|
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() 837 const std::shared_ptr<Codec2Client> &client, in initialize() 838 const std::shared_ptr<Codec2Client::Component> &component) { in initialize() 961 const std::shared_ptr<Codec2Client::Component> &component, in subscribeToConfigUpdate() 986 const std::shared_ptr<Codec2Client::Component> &component) { in queryConfiguration() 1504 std::shared_ptr<Codec2Client::Component> component, in getConfigUpdateFromSdkParams() 1543 std::shared_ptr<Codec2Client::Component> component, in setParameters()
|
D | CCodecBufferChannel.cpp | 251 const std::shared_ptr<Codec2Client::Component> &component) { in setComponent() 1606 std::shared_ptr<Codec2Client::Configurable> outputPoolIntf; in setSurface()
|
/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()
|
D | MediaPlayerService.cpp | 721 for (std::shared_ptr<Codec2Client> const& client : in setDataSource_pre() 722 Codec2Client::CreateFromAllServices()) { in setDataSource_pre()
|