/frameworks/av/media/codec2/components/base/include/ |
D | SimpleC2Interface.h | 35 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 …]
|
D | SimpleC2Component.h | 35 const std::shared_ptr<C2ComponentInterface> &intf); 41 const std::shared_ptr<Listener> &listener, c2_blocking_t mayBlock) override; 51 virtual std::shared_ptr<C2ComponentInterface> intf() override; 94 const std::shared_ptr<C2BlockPool> &pool) = 0; 108 const std::shared_ptr<C2BlockPool> &pool) = 0; 142 std::shared_ptr<C2Buffer> createLinearBuffer( 143 const std::shared_ptr<C2LinearBlock> &block); 145 std::shared_ptr<C2Buffer> createLinearBuffer( 146 const std::shared_ptr<C2LinearBlock> &block, size_t offset, size_t size); 148 std::shared_ptr<C2Buffer> createGraphicBuffer( [all …]
|
/frameworks/av/media/codec2/vndk/internal/ |
D | C2BlockInternal.h | 73 std::shared_ptr<C2LinearBlock> CreateLinearBlock( 74 const std::shared_ptr<C2LinearAllocation> &alloc, 75 const std::shared_ptr<_C2BlockPoolData> &data = nullptr, 90 std::shared_ptr<C2GraphicBlock> CreateGraphicBlock( 91 const std::shared_ptr<C2GraphicAllocation> &alloc, 92 const std::shared_ptr<_C2BlockPoolData> &data = nullptr, 101 std::shared_ptr<_C2BlockPoolData> GetLinearBlockPoolData( 110 std::shared_ptr<_C2BlockPoolData> GetGraphicBlockPoolData( 122 std::shared_ptr<C2LinearBlock> CreateLinearBlock( 134 std::shared_ptr<C2GraphicBlock> CreateGraphicBlock( [all …]
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.h | 62 virtual std::shared_ptr<C2Buffer> asC2Buffer() = 0; 71 virtual bool canCopy(const std::shared_ptr<C2Buffer> &buffer) const { in canCopy() 84 virtual bool copy(const std::shared_ptr<C2Buffer> &buffer) { in copy() 95 bool canCopyLinear(const std::shared_ptr<C2Buffer> &buffer) const; 100 bool copyLinear(const std::shared_ptr<C2Buffer> &buffer); 118 std::shared_ptr<C2Buffer> asC2Buffer() override { return nullptr; } in asC2Buffer() 119 bool canCopy(const std::shared_ptr<C2Buffer> &buffer) const override; 120 bool copy(const std::shared_ptr<C2Buffer> &buffer) override; 131 const std::shared_ptr<C2Buffer> &buffer = nullptr); 133 std::shared_ptr<C2Buffer> asC2Buffer() override; [all …]
|
D | CCodecBuffers.h | 99 void setPool(const std::shared_ptr<C2BlockPool> &pool) { mPool = pool; } in setPool() 114 std::shared_ptr<C2Buffer> *c2buffer, 122 const std::shared_ptr<C2Buffer> &c2buffer) = 0; 150 std::shared_ptr<C2BlockPool> mPool; 168 const std::shared_ptr<C2Buffer> &buffer, 187 const sp<MediaCodecBuffer> &buffer, std::shared_ptr<C2Buffer> *c2buffer) = 0; 248 static std::shared_ptr<LocalBufferPool> Create(size_t poolCapacity); 273 VectorBuffer(std::vector<uint8_t> &&vec, const std::shared_ptr<LocalBufferPool> &pool); 336 std::shared_ptr<C2Buffer> *c2buffer, 347 bool expireComponentBuffer(const std::shared_ptr<C2Buffer> &c2buffer); [all …]
|
/frameworks/av/media/codec2/vndk/ |
D | C2Buffer.cpp | 120 _C2Block1DImpl(const std::shared_ptr<C2LinearAllocation> &alloc, in _C2Block1DImpl() 121 const std::shared_ptr<_C2BlockPoolData> &poolData = nullptr, in _C2Block1DImpl() 133 std::shared_ptr<_C2BlockPoolData> poolData() const { in poolData() 148 std::shared_ptr<C2LinearAllocation> getAllocation() const { in getAllocation() 153 std::shared_ptr<C2LinearAllocation> mAllocation; 154 std::shared_ptr<_C2BlockPoolData> mPoolData; 206 C2Block1D::C2Block1D(std::shared_ptr<Impl> impl, const _C2LinearRangeAspect &range) in C2Block1D() 222 C2ReadView::C2ReadView(std::shared_ptr<Impl> impl, uint32_t offset, uint32_t size) in C2ReadView() 252 C2WriteView::C2WriteView(std::shared_ptr<Impl> impl) in C2WriteView() 270 C2ConstLinearBlock::C2ConstLinearBlock(std::shared_ptr<Impl> impl, const _C2LinearRangeAspect &rang… in C2ConstLinearBlock() [all …]
|
D | C2Store.cpp | 47 std::shared_ptr<C2ComponentStore> GetPreferredCodec2ComponentStore(); 62 id_t id, std::shared_ptr<C2Allocator> *const allocator) override; 64 virtual std::vector<std::shared_ptr<const C2Allocator::Traits>> listAllocators_nb() in listAllocators_nb() 66 return std::vector<std::shared_ptr<const C2Allocator::Traits>>(); /// \todo in listAllocators_nb() 73 void setComponentStore(std::shared_ptr<C2ComponentStore> store); 79 std::shared_ptr<C2Allocator> fetchIonAllocator(); 82 std::shared_ptr<C2Allocator> fetchGrallocAllocator(); 85 std::shared_ptr<C2Allocator> fetchBufferQueueAllocator(); 91 std::shared_ptr<C2ComponentStore> _mComponentStore; 98 id_t id, std::shared_ptr<C2Allocator> *const allocator) { in fetchAllocator() [all …]
|
/frameworks/av/media/codec2/vndk/include/util/ |
D | C2InterfaceHelper.h | 120 size_t GetBaseOffset(const std::shared_ptr<C2ParamReflector> &reflector, 132 inline C2_HIDE ParamRef(std::shared_ptr<T> ¶m) 133 : _mRef(reinterpret_cast<std::shared_ptr<C2Param>*>(¶m)) { } 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 ¶m) const = 0; 219 Param<T> get(std::shared_ptr<T> ¶m, std::shared_ptr<T> altValue = nullptr) const { 238 Field(std::shared_ptr<FieldHelper> helper, C2Param::Index index); [all …]
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxEnc.h | 76 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; 215 std::shared_ptr<C2StreamPictureSizeInfo::input> mSize; 216 std::shared_ptr<C2StreamIntraRefreshTuning::output> mIntraRefresh; 217 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; 218 std::shared_ptr<C2StreamBitrateInfo::output> mBitrate; 219 std::shared_ptr<C2StreamBitrateModeTuning::output> mBitrateMode; 220 std::shared_ptr<C2StreamRequestSyncFrameTuning::output> mRequestSync; [all …]
|
D | C2SoftVpxDec.h | 32 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; 66 std::shared_ptr<IntfImpl> mIntf; 81 std::shared_ptr<Mutexed<ConversionQueue>> mQueue; 87 const std::shared_ptr<C2GraphicBlock> &block); 89 const std::shared_ptr<C2BlockPool> &pool, 93 const std::shared_ptr<C2BlockPool> &pool,
|
/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/ |
D | client.h | 111 std::vector<std::shared_ptr<C2ParamDescriptor>>* const params 152 std::shared_ptr<Listener> const& listener, 153 std::shared_ptr<Component>* const component); 157 std::shared_ptr<Interface>* const interface); 160 std::shared_ptr<InputSurface>* const inputSurface); 165 std::shared_ptr<C2Buffer> const& src, 166 std::shared_ptr<C2Buffer> const& dst); 168 std::shared_ptr<C2ParamReflector> getParamReflector(); 176 static std::shared_ptr<Codec2Client> CreateFromService(char const* name); 179 static std::vector<std::shared_ptr<Codec2Client>> CreateFromAllServices(); [all …]
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcEnc.h | 49 const std::shared_ptr<IntfImpl>& intfImpl); 58 const std::shared_ptr<C2BlockPool>& pool) override; 60 const std::shared_ptr<C2BlockPool>& pool) override; 66 std::shared_ptr<IntfImpl> mIntf; 84 std::shared_ptr<C2StreamPictureSizeInfo::input> mSize; 85 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; 86 std::shared_ptr<C2StreamBitrateInfo::output> mBitrate; 87 std::shared_ptr<C2StreamBitrateModeTuning::output> mBitrateMode; 88 std::shared_ptr<C2StreamComplexityTuning::output> mComplexity; 89 std::shared_ptr<C2StreamQualityTuning::output> mQuality; [all …]
|
/frameworks/minikin/include/minikin/ |
D | SystemFonts.h | 32 static std::shared_ptr<FontCollection> findFontCollection(const std::string& familyName) { in findFontCollection() 38 const std::shared_ptr<FontCollection>& fc) { in registerFallback() 43 static void registerDefault(const std::shared_ptr<FontCollection>& fc) { in registerDefault() 52 std::shared_ptr<FontCollection> findFontCollectionInternal(const std::string& familyName) const; 54 const std::shared_ptr<FontCollection>& fc) { in registerFallbackInternal() 58 void registerDefaultInternal(const std::shared_ptr<FontCollection>& fc) { in registerDefaultInternal() 67 std::map<std::string, std::shared_ptr<FontCollection>> mSystemFallbacks; 68 std::shared_ptr<FontCollection> mDefaultFallback;
|
D | FontCollection.h | 35 explicit FontCollection(const std::vector<std::shared_ptr<FontFamily>>& typefaces); 36 explicit FontCollection(std::shared_ptr<FontFamily>&& typeface); 64 std::shared_ptr<FontCollection> createCollectionWithVariation( 86 void init(const std::vector<std::shared_ptr<FontFamily>>& typefaces); 88 const std::shared_ptr<FontFamily>& getFamilyForChar(uint32_t ch, uint32_t vs, 93 const std::shared_ptr<FontFamily>& fontFamily) const; 96 const std::shared_ptr<FontFamily>& fontFamily) const; 111 std::vector<std::shared_ptr<FontFamily>> mFamilies; 123 std::vector<std::shared_ptr<FontFamily>> mVSFamilyVec;
|
/frameworks/ml/nn/runtime/ |
D | ExecutionPlan.h | 117 std::shared_ptr<Device> device); 151 std::shared_ptr<Device> getDevice() const { return mDevice; } in getDevice() 154 std::shared_ptr<PreparedModel> getPreparedStepModel() const { return mPreparedStepModel; } in getPreparedStepModel() 161 std::shared_ptr<StepExecutor> stepExecutor, const Memory* temporaryMemory, 185 std::shared_ptr<Device> mDevice; 186 std::shared_ptr<PreparedModel> mPreparedStepModel; 510 std::vector<std::shared_ptr<ExecutionBurstController>> makeBursts(int preference) const; 512 std::shared_ptr<Controller> makeController(ExecutionBuilder* executionBuilder, 519 int next(std::shared_ptr<Controller> controller, std::shared_ptr<StepExecutor>* executor, 520 std::shared_ptr<ExecutionBurstController>* burstController = nullptr, [all …]
|
/frameworks/av/media/codec2/vndk/include/ |
D | C2PlatformSupport.h | 31 std::shared_ptr<C2AllocatorStore> GetCodec2PlatformAllocatorStore(); 100 C2BlockPool::local_id_t id, std::shared_ptr<const C2Component> component, 101 std::shared_ptr<C2BlockPool> *pool); 117 std::shared_ptr<const C2Component> component, 118 std::shared_ptr<C2BlockPool> *pool); 124 std::shared_ptr<C2ComponentStore> GetCodec2PlatformComponentStore(); 132 void SetPreferredCodec2ComponentStore(std::shared_ptr<C2ComponentStore> store);
|
D | C2BufferPriv.h | 27 explicit C2BasicLinearBlockPool(const std::shared_ptr<C2Allocator> &allocator); 42 std::shared_ptr<C2LinearBlock> *block /* nonnull */) override; 47 const std::shared_ptr<C2Allocator> mAllocator; 52 explicit C2BasicGraphicBlockPool(const std::shared_ptr<C2Allocator> &allocator); 69 std::shared_ptr<C2GraphicBlock> *block /* nonnull */) override; 72 const std::shared_ptr<C2Allocator> mAllocator; 77 C2PooledBlockPool(const std::shared_ptr<C2Allocator> &allocator, const local_id_t localId); 92 std::shared_ptr<C2LinearBlock> *block /* nonnull */) override; 99 std::shared_ptr<C2GraphicBlock> *block) override; 118 const std::shared_ptr<C2Allocator> mAllocator;
|
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/ |
D | buffer_hub_queue_client.h | 41 std::function<void(const std::shared_ptr<BufferHubBase>&)>; 97 std::shared_ptr<BufferHubBase> GetBuffer(size_t slot) const { in GetBuffer() 146 pdx::Status<void> AddBuffer(const std::shared_ptr<BufferHubBase>& buffer, 162 pdx::Status<std::shared_ptr<BufferHubBase>> Dequeue(int timeout, 176 Entry(const std::shared_ptr<BufferHubBase>& in_buffer, size_t in_slot, in Entry() 179 Entry(const std::shared_ptr<BufferHubBase>& in_buffer, in Entry() 189 std::shared_ptr<BufferHubBase> buffer; 262 std::array<std::shared_ptr<BufferHubBase>, kMaxQueueCapacity> buffers_; 314 std::shared_ptr<ProducerBuffer> GetBuffer(size_t slot) const { in GetBuffer() 336 pdx::Status<void> AddBuffer(const std::shared_ptr<ProducerBuffer>& buffer, [all …]
|
/frameworks/av/media/codec2/components/raw/ |
D | C2SoftRawDec.cpp | 38 explicit IntfImpl(const std::shared_ptr<C2ReflectorHelper> &helper) in IntfImpl() 98 std::shared_ptr<C2StreamSampleRateInfo::output> mSampleRate; 99 std::shared_ptr<C2StreamChannelCountInfo::output> mChannelCount; 100 std::shared_ptr<C2StreamBitrateInfo::input> mBitrate; 101 std::shared_ptr<C2StreamMaxBufferSizeInfo::input> mInputMaxBufSize; 102 std::shared_ptr<C2StreamPcmEncodingInfo::output> mPcmEncodingInfo; 108 const std::shared_ptr<IntfImpl> &intfImpl) in C2SoftRawDec() 140 const std::shared_ptr<C2BlockPool> &pool) { in process() 167 const std::shared_ptr<C2BlockPool> &pool) { in drain() 189 std::shared_ptr<C2Component>* const component, in createComponent() [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | service.h | 70 static std::shared_ptr<Channel> GetFromMessageInfo(const MessageInfo& info); 205 int flags, const std::shared_ptr<Channel>& channel, int* channel_id); 212 Service* service, int flags, const std::shared_ptr<Channel>& channel, 233 std::shared_ptr<Channel>* channel) const; 240 std::shared_ptr<Channel>* channel) const; 248 std::shared_ptr<C>* channel) const { in CheckChannel() 249 std::shared_ptr<Channel> base_pointer; in CheckChannel() 259 std::shared_ptr<C>* channel) const { in CheckChannel() 260 std::shared_ptr<Channel> base_pointer; in CheckChannel() 312 std::shared_ptr<Channel> GetChannel() const; [all …]
|
/frameworks/av/media/codec2/vndk/util/ |
D | C2InterfaceHelper.cpp | 90 void createFieldsAndSupportedValues(const std::shared_ptr<C2ParamReflector> &reflector) { in createFieldsAndSupportedValues() 126 std::shared_ptr<FieldHelper> findField(size_t baseOffs, size_t baseSize) const { in findField() 138 std::shared_ptr<const C2ParamDescriptor> getDescriptor() const { in getDescriptor() 165 void setDefaultValue(std::shared_ptr<C2Param> default_) { in setDefaultValue() 194 void setGetter(std::function<std::shared_ptr<C2Param>(bool)> getter) { in setGetter() 209 c2_status_t validate(const std::shared_ptr<C2ParamReflector> &reflector) { in validate() 231 std::shared_ptr<C2Param> value() { in value() 235 std::shared_ptr<const C2Param> value() const { in value() 244 std::shared_ptr<C2Param> mDefaultValue; 247 std::function<std::shared_ptr<C2Param>(bool)> mGetter; [all …]
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | ClientManager.h | 301 std::vector<std::shared_ptr<ClientDescriptor<KEY, VALUE>>> addAndEvict( 302 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client); 318 std::shared_ptr<ClientDescriptor<KEY, VALUE>> remove(const KEY& key); 323 void remove(const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& value); 331 std::vector<std::shared_ptr<ClientDescriptor<KEY, VALUE>>> wouldEvict( 332 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const; 337 std::vector<std::shared_ptr<ClientDescriptor<KEY, VALUE>>> getIncompatibleClients( 338 const std::shared_ptr<ClientDescriptor<KEY, VALUE>>& client) const; 343 std::vector<std::shared_ptr<ClientDescriptor<KEY, VALUE>>> getAll() const; 360 std::shared_ptr<ClientDescriptor<KEY, VALUE>> get(const KEY& key) const; [all …]
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Enc.h | 33 const std::shared_ptr<IntfImpl>& intfImpl); 43 const std::shared_ptr<C2BlockPool> &pool) override; 46 const std::shared_ptr<C2BlockPool> &pool) override; 53 std::shared_ptr<IntfImpl> mIntf; 65 std::shared_ptr<C2StreamPictureSizeInfo::input> mSize; 66 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate; 67 std::shared_ptr<C2StreamBitrateInfo::output> mBitrate;
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | ValueMetricProducer_test.cpp | 32 using std::shared_ptr; 83 static shared_ptr<LogEvent> createEvent(int64_t eventTimeNs, int64_t value) { in createEvent() 84 shared_ptr<LogEvent> event = make_shared<LogEvent>(tagId, eventTimeNs); in createEvent() 216 .WillOnce(Invoke([](int tagId, vector<std::shared_ptr<LogEvent>>* data) { in TEST() 218 shared_ptr<LogEvent> event = make_shared<LogEvent>(tagId, bucketStartTimeNs); in TEST() 229 vector<shared_ptr<LogEvent>> allData; in TEST() 231 shared_ptr<LogEvent> event = make_shared<LogEvent>(tagId, bucket2StartTimeNs + 1); in TEST() 301 .WillOnce(Invoke([](int tagId, vector<std::shared_ptr<LogEvent>>* data) { in TEST() 303 shared_ptr<LogEvent> event = make_shared<LogEvent>(tagId, bucketStartTimeNs + 1); in TEST() 311 .WillOnce(Invoke([](int tagId, vector<std::shared_ptr<LogEvent>>* data) { in TEST() [all …]
|
/frameworks/av/media/codec2/hidl/services/ |
D | vendor.cpp | 55 std::shared_ptr<C2Component>* const /*component*/) override { in createComponent() 61 std::shared_ptr<C2ComponentInterface>* const /* interface */) override { in createInterface() 65 virtual std::vector<std::shared_ptr<const C2Component::Traits>> 71 std::shared_ptr<C2GraphicBuffer> /* src */, in copyBuffer() 72 std::shared_ptr<C2GraphicBuffer> /* dst */) override { in copyBuffer() 89 virtual std::shared_ptr<C2ParamReflector> getParamReflector() const override { in getParamReflector() 94 std::vector<std::shared_ptr<C2ParamDescriptor>>* const params) const override { in querySupportedParams_nb() 106 Interface(const std::shared_ptr<C2ReflectorHelper> &helper) in Interface() 136 std::shared_ptr<C2StoreIonUsageInfo> mIonUsageInfo; 138 std::shared_ptr<C2ReflectorHelper> mReflectorHelper;
|