/frameworks/av/media/codec2/hal/client/include/codec2/hidl/ |
D | client.h | 179 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/ |
D | client.cpp | 126 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/ |
D | VtsHalMediaC2V1_0TargetMasterTest.cpp | 37 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/ |
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/hal/hidl/1.0/vts/functional/common/ |
D | media_c2_hidl_test_common.h | 85 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,
|
D | media_c2_hidl_test_common.cpp | 77 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/ |
D | CCodecConfig.h | 160 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,
|
D | C2NodeImpl.cpp | 61 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()
|
D | C2NodeImpl.h | 37 explicit C2NodeImpl(const std::shared_ptr<Codec2Client::Component> &comp, bool aidl); 104 std::weak_ptr<Codec2Client::Component> mComp;
|
D | CCodec.cpp | 164 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 …]
|
D | InputSurfaceWrapper.h | 45 const std::shared_ptr<Codec2Client::Component> &comp) = 0;
|
D | CCodecBufferChannel.h | 114 void setComponent(const std::shared_ptr<Codec2Client::Component> &component); 331 std::shared_ptr<Codec2Client::Component> mComponent; 389 std::shared_ptr<Codec2Client::Configurable> outputPoolIntf;
|
D | Codec2InfoBuilder.cpp | 99 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()
|
D | C2AidlNode.h | 31 explicit C2AidlNode(const std::shared_ptr<Codec2Client::Component> &comp);
|
D | C2OMXNode.h | 36 explicit C2OMXNode(const std::shared_ptr<Codec2Client::Component> &comp);
|
D | C2AidlNode.cpp | 35 C2AidlNode::C2AidlNode(const std::shared_ptr<Codec2Client::Component> &comp) in C2AidlNode()
|
/frameworks/av/media/tests/benchmark/src/native/decoder/ |
D | C2Decoder.h | 44 std::shared_ptr<android::Codec2Client::Listener> mListener; 45 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/sfplugin/include/media/stagefright/ |
D | CCodec.h | 136 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/ |
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 82 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 …]
|
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 57 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/ |
D | VtsHalMediaC2V1_0TargetComponentTest.cpp | 67 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/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 108 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()
|
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 58 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()
|