Home
last modified time | relevance | path

Searched refs:GetAllocator (Results 1 – 25 of 92) sorted by relevance

1234

/ohos5.0/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/
H A Dbuffer_allocator_utils.cpp49 std::shared_ptr<IBufferAllocator> BufferAllocatorUtils::GetAllocator(std::shared_ptr<IBuffer>& buff… in GetAllocator() function in OHOS::Camera::BufferAllocatorUtils
74 auto allocator = GetAllocator(buffer); in FreeBuffer()
81 auto allocator = GetAllocator(buffer); in MapBuffer()
88 auto allocator = GetAllocator(buffer); in UnmapBuffer()
95 auto allocator = GetAllocator(buffer); in FlushCache()
102 auto allocator = GetAllocator(buffer); in InvalidateCache()
/ohos5.0/drivers/peripheral/display/hal/default_standard/src/display_gralloc/
H A Ddisplay_gralloc.cpp25 return AllocatorManager::GetInstance().GetAllocator(info->usage)->AllocMem(*info, handle); in AllocMem()
32 AllocatorManager::GetInstance().GetAllocator(handle->usage)->FreeMem(handle); in FreeMem()
39 return AllocatorManager::GetInstance().GetAllocator(handle->usage)->Mmap(*handle); in Mmap()
46 return AllocatorManager::GetInstance().GetAllocator(handle->usage)->Unmap(*handle); in Unmap()
53 return AllocatorManager::GetInstance().GetAllocator(handle->usage)->FlushCache(*handle); in FlushCache()
60 return AllocatorManager::GetInstance().GetAllocator(handle->usage)->InvalidateCache(*handle); in InvalidateCache()
H A Dallocator_manager.h31 Allocator* GetAllocator(uint64_t usage);
H A Dallocator_manager.cpp66 Allocator* AllocatorManager::GetAllocator(uint64_t usage) in GetAllocator() function in OHOS::HDI::DISPLAY::AllocatorManager
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/core/
H A Dbase.cpp152 std::shared_ptr<Allocator> Base::GetAllocator() in GetAllocator() function in Base
154 return plugin_->GetAllocator(); in GetAllocator()
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/codec/video_decoder/
H A Dvideo_decoder_filter.cpp172 std::shared_ptr<Allocator> VideoDecoderFilter::GetAllocator() in GetAllocator() function in OHOS::Media::Pipeline::VideoDecoderFilter
185 return plugin_->GetAllocator(); in GetAllocator()
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/codec/
H A Dcodec_filter_base.cpp142 std::shared_ptr<Allocator> CodecFilterBase::GetAllocator() in GetAllocator() function in OHOS::Media::Pipeline::CodecFilterBase
144 return plugin_->GetAllocator(); in GetAllocator()
272 std::shared_ptr<Allocator> outAllocator = GetAllocator(); in Configure()
/ohos5.0/foundation/multimedia/media_foundation/test/unittest/plugins/
H A DUtCodecTest1.h40 std::shared_ptr<Allocator> GetAllocator() override;
H A DUtCodecTest2.h40 std::shared_ptr<Allocator> GetAllocator() override;
H A DUtSourceTest1.h44 std::shared_ptr<Allocator> GetAllocator() override;
H A DUtSourceTest2.h44 std::shared_ptr<Allocator> GetAllocator() override;
H A DUtDemuxerTest1.h48 std::shared_ptr<Allocator> GetAllocator() override;
H A DUtDemuxerTest2.h49 std::shared_ptr<Allocator> GetAllocator() override;
H A DUtAudioSinkTest1.h60 std::shared_ptr<Allocator> GetAllocator() override;
H A DUtAudioSinkTest2.h60 std::shared_ptr<Allocator> GetAllocator() override;
H A DUtCodecTest1.cpp58 std::shared_ptr<Allocator> UtCodecTest1::GetAllocator() in GetAllocator() function in UtCodecTest1
H A DUtCodecTest2.cpp58 std::shared_ptr<Allocator> UtCodecTest2::GetAllocator() in GetAllocator() function in UtCodecTest2
H A DUtSourceTest2.cpp75 std::shared_ptr<Allocator> UtSourceTest2::GetAllocator() in GetAllocator() function in UtSourceTest2
H A DUtSourceTest1.cpp76 std::shared_ptr<Allocator> UtSourceTest1::GetAllocator() in GetAllocator() function in OHOS::Media::Plugin::UtSourceTest1
/ohos5.0/drivers/peripheral/camera/vdi_base/common/include/
H A Dbuffer_allocator_utils.h27 static std::shared_ptr<IBufferAllocator> GetAllocator(std::shared_ptr<IBuffer>& buffer);
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/
H A Dhttp_source_plugin.cpp174 std::shared_ptr<Allocator> HttpSourcePlugin::GetAllocator() in GetAllocator() function in OHOS::Media::Plugin::HttpPlugin::HttpSourcePlugin
192 bufData = buffer->AllocMemory(GetAllocator(), expectedLen); in Read()
H A Dhttp_source_plugin.h40 std::shared_ptr<Allocator> GetAllocator() override;
/ohos5.0/foundation/multimedia/media_foundation/engine/include/plugin/interface/
H A Doutput_sink_plugin.h31 std::shared_ptr<Allocator> GetAllocator() override in GetAllocator() function
H A Dplugin_base.h213 virtual std::shared_ptr<Allocator> GetAllocator() in GetAllocator() function
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/video_capture/
H A Dvideo_file_capture_plugin.cpp204 std::shared_ptr<Allocator> VideoFileCapturePlugin::GetAllocator() in GetAllocator() function in OHOS::Media::Plugin::VideoCapture::VideoFileCapturePlugin
248 bufData = buffer->AllocMemory(GetAllocator(), expectedLen); in Read()

1234