Home
last modified time | relevance | path

Searched refs:Allocator (Results 1 - 25 of 117) sorted by relevance

12345

/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/include/
H A Dallocator.h29 } Allocator; typedef
31 extern const Allocator MEM_MALLOC;
32 extern const Allocator MEM_CALLOC;
/foundation/multimedia/media_foundation/engine/include/plugin/common/
H A Dplugin_memory.h44 struct Allocator { struct
45 explicit Allocator(MemoryType type = MemoryType::VIRTUAL_ADDR) : memoryType(type) {} in Allocator() function
46 virtual ~Allocator() = default;
125 explicit Memory(size_t capacity, std::shared_ptr<Allocator> allocator = nullptr,
152 std::shared_ptr<Allocator> allocator;
/foundation/multimedia/media_foundation/interface/inner_api/plugin/
H A Dplugin_memory.h34 struct Allocator { struct
35 explicit Allocator(MemoryType type = MemoryType::VIRTUAL_MEMORY) : memoryType(type) {} in Allocator() function
36 virtual ~Allocator() = default;
115 explicit Memory(size_t capacity, std::shared_ptr<Allocator> allocator = nullptr,
142 std::shared_ptr<Allocator> allocator;
H A Dplugin_buffer.h60 static std::shared_ptr<Buffer> CreateDefaultBuffer(size_t capacity, std::shared_ptr<Allocator> allocator = nullptr,
67 std::shared_ptr<Memory> AllocMemory(std::shared_ptr<Allocator> allocator, size_t capacity, size_t align = 1);
/foundation/multimedia/media_foundation/engine/pipeline/core/
H A Dtype_define.h31 using Allocator = Plugin::Allocator;
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
H A Dallocator.c26 const Allocator MEM_MALLOC = {
30 const Allocator MEM_CALLOC = {
/foundation/multimedia/media_foundation/test/unittest/
H A DTestPluginCommon.cpp29 std::shared_ptr<Allocator>(), 1); in HWTEST()
44 std::shared_ptr<Allocator>(), 1); in HWTEST()
/foundation/multimedia/media_foundation/test/unittest/plugins/
H A DUtSourceTest2.cpp75 std::shared_ptr<Allocator> UtSourceTest2::GetAllocator() in GetAllocator()
77 return std::shared_ptr<Allocator>(); in GetAllocator()
H A DUtCodecTest1.cpp58 std::shared_ptr<Allocator> UtCodecTest1::GetAllocator() in GetAllocator()
60 return std::shared_ptr<Allocator>(); in GetAllocator()
H A DUtCodecTest2.cpp58 std::shared_ptr<Allocator> UtCodecTest2::GetAllocator() in GetAllocator()
60 return std::shared_ptr<Allocator>(); in GetAllocator()
H A DUtDemuxerTest2.cpp84 std::shared_ptr<Allocator> UtDemuxerTest2::GetAllocator() in GetAllocator()
86 return std::shared_ptr<Allocator>(); in GetAllocator()
H A DUtSourceTest1.cpp76 std::shared_ptr<Allocator> UtSourceTest1::GetAllocator() in GetAllocator()
78 return std::shared_ptr<Allocator>(); in GetAllocator()
H A DUtDemuxerTest1.cpp92 std::shared_ptr<Allocator> UtDemuxerTest1::GetAllocator() in GetAllocator()
94 return std::shared_ptr<Allocator>(); in GetAllocator()
H A DUtAudioSinkTest2.cpp107 std::shared_ptr<Allocator> UtAudioSinkTest2::GetAllocator() in GetAllocator()
109 return std::shared_ptr<Allocator>(); in GetAllocator()
H A DUtAudioSinkTest1.cpp107 std::shared_ptr<Allocator> UtAudioSinkTest1::GetAllocator() in GetAllocator()
109 return std::shared_ptr<Allocator>(); in GetAllocator()
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/demuxer/
H A Dffmpeg_demuxer_plugin.h50 std::shared_ptr<Allocator> GetAllocator() override;
63 class DemuxerPluginAllocator : public Allocator {
109 std::shared_ptr<Allocator> allocator_;
/foundation/multimedia/av_codec/services/media_engine/plugins/source/
H A Dfile_source_plugin.h29 class FileSourceAllocator : public Allocator {
57 std::shared_ptr<Allocator> GetAllocator();
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/file_source/
H A Dfile_source_plugin.h27 class FileSourceAllocator : public Allocator {
47 std::shared_ptr<Allocator> GetAllocator() override;
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_lite_source/
H A Dhttp_lite_source_plugin.h27 class HttpSourceAllocator : public Allocator {
47 std::shared_ptr<Allocator> GetAllocator() override;
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/recovery/
H A Dapp_recovery_parcel_allocator.h23 class AppRecoveryParcelAllocator : public OHOS::Allocator {
/foundation/multimedia/media_foundation/src/common/
H A Dshare_allocator.cpp27 : Allocator(MemoryType::SHARED_MEMORY), shareMemType_(shareMemType) in ShareAllocator()
H A Dshare_allocator.h36 class ShareAllocator : public Allocator {
/foundation/multimedia/media_foundation/engine/plugin/common/
H A Dshare_allocator.cpp27 : Allocator(MemoryType::SHARE_MEMORY), shareMemType_(shareMemType) in ShareAllocator()
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Dparcel.h21 * Including class Parcel, Parcelable and related memory Allocator.
118 class Allocator { class
120 virtual ~Allocator() = default;
130 * @brief Default implement of Allocator.
132 * @note Allocator defined by user for a parcel need be specified manually.
134 class DefaultAllocator : public Allocator {
174 * @brief Construct a new Parcel object with specified Allocator.
176 * @param allocator Specified Allocator.
178 explicit Parcel(Allocator *allocator);
247 * @note Corresponding Allocator wil
[all...]
/foundation/multimedia/media_foundation/src/plugin/
H A Dplugin_buffer.cpp28 Memory::Memory(size_t capacity, std::shared_ptr<Allocator> allocator, size_t align, MemoryType type, bool allocMem) in Memory()
132 std::shared_ptr<Buffer> Buffer::CreateDefaultBuffer(size_t capacity, std::shared_ptr<Allocator> allocator, size_t align) in CreateDefaultBuffer()
156 std::shared_ptr<Memory> Buffer::AllocMemory(std::shared_ptr<Allocator> allocator, size_t capacity, size_t align) in AllocMemory()

Completed in 6 milliseconds

12345