Home
last modified time | relevance | path

Searched refs:SurfaceAllocator (Results 1 - 13 of 13) sorted by relevance

/foundation/multimedia/media_foundation/src/common/
H A Dsurface_allocator.cpp18 #define HST_LOG_TAG "SurfaceAllocator"
26 constexpr OHOS::HiviewDFX::HiLogLabel LABEL = { LOG_CORE, LOG_DOMAIN_FOUNDATION, "SurfaceAllocator" };
49 SurfaceAllocator::SurfaceAllocator(sptr<Surface> surface) in SurfaceAllocator() function in OHOS::Media::Plugins::SurfaceAllocator
58 sptr<SurfaceBuffer> SurfaceAllocator::AllocSurfaceBuffer() in AllocSurfaceBuffer()
98 void SurfaceAllocator::ReleaseSurfaceBuffer(sptr<SurfaceBuffer>& surfaceBuffer, bool needRender) in ReleaseSurfaceBuffer()
109 void* SurfaceAllocator::Alloc(size_t size) in Alloc()
114 void SurfaceAllocator::Free(void* ptr) // NOLINT: void* in Free()
119 void SurfaceAllocator::Config(int32_t width, int32_t height, uint64_t usage, int32_t format, int32_t strideAlign, in Config()
127 void SurfaceAllocator
[all...]
H A Dsurface_allocator.h29 class SurfaceAllocator : public Allocator { class
31 explicit SurfaceAllocator(sptr<Surface> surface = nullptr);
32 ~SurfaceAllocator() override = default;
H A Dsurface_memory.h60 std::shared_ptr<SurfaceAllocator> surfaceAllocator_ {nullptr};
H A Dsurface_memory.cpp39 surfaceAllocator_ = ReinterpretPointerCast<SurfaceAllocator>(this->allocator); in SurfaceMemory()
/foundation/multimedia/media_foundation/engine/plugin/common/
H A Dsurface_allocator.cpp18 #define HST_LOG_TAG "SurfaceAllocator"
45 SurfaceAllocator::SurfaceAllocator(sptr<Surface> surface) in SurfaceAllocator() function in OHOS::Media::Plugin::SurfaceAllocator
54 sptr<SurfaceBuffer> SurfaceAllocator::AllocSurfaceBuffer() in AllocSurfaceBuffer()
94 void SurfaceAllocator::ReleaseSurfaceBuffer(sptr<SurfaceBuffer>& surfaceBuffer, bool needRender) in ReleaseSurfaceBuffer()
105 void* SurfaceAllocator::Alloc(size_t size) in Alloc()
110 void SurfaceAllocator::Free(void* ptr) // NOLINT: void* in Free()
115 void SurfaceAllocator::Config(int32_t width, int32_t height, uint64_t usage, int32_t format, int32_t strideAlign, in Config()
123 void SurfaceAllocator::SetScaleType(VideoScaleType videoScaleType) in SetScaleType()
128 void SurfaceAllocator
[all...]
H A Dsurface_memory.cpp32 surfaceAllocator_ = ReinterpretPointerCast<SurfaceAllocator>(this->allocator); in SurfaceMemory()
/foundation/multimedia/media_foundation/engine/include/plugin/common/
H A Dsurface_allocator.h29 class SurfaceAllocator : public Allocator { class
31 explicit SurfaceAllocator(sptr<Surface> surface = nullptr);
32 ~SurfaceAllocator() override = default;
H A Dsurface_memory.h59 std::shared_ptr<SurfaceAllocator> surfaceAllocator_ {nullptr};
H A Dplugin_meta.h59 std::shared_ptr<SurfaceAllocator>);
/foundation/multimedia/media_foundation/engine/pipeline/filters/codec/video_decoder/
H A Dvideo_decoder_filter.cpp179 if (Plugin::Any::IsSameTypeWith<std::shared_ptr<Plugin::SurfaceAllocator>>(ite->second)) { in GetAllocator()
180 MEDIA_LOG_D("Get SurfaceAllocator from sink"); in GetAllocator()
181 return Plugin::AnyCast<std::shared_ptr<Plugin::SurfaceAllocator>>(ite->second); in GetAllocator()
/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/video_surface_sink/
H A Dsurface_sink_plugin.h96 std::shared_ptr<SurfaceAllocator> mAllocator_ {nullptr};
H A Dsurface_sink_plugin.cpp227 mAllocator_ = std::make_shared<SurfaceAllocator>(surface_); in SetParameter()
/foundation/multimedia/media_foundation/engine/pipeline/filters/sink/video_sink/
H A Dvideo_sink_filter.cpp140 auto allocator = Plugin::ReinterpretPointerCast<Plugin::SurfaceAllocator>(pluginAllocator); in HandleNegotiateParams()

Completed in 5 milliseconds