Home
last modified time | relevance | path

Searched refs:shared_ptr (Results 1 – 25 of 1156) sorted by relevance

12345678910>>...47

/frameworks/av/media/codec2/vndk/internal/
DC2BlockInternal.h94 std::shared_ptr<C2LinearBlock> CreateLinearBlock(
95 const std::shared_ptr<C2LinearAllocation> &alloc,
96 const std::shared_ptr<_C2BlockPoolData> &data = nullptr,
111 std::shared_ptr<C2GraphicBlock> CreateGraphicBlock(
112 const std::shared_ptr<C2GraphicAllocation> &alloc,
113 const std::shared_ptr<_C2BlockPoolData> &data = nullptr,
122 std::shared_ptr<_C2BlockPoolData> GetLinearBlockPoolData(
131 std::shared_ptr<_C2BlockPoolData> GetGraphicBlockPoolData(
143 std::shared_ptr<C2LinearBlock> CreateLinearBlock(
155 std::shared_ptr<C2GraphicBlock> CreateGraphicBlock(
[all …]
/frameworks/av/media/codec2/components/aom/
DC2SoftAomEnc.h36 C2SoftAomEnc(const char* name, c2_node_id_t id, const std::shared_ptr<IntfImpl>& intfImpl);
46 const std::shared_ptr<C2BlockPool>& pool) override final;
47 c2_status_t drain(uint32_t drainMode, const std::shared_ptr<C2BlockPool>& pool) override final;
53 std::shared_ptr<IntfImpl> mIntf;
103 std::shared_ptr<C2StreamPictureSizeInfo::input> mSize;
104 std::shared_ptr<C2StreamIntraRefreshTuning::output> mIntraRefresh;
105 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate;
106 std::shared_ptr<C2StreamBitrateInfo::output> mBitrate;
107 std::shared_ptr<C2StreamQualityTuning::output> mQuality;
108 std::shared_ptr<C2StreamComplexityTuning::output> mComplexity;
[all …]
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Interface.h35 SimpleC2Interface(const char *name, c2_node_id_t id, const std::shared_ptr<T> &impl) in SimpleC2Interface()
62 std::vector<std::shared_ptr<C2ParamDescriptor>> * const params) const override { in querySupportedParams_nb()
74 const std::shared_ptr<T> mImpl;
88 const std::shared_ptr<C2ReflectorHelper> &helper,
126 std::shared_ptr<C2ApiLevelSetting> mApiLevel;
127 std::shared_ptr<C2ApiFeaturesSetting> mApiFeatures;
129 std::shared_ptr<C2PlatformLevelSetting> mPlatformLevel;
130 std::shared_ptr<C2PlatformFeaturesSetting> mPlatformFeatures;
132 std::shared_ptr<C2ComponentNameSetting> mName;
133 std::shared_ptr<C2ComponentAliasesSetting> mAliases;
[all …]
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.h76 const std::shared_ptr<IntfImpl>& intfImpl);
87 const std::shared_ptr<C2BlockPool> &pool) override final;
90 const std::shared_ptr<C2BlockPool> &pool) override final;
93 std::shared_ptr<IntfImpl> mIntf;
218 std::shared_ptr<C2StreamPictureSizeInfo::input> mSize;
219 std::shared_ptr<C2StreamIntraRefreshTuning::output> mIntraRefresh;
220 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate;
221 std::shared_ptr<C2StreamBitrateInfo::output> mBitrate;
222 std::shared_ptr<C2StreamBitrateModeTuning::output> mBitrateMode;
223 std::shared_ptr<C2StreamRequestSyncFrameTuning::output> mRequestSync;
[all …]
DC2SoftVpxDec.h32 const std::shared_ptr<IntfImpl>& intfImpl);
43 const std::shared_ptr<C2BlockPool> &pool) override;
46 const std::shared_ptr<C2BlockPool> &pool) override;
58 const std::shared_ptr<Mutexed<ConversionQueue>> &queue);
63 std::shared_ptr<Mutexed<ConversionQueue>> mQueue;
68 std::shared_ptr<C2StreamPixelFormatInfo::output> mPixelFormatInfo;
69 std::shared_ptr<C2StreamColorAspectsTuning::output> mColorAspects;
71 std::shared_ptr<IntfImpl> mIntf;
87 std::shared_ptr<Mutexed<ConversionQueue>> mQueue;
93 const std::shared_ptr<C2GraphicBlock> &block);
[all …]
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.h82 bool canCopyLinear(const std::shared_ptr<C2Buffer> &buffer) const;
87 bool copyLinear(const std::shared_ptr<C2Buffer> &buffer);
105 std::shared_ptr<C2Buffer> asC2Buffer() override { return nullptr; } in asC2Buffer()
106 bool canCopy(const std::shared_ptr<C2Buffer> &buffer) const override;
107 bool copy(const std::shared_ptr<C2Buffer> &buffer) override;
118 const std::shared_ptr<C2Buffer> &buffer = nullptr);
120 std::shared_ptr<C2Buffer> asC2Buffer() override;
122 bool canCopy(const std::shared_ptr<C2Buffer> &buffer) const override;
123 bool copy(const std::shared_ptr<C2Buffer> &buffer) override;
126 std::shared_ptr<C2Buffer> mBufferRef;
[all …]
/frameworks/av/media/codec2/hal/plugin/internal/
DFilterWrapper.h43 virtual std::shared_ptr<C2ComponentStore> getStore() = 0;
45 virtual bool isFilteringEnabled(const std::shared_ptr<C2ComponentInterface> &intf) = 0;
47 const std::shared_ptr<C2ComponentInterface> &intf,
53 const std::shared_ptr<C2Component> comp;
54 const std::shared_ptr<C2ComponentInterface> intf;
62 static std::shared_ptr<FilterWrapper> Create(std::unique_ptr<Plugin> &&plugin) { in Create()
63 return std::shared_ptr<FilterWrapper>(new FilterWrapper(std::move(plugin))); in Create()
70 std::shared_ptr<C2ComponentInterface> maybeWrapInterface(
71 const std::shared_ptr<C2ComponentInterface> intf);
76 std::shared_ptr<C2Component> maybeWrapComponent(
[all …]
/frameworks/av/media/codec2/hal/aidl/include/codec2/aidl/
DComponentStore.h55 ComponentStore(const std::shared_ptr<C2ComponentStore>& store);
68 const std::vector<std::shared_ptr<C2ParamDescriptor>>& params);
74 std::shared_ptr<ParameterCache> getParameterCache() const;
76 static std::shared_ptr<::android::FilterWrapper> GetFilterWrapper();
78 std::shared_ptr<MultiAccessUnitInterface> tryCreateMultiAccessUnitInterface(
79 const std::shared_ptr<C2ComponentInterface> &c2interface);
84 const std::shared_ptr<IComponentListener>& listener,
85 const std::shared_ptr<IClientManager>& pool,
86 std::shared_ptr<IComponent> *component) override;
89 std::shared_ptr<IComponentInterface> *intf) override;
[all …]
DComponent.h58 const std::shared_ptr<C2Component>&,
59 const std::shared_ptr<IComponentListener>& listener,
60 const std::shared_ptr<ComponentStore>& store,
61 const std::shared_ptr<bufferpool2::IClientManager>& clientPoolManager);
77 std::shared_ptr<IComponentInterface> *intf) override;
82 const std::shared_ptr<IInputSurface>& inputSurface,
83 std::shared_ptr<IInputSurfaceConnection> *connection) override;
85 std::shared_ptr<IInputSink> *sink) override;
89 std::shared_ptr<C2Component> mComponent;
90 std::shared_ptr<ComponentInterface> mInterface;
[all …]
DComponentInterface.h45 const std::shared_ptr<C2ComponentInterface>& interface,
46 const std::shared_ptr<ParameterCache>& cache);
48 const std::shared_ptr<C2ComponentInterface>& interface,
49 const std::shared_ptr<MultiAccessUnitInterface>& largeBufferIntf,
50 const std::shared_ptr<ParameterCache>& cache);
53 std::shared_ptr<IConfigurable> *intf) override;
56 std::shared_ptr<C2ComponentInterface> mInterface;
57 std::shared_ptr<CachedConfigurable> mConfigurable;
/frameworks/av/media/codec2/vndk/include/
DC2PlatformSupport.h37 std::shared_ptr<C2AllocatorStore> GetCodec2PlatformAllocatorStore();
135 C2BlockPool::local_id_t id, std::shared_ptr<const C2Component> component,
136 std::shared_ptr<C2BlockPool> *pool);
152 std::shared_ptr<const C2Component> component,
153 std::shared_ptr<C2BlockPool> *pool);
169 const std::vector<std::shared_ptr<const C2Component>> &components,
170 std::shared_ptr<C2BlockPool> *pool);
180 std::shared_ptr<::aidl::android::hardware::media::c2::IGraphicBufferAllocator> igba;
199 std::shared_ptr<const C2Component> component,
200 std::shared_ptr<C2BlockPool> *pool);
[all …]
/frameworks/native/libs/binder/tests/unit_fuzzers/
DPersistableBundleFuzzFunctions.h37 void(FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const&, String16*)>>
39 {[](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle,
41 [](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle,
46 [](FuzzedDataProvider* fdp, std::shared_ptr<os::PersistableBundle> const& p_bundle,
54 [](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle,
56 [](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle,
58 [](FuzzedDataProvider* fdp, std::shared_ptr<os::PersistableBundle> const& p_bundle,
63 [](FuzzedDataProvider* fdp, std::shared_ptr<os::PersistableBundle> const& p_bundle,
68 [](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle,
73 [](FuzzedDataProvider*, std::shared_ptr<os::PersistableBundle> const& p_bundle,
[all …]
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp125 std::shared_ptr<C2LinearBlock> *block /* nonnull */, in fetchLinearBlock()
137 std::shared_ptr<C2GraphicBlock> *block /* nonnull */, in fetchGraphicBlock()
156 _C2Block1DImpl(const std::shared_ptr<C2LinearAllocation> &alloc, in _C2Block1DImpl()
157 const std::shared_ptr<_C2BlockPoolData> &poolData = nullptr, in _C2Block1DImpl()
169 std::shared_ptr<_C2BlockPoolData> poolData() const { in poolData()
184 std::shared_ptr<C2LinearAllocation> getAllocation() const { in getAllocation()
189 std::shared_ptr<C2LinearAllocation> mAllocation;
190 std::shared_ptr<_C2BlockPoolData> mPoolData;
242 C2Block1D::C2Block1D(std::shared_ptr<Impl> impl, const _C2LinearRangeAspect &range) in C2Block1D()
258 C2ReadView::C2ReadView(std::shared_ptr<Impl> impl, uint32_t offset, uint32_t size) in C2ReadView()
[all …]
DC2Store.cpp54 std::shared_ptr<C2ComponentStore> GetPreferredCodec2ComponentStore();
69 id_t id, std::shared_ptr<C2Allocator> *const allocator) override;
71 virtual std::vector<std::shared_ptr<const C2Allocator::Traits>> listAllocators_nb() in listAllocators_nb()
73 return std::vector<std::shared_ptr<const C2Allocator::Traits>>(); /// \todo in listAllocators_nb()
80 void setComponentStore(std::shared_ptr<C2ComponentStore> store);
86 std::shared_ptr<C2Allocator> fetchBlobAllocator();
89 std::shared_ptr<C2Allocator> fetchIonAllocator();
90 std::shared_ptr<C2Allocator> fetchDmaBufAllocator();
93 std::shared_ptr<C2Allocator> fetchGrallocAllocator();
96 std::shared_ptr<C2Allocator> fetchBufferQueueAllocator();
[all …]
/frameworks/av/media/codec2/vndk/include/util/
DC2InterfaceHelper.h120 size_t GetBaseOffset(const std::shared_ptr<C2ParamReflector> &reflector,
132 inline C2_HIDE ParamRef(std::shared_ptr<T> &param)
133 : _mRef(reinterpret_cast<std::shared_ptr<C2Param>*>(&param)) { }
136 operator std::shared_ptr<C2Param> *() const { return _mRef; }
141 std::shared_ptr<C2Param> get() const { return *_mRef; }
144 std::shared_ptr<C2Param> *_mRef;
211 virtual std::shared_ptr<C2ParamReflector> getReflector() const = 0;
213 virtual std::shared_ptr<ParamHelper> getParamHelper(const ParamRef &param) const = 0;
219 Param<T> get(std::shared_ptr<T> &param, std::shared_ptr<T> altValue = nullptr) const {
238 Field(std::shared_ptr<FieldHelper> helper, C2Param::Index index);
[all …]
/frameworks/minikin/include/minikin/
DFontFamily.h42 static std::shared_ptr<FontFamily> create(std::vector<std::shared_ptr<Font>>&& fonts);
43 static std::shared_ptr<FontFamily> create(FamilyVariant variant,
44 std::vector<std::shared_ptr<Font>>&& fonts);
45 static std::shared_ptr<FontFamily> create(uint32_t localeListId, FamilyVariant variant,
46 std::vector<std::shared_ptr<Font>>&& fonts,
51 static std::shared_ptr<FontFamily> create(const std::shared_ptr<FontFamily>& parent,
57 static std::vector<std::shared_ptr<FontFamily>> readVector(BufferReader* reader);
59 const std::vector<std::shared_ptr<FontFamily>>& families);
70 const std::shared_ptr<Font>& getFontRef(size_t index) const { return mFonts[index]; } in getFontRef()
95 const std::shared_ptr<FontFamily>& getParent() const { return mParent; } in getParent()
[all …]
DSystemFonts.h34 static std::shared_ptr<FontCollection> findFontCollection(const std::string& familyName) { in findFontCollection()
39 const std::shared_ptr<FontCollection>& fc) { in registerFallback()
43 static void registerDefault(const std::shared_ptr<FontCollection>& fc) { in registerDefault()
49 static void addFontMap(std::shared_ptr<FontCollection>&& collections) { in addFontMap()
54 static void getFontSet(std::function<void(const std::vector<std::shared_ptr<Font>>&)> func) { in getFontSet()
63 std::shared_ptr<FontCollection> findFontCollectionInternal(const std::string& familyName);
65 const std::shared_ptr<FontCollection>& fc) { in registerFallbackInternal()
70 void registerDefaultInternal(const std::shared_ptr<FontCollection>& fc) { in registerDefaultInternal()
75 void addFontMapInternal(std::shared_ptr<FontCollection>&& collections) { in addFontMapInternal()
80 void getFontSetInternal(std::function<void(const std::vector<std::shared_ptr<Font>>&)> func) { in getFontSetInternal()
[all …]
DFontCollection.h59 static std::shared_ptr<FontCollection> create(
60 const std::vector<std::shared_ptr<FontFamily>>& typefaces);
61 static std::shared_ptr<FontCollection> create(std::shared_ptr<FontFamily>&& typeface);
63 static std::vector<std::shared_ptr<FontCollection>> readVector(BufferReader* reader);
65 const std::vector<std::shared_ptr<FontCollection>>& fontCollections);
182 std::shared_ptr<FontCollection> createCollectionWithVariation(
186 std::shared_ptr<FontCollection> createCollectionWithFamilies(
187 std::vector<std::shared_ptr<FontFamily>>&& families) const;
196 const std::shared_ptr<FontFamily>& getFamilyAt(size_t index) const { in getFamilyAt()
206 explicit FontCollection(const std::vector<std::shared_ptr<FontFamily>>& typefaces);
[all …]
/frameworks/av/media/codec2/hal/plugin/
DFilterWrapperStub.cpp30 std::shared_ptr<C2ComponentInterface> FilterWrapper::maybeWrapInterface( in maybeWrapInterface()
31 const std::shared_ptr<C2ComponentInterface> intf) { in maybeWrapInterface()
35 std::shared_ptr<C2Component> FilterWrapper::maybeWrapComponent( in maybeWrapComponent()
36 const std::shared_ptr<C2Component> comp) { in maybeWrapComponent()
40 bool FilterWrapper::isFilteringEnabled(const std::shared_ptr<C2ComponentInterface> &) { in isFilteringEnabled()
46 std::shared_ptr<const C2Component> component, in createBlockPool()
47 std::shared_ptr<C2BlockPool> *pool) { in createBlockPool()
55 std::shared_ptr<const C2Component> component, in createBlockPool()
56 std::shared_ptr<C2BlockPool> *pool) { in createBlockPool()
60 std::shared_ptr<C2ParamReflector> FilterWrapper::getParamReflector() { in getParamReflector()
/frameworks/av/services/tuner/
DTunerDemux.cpp45 TunerDemux::TunerDemux(const shared_ptr<IDemux> demux, const int id, in TunerDemux()
46 const shared_ptr<TunerService> tuner) { in TunerDemux()
61 const shared_ptr<ITunerFrontend>& in_frontend) { in setFrontendDataSource()
73 const shared_ptr<ITunerFilterCallback>& in_cb, in openFilter()
74 shared_ptr<ITunerFilter>* _aidl_return) { in openFilter()
75 shared_ptr<IFilter> filter; in openFilter()
76 shared_ptr<TunerFilter::FilterCallback> filterCb = in openFilter()
78 shared_ptr<IFilterCallback> cb = filterCb; in openFilter()
88 ::ndk::ScopedAStatus TunerDemux::openTimeFilter(shared_ptr<ITunerTimeFilter>* _aidl_return) { in openTimeFilter()
89 shared_ptr<ITimeFilter> filter; in openTimeFilter()
[all …]
DTunerDemux.h40 TunerDemux(const shared_ptr<IDemux> demux, const int demuxId,
41 const shared_ptr<TunerService> tuner);
45 const shared_ptr<ITunerFrontend>& in_frontend) override;
48 const shared_ptr<ITunerFilterCallback>& in_cb,
49 shared_ptr<ITunerFilter>* _aidl_return) override;
50 ::ndk::ScopedAStatus openTimeFilter(shared_ptr<ITunerTimeFilter>* _aidl_return) override;
51 ::ndk::ScopedAStatus getAvSyncHwId(const shared_ptr<ITunerFilter>& in_tunerFilter,
55 const shared_ptr<ITunerDvrCallback>& in_cb,
56 shared_ptr<ITunerDvr>* _aidl_return) override;
64 shared_ptr<IDemux> mDemux;
[all …]
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.h47 const std::shared_ptr<IntfImpl>& intfImpl);
56 const std::shared_ptr<C2BlockPool>& pool) override;
58 const std::shared_ptr<C2BlockPool>& pool) override;
64 std::shared_ptr<IntfImpl> mIntf;
82 std::shared_ptr<C2StreamPictureSizeInfo::input> mSize;
83 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate;
84 std::shared_ptr<C2StreamBitrateInfo::output> mBitrate;
85 std::shared_ptr<C2StreamBitrateModeTuning::output> mBitrateMode;
86 std::shared_ptr<C2StreamComplexityTuning::output> mComplexity;
87 std::shared_ptr<C2StreamQualityTuning::output> mQuality;
[all …]
/frameworks/av/media/codec2/hal/client/include/codec2/aidl/
DGraphicsTracker.h60 static std::shared_ptr<GraphicsTracker> CreateGraphicsTracker(int maxDequeueCount) { in CreateGraphicsTracker()
62 std::shared_ptr<GraphicsTracker> sp(p); in CreateGraphicsTracker()
191 std::shared_ptr<BufferItem> migrateBuffer(uint64_t newUsage, uint32_t newGeneration);
207 std::map<int, std::shared_ptr<BufferItem>> mBuffers;
233 std::shared_ptr<BufferCache> mBufferCache;
235 std::map<uint64_t, std::shared_ptr<BufferItem>> mDequeued;
290 const std::shared_ptr<BufferCache> &cache,
293 c2_status_t requestAllocate(std::shared_ptr<BufferCache> *cache);
296 std::shared_ptr<BufferCache> *cache, int *slotId,
298 c2_status_t requestRender(uint64_t bid, std::shared_ptr<BufferCache> *cache,
[all …]
/frameworks/av/media/codec2/hal/client/include/codec2/hidl/
Dclient.h141 std::vector<std::shared_ptr<C2ParamDescriptor>>* const params
150 explicit Codec2ConfigurableClient(const std::shared_ptr<AidlBase> &aidlBase);
166 std::vector<std::shared_ptr<C2ParamDescriptor>>* const params
212 std::shared_ptr<Listener> const& listener,
213 std::shared_ptr<Component>* const component);
217 std::shared_ptr<Interface>* const interface);
220 std::shared_ptr<InputSurface>* const inputSurface);
225 std::shared_ptr<C2Buffer> const& src,
226 std::shared_ptr<C2Buffer> const& dst);
228 std::shared_ptr<C2ParamReflector> getParamReflector();
[all …]
/frameworks/av/media/codec2/hal/hidl/1.0/utils/include/codec2/hidl/1.0/
DComponentStore.h58 ComponentStore(const std::shared_ptr<C2ComponentStore>& store);
71 const std::vector<std::shared_ptr<C2ParamDescriptor>>& params);
77 std::shared_ptr<ParameterCache> getParameterCache() const;
79 static std::shared_ptr<FilterWrapper> GetFilterWrapper();
81 std::shared_ptr<MultiAccessUnitInterface> tryCreateMultiAccessUnitInterface(
82 const std::shared_ptr<C2ComponentInterface> &c2interface);
115 std::shared_ptr<StoreParameterCache> mParameterCache;
118 void onInterfaceLoaded(const std::shared_ptr<C2ComponentInterface> &intf);
121 std::shared_ptr<C2StructDescriptor> describe(const C2Param::CoreIndex &index);
124 std::shared_ptr<C2ComponentStore> mStore;
[all …]

12345678910>>...47