/aosp12/frameworks/av/media/codec2/hidl/client/ |
H A D | client.cpp | 175 class Codec2Client::Cache { 612 Codec2Client::Codec2Client(sp<Base> const& base, in Codec2Client() function in android::Codec2Client 635 sp<Codec2Client::Base> const& Codec2Client::getBase() const { in getBase() 639 sp<Codec2Client::Base1_0> const& Codec2Client::getBase1_0() const { in getBase1_0() 643 sp<Codec2Client::Base1_1> const& Codec2Client::getBase1_1() const { in getBase1_1() 647 sp<Codec2Client::Base1_2> const& Codec2Client::getBase1_2() const { in getBase1_2() 833 c2_status_t Codec2Client::copyBuffer( in copyBuffer() 967 std::shared_ptr<Codec2Client> Codec2Client::CreateFromService( in CreateFromService() 988 std::vector<std::shared_ptr<Codec2Client>> Codec2Client:: 999 std::shared_ptr<Codec2Client> Codec2Client::_CreateFromIndex(size_t index) { in _CreateFromIndex() [all …]
|
/aosp12/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/ |
H A D | client.h | 138 friend struct Codec2Client; 141 struct Codec2Client : public Codec2ConfigurableClient { struct 160 typedef Codec2Client Store; argument 275 struct Codec2Client::Interface : public Codec2Client::Configurable { argument 285 struct Codec2Client::Listener { 325 struct Codec2Client::Component : public Codec2Client::Configurable { 449 friend struct Codec2Client; 456 struct Codec2Client::InputSurface : public Codec2Client::Configurable { 480 friend struct Codec2Client; 484 struct Codec2Client::InputSurfaceConnection : public Codec2Client::Configurable { [all …]
|
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/master/ |
H A D | VtsHalMediaC2V1_0TargetMasterTest.cpp | 36 mClient = android::Codec2Client::CreateFromService(GetParam().c_str()); in SetUp() 45 std::shared_ptr<android::Codec2Client> mClient; 70 std::shared_ptr<android::Codec2Client::Listener> listener; in TEST_P() 71 std::shared_ptr<android::Codec2Client::Component> component; in TEST_P() 77 android::Codec2Client::CreateComponentByName( in TEST_P() 88 testing::ValuesIn(android::Codec2Client::GetServiceNames()),
|
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/ |
H A D | media_c2_hidl_test_common.h | 74 struct CodecListener : public android::Codec2Client::Listener { 79 virtual void onWorkDone(const std::weak_ptr<android::Codec2Client::Component>& comp, in onWorkDone() 88 const std::weak_ptr<android::Codec2Client::Component>& comp, in onTripped() 95 virtual void onError(const std::weak_ptr<android::Codec2Client::Component>& comp, in onError() 103 virtual void onDeath(const std::weak_ptr<android::Codec2Client::Component>& comp) override { in onDeath() 140 void testInputBuffer(const std::shared_ptr<android::Codec2Client::Component>& component, 148 void workDone(const std::shared_ptr<android::Codec2Client::Component>& component,
|
H A D | media_c2_hidl_test_common.cpp | 68 void testInputBuffer(const std::shared_ptr<android::Codec2Client::Component>& component, in testInputBuffer() 122 void workDone(const std::shared_ptr<android::Codec2Client::Component>& component, in workDone() 189 auto instances = android::Codec2Client::GetServiceNames(); in getTestParameters() 191 std::shared_ptr<android::Codec2Client> client = in getTestParameters() 192 android::Codec2Client::CreateFromService(instance.c_str()); in getTestParameters()
|
/aosp12/frameworks/av/media/tests/benchmark/src/native/common/ |
H A 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;
|
H A D | BenchmarkC2Common.cpp | 24 mClient = android::Codec2Client::CreateFromService("default"); in setupCodec2() 26 mClient = android::Codec2Client::CreateFromService("software"); in setupCodec2()
|
/aosp12/frameworks/av/media/codec2/sfplugin/ |
H A D | CCodecConfig.h | 158 const std::shared_ptr<Codec2Client::Configurable> &configurable); 251 std::shared_ptr<Codec2Client::Configurable> configurable, 263 std::shared_ptr<Codec2Client::Configurable> configurable, 270 const std::shared_ptr<Codec2Client::Configurable> &configurable); 278 const std::shared_ptr<Codec2Client::Configurable> &configurable, 354 const std::shared_ptr<Codec2Client::Configurable> &configurable, 362 const std::shared_ptr<Codec2Client::Configurable> &configurable, 374 const std::shared_ptr<Codec2Client::Configurable> &configurable,
|
H A D | C2OMXNode.cpp | 64 const std::shared_ptr<Codec2Client::Component> &comp, in queue() 113 std::shared_ptr<Codec2Client::Component> comp = queue.component.lock(); in threadLoop() 178 Queue(const std::shared_ptr<Codec2Client::Component> &comp) in Queue() 183 std::weak_ptr<Codec2Client::Component> component; 188 std::map<std::weak_ptr<Codec2Client::Component>, 190 std::owner_less<std::weak_ptr<Codec2Client::Component>>> queues; 197 C2OMXNode::C2OMXNode(const std::shared_ptr<Codec2Client::Component> &comp) in C2OMXNode() 247 std::shared_ptr<Codec2Client::Component> comp = mComp.lock(); in getParameter() 392 std::shared_ptr<Codec2Client::Component> comp = mComp.lock(); in emptyBuffer()
|
H A D | CCodec.cpp | 435 std::shared_ptr<Codec2Client> mClient; 737 std::shared_ptr<Codec2Client> client; in allocate() 747 std::shared_ptr<Codec2Client::Component> comp; in allocate() 807 std::shared_ptr<Codec2Client::Component> comp; in configure() 1689 std::shared_ptr<Codec2Client::Component> comp; in start() 1779 std::shared_ptr<Codec2Client::Component> comp; in stop() 1869 std::shared_ptr<Codec2Client::Component> comp; in release() 1942 std::shared_ptr<Codec2Client::Component> comp; in flush() 1978 std::shared_ptr<Codec2Client::Component> comp; in signalResume() 2021 std::shared_ptr<Codec2Client::Component> comp; in signalSetParameters() [all …]
|
H A D | C2OMXNode.h | 37 explicit C2OMXNode(const std::shared_ptr<Codec2Client::Component> &comp); 107 std::weak_ptr<Codec2Client::Component> mComp;
|
H A D | CCodecBufferChannel.h | 100 void setComponent(const std::shared_ptr<Codec2Client::Component> &component); 259 std::shared_ptr<Codec2Client::Component> mComponent; 307 std::shared_ptr<Codec2Client::Configurable> outputPoolIntf;
|
H A D | Codec2InfoBuilder.cpp | 72 std::shared_ptr<Codec2Client::Interface> intf, in addSupportedProfileLevels() 199 std::shared_ptr<Codec2Client::Interface> intf, in addSupportedColorFormats() 330 std::vector<Traits> traits = Codec2Client::ListComponents(); in buildMediaCodecList() 426 std::shared_ptr<Codec2Client::Interface> intf = in buildMediaCodecList() 427 Codec2Client::CreateInterfaceByName(nameOrAlias.c_str()); in buildMediaCodecList()
|
H A D | InputSurfaceWrapper.h | 44 const std::shared_ptr<Codec2Client::Component> &comp) = 0;
|
H A D | CCodecConfig.cpp | 189 const std::shared_ptr<Codec2Client::Configurable> &configurable) { in QueryMediaTypeImpl() 217 bool input, const std::shared_ptr<Codec2Client::Configurable> &configurable) { in QueryMediaType() 962 const std::shared_ptr<Codec2Client::Configurable> &configurable) { in initialize() 1098 const std::shared_ptr<Codec2Client::Configurable> &configurable, in subscribeToConfigUpdate() 1123 const std::shared_ptr<Codec2Client::Configurable> &configurable) { in queryConfiguration() 1752 std::shared_ptr<Codec2Client::Configurable> configurable, in getConfigUpdateFromSdkParams() 1791 std::shared_ptr<Codec2Client::Configurable> configurable, in setParameters() 1870 const std::shared_ptr<Codec2Client::Configurable> &configurable, in subscribeToAllVendorParams() 1922 const std::shared_ptr<Codec2Client::Configurable> &configurable, in subscribeToVendorConfigUpdate() 1937 const std::shared_ptr<Codec2Client::Configurable> &configurable, in unsubscribeFromVendorConfigUpdate()
|
/aosp12/frameworks/av/media/codec2/sfplugin/include/media/stagefright/ |
H A 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;
|
/aosp12/frameworks/av/media/tests/benchmark/src/native/decoder/ |
H A D | C2Decoder.h | 44 std::shared_ptr<android::Codec2Client::Listener> mListener; 45 std::shared_ptr<android::Codec2Client::Component> mComponent;
|
/aosp12/frameworks/av/media/tests/benchmark/src/native/encoder/ |
H A D | C2Encoder.h | 63 std::shared_ptr<android::Codec2Client::Listener> mListener; 64 std::shared_ptr<android::Codec2Client::Component> mComponent;
|
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/ |
H A D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 83 mClient = android::Codec2Client::CreateFromService( in SetUp() 85 !bool(android::Codec2Client::CreateFromService("default", true))); in SetUp() 203 std::shared_ptr<android::Codec2Client> mClient; 204 std::shared_ptr<android::Codec2Client::Listener> mListener; 205 std::shared_ptr<android::Codec2Client::Component> mComponent; 226 void validateComponent(const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent() 258 bool setupConfigParam(const std::shared_ptr<android::Codec2Client::Component>& component, in setupConfigParam() 273 void getInputChannelInfo(const std::shared_ptr<android::Codec2Client::Component>& component, in getInputChannelInfo() 316 void decodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in decodeNFrames()
|
H A D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 56 mClient = android::Codec2Client::CreateFromService( in SetUp() 58 !bool(android::Codec2Client::CreateFromService("default", true))); in SetUp() 156 std::shared_ptr<android::Codec2Client> mClient; 157 std::shared_ptr<android::Codec2Client::Listener> mListener; 158 std::shared_ptr<android::Codec2Client::Component> mComponent; 191 void validateComponent(const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent() 223 bool setupConfigParam(const std::shared_ptr<android::Codec2Client::Component>& component, in setupConfigParam() 323 void encodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in encodeNFrames()
|
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/ |
H A D | VtsHalMediaC2V1_0TargetComponentTest.cpp | 65 mClient = android::Codec2Client::CreateFromService(mInstanceName.c_str()); in SetUp() 112 std::shared_ptr<android::Codec2Client> mClient; 113 std::shared_ptr<android::Codec2Client::Listener> mListener; 114 std::shared_ptr<android::Codec2Client::Component> mComponent;
|
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
H A D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 56 mClient = android::Codec2Client::CreateFromService( in SetUp() 58 !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; 236 void validateComponent(const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent() 326 void encodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in encodeNFrames()
|
H A D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 106 mClient = android::Codec2Client::CreateFromService( in SetUp() 108 !bool(android::Codec2Client::CreateFromService("default", true))); in SetUp() 329 std::shared_ptr<android::Codec2Client> mClient; 330 std::shared_ptr<android::Codec2Client::Listener> mListener; 331 std::shared_ptr<android::Codec2Client::Component> mComponent; 353 void validateComponent(const std::shared_ptr<android::Codec2Client::Component>& component, in validateComponent() 406 void setOutputSurface(const std::shared_ptr<android::Codec2Client::Component>& component, in setOutputSurface() 436 void decodeNFrames(const std::shared_ptr<android::Codec2Client::Component>& component, in decodeNFrames()
|
/aosp12/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.cpp | 486 for (std::shared_ptr<Codec2Client> const& client : in setListener() 487 Codec2Client::CreateFromAllServices()) { in setListener()
|
/aosp12/frameworks/av/media/codec2/sfplugin/tests/ |
H A D | CCodecConfig_test.cpp | 71 mConfigurable = std::make_shared<Codec2Client::Configurable>(cachedConfigurable); in init() 261 std::shared_ptr<Codec2Client::Configurable> mConfigurable; 493 status_t connect(const std::shared_ptr<Codec2Client::Component> &) override { in TEST_F()
|