Home
last modified time | relevance | path

Searched refs:SurfaceMemory (Results 1 - 10 of 10) sorted by relevance

/foundation/multimedia/media_foundation/engine/plugin/common/
H A Dsurface_memory.cpp25 SurfaceMemory::SurfaceMemory(size_t capacity, std::shared_ptr<Allocator> allocator, size_t align) in SurfaceMemory() function in OHOS::Media::Plugin::SurfaceMemory
30 MEDIA_LOG_DD("SurfaceMemory ctor."); in SurfaceMemory()
37 SurfaceMemory::SurfaceMemory(sptr<SurfaceBuffer> surfaceBuffer, int32_t surfaceCapacity) in SurfaceMemory() function in OHOS::Media::Plugin::SurfaceMemory
43 SurfaceMemory::~SurfaceMemory() in ~SurfaceMemory()
45 MEDIA_LOG_DD("SurfaceMemory dtor."); in ~SurfaceMemory()
49 void SurfaceMemory::AllocSurfaceBuffer() in AllocSurfaceBuffer()
68 sptr<SurfaceBuffer> SurfaceMemory
[all...]
H A Dplugin_buffer.cpp33 if (!allocMem) { // SurfaceMemory alloc mem in subclass in Memory()
232 auto memory = std::shared_ptr<SurfaceMemory>(new SurfaceMemory(surfaceBuffer, bufferSize)); in WrapSurfaceMemory()
249 memory = std::shared_ptr<Memory>(new SurfaceMemory(capacity, allocator, align)); in AllocMemory()
/foundation/multimedia/media_foundation/src/common/
H A Dsurface_memory.cpp26 constexpr OHOS::HiviewDFX::HiLogLabel LABEL = { LOG_CORE, LOG_DOMAIN_FOUNDATION, "SurfaceMemory" };
32 SurfaceMemory::SurfaceMemory(size_t capacity, std::shared_ptr<Allocator> allocator, size_t align) in SurfaceMemory() function in OHOS::Media::Plugins::SurfaceMemory
37 MEDIA_LOG_DD("SurfaceMemory ctor."); in SurfaceMemory()
44 SurfaceMemory::SurfaceMemory(sptr<SurfaceBuffer> surfaceBuffer, int32_t surfaceCapacity) in SurfaceMemory() function in OHOS::Media::Plugins::SurfaceMemory
50 SurfaceMemory::~SurfaceMemory() in ~SurfaceMemory()
52 MEDIA_LOG_DD("SurfaceMemory dtor."); in ~SurfaceMemory()
56 void SurfaceMemory
[all...]
H A Dsurface_memory.h31 class SurfaceMemory : public Memory { class
33 ~SurfaceMemory();
49 explicit SurfaceMemory(size_t capacity, std::shared_ptr<Allocator> allocator = nullptr, size_t align = 1);
50 explicit SurfaceMemory(sptr<SurfaceBuffer> surfaceBuffer, int32_t surfaceCapacity);
/foundation/multimedia/media_foundation/engine/include/plugin/common/
H A Dsurface_memory.h30 class SurfaceMemory : public Memory { class
32 ~SurfaceMemory();
48 explicit SurfaceMemory(size_t capacity, std::shared_ptr<Allocator> allocator = nullptr, size_t align = 1);
49 explicit SurfaceMemory(sptr<SurfaceBuffer> surfaceBuffer, int32_t surfaceCapacity);
/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/video_surface_sink/
H A Dsurface_sink_plugin.cpp311 Status SurfaceSinkPlugin::UpdateSurfaceMemory(std::shared_ptr<SurfaceMemory>& surfaceMemory, int64_t pts) in UpdateSurfaceMemory()
349 std::shared_ptr<SurfaceMemory> surfaceMemory = ReinterpretPointerCast<SurfaceMemory>(memory); in Write()
H A Dsurface_sink_plugin.h88 Status UpdateSurfaceMemory(std::shared_ptr<SurfaceMemory>& surfaceMemory, int64_t pts);
/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/
H A Dcodec_buffer.cpp53 std::static_pointer_cast<Plugin::SurfaceMemory>(memory_)->GetSurfaceBuffer()->GetBufferHandle(); in Init()
124 auto outMem = std::static_pointer_cast<Plugin::SurfaceMemory>(memory_); in Rebind()
/foundation/multimedia/media_foundation/engine/pipeline/filters/codec/
H A Dasync_mode.cpp379 std::shared_ptr<Plugin::SurfaceMemory> surfaceMemory = in CheckBufferValidity()
380 Plugin::ReinterpretPointerCast<Plugin::SurfaceMemory>(memory); in CheckBufferValidity()
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_decoder/
H A Dvideo_ffmpeg_decoder_plugin.cpp639 std::shared_ptr<Plugin::SurfaceMemory> surfaceMemory = in WriteYuvData()
640 Plugin::ReinterpretPointerCast<Plugin::SurfaceMemory>(frameBufferMem); in WriteYuvData()
683 std::shared_ptr<Plugin::SurfaceMemory> surfaceMemory = in WriteRgbData()
684 Plugin::ReinterpretPointerCast<Plugin::SurfaceMemory>(frameBufferMem); in WriteRgbData()

Completed in 5 milliseconds