Home
last modified time | relevance | path

Searched defs:mem (Results 1 – 25 of 50) sorted by relevance

12

/foundation/multimedia/av_codec/frameworks/native/capi/common/
Dnative_avmemory.cpp28 OH_AVMemory::OH_AVMemory(const std::shared_ptr<OHOS::MediaAVCodec::AVSharedMemory> &mem) in OH_AVMemory()
37 bool OH_AVMemory::IsEqualMemory(const std::shared_ptr<OHOS::MediaAVCodec::AVSharedMemory> &mem) in IsEqualMemory()
50 struct OH_AVMemory *mem = new(std::nothrow) OH_AVMemory(sharedMemory); in OH_AVMemory_Create() local
57 uint8_t *OH_AVMemory_GetAddr(struct OH_AVMemory *mem) in OH_AVMemory_GetAddr()
65 int32_t OH_AVMemory_GetSize(struct OH_AVMemory *mem) in OH_AVMemory_GetSize()
73 OH_AVErrCode OH_AVMemory_Destroy(struct OH_AVMemory *mem) in OH_AVMemory_Destroy()
/foundation/multimedia/histreamer/tests/st/helper/
Dmedia_data_source_imp.cpp35 int32_t IMediaDataSourceImpl::ReadAt(const std::shared_ptr<AVSharedMemory> &mem, uint32_t length, i… in ReadAt()
41 …diaDataSourceImpl::ReadAt(int64_t pos, uint32_t length, const std::shared_ptr<AVSharedMemory> &mem) in ReadAt()
77 uint32_t IMediaDataSourceImpl::GetDataFromSource(const std::shared_ptr<AVSharedMemory> &mem, uint32… in GetDataFromSource()
89 int32_t IMediaDataSourceImpl::ReadAt(uint32_t length, const std::shared_ptr<AVSharedMemory> &mem) in ReadAt()
/foundation/multimedia/player_framework/services/engine/gstreamer/plugins/common/
Dgst_shmem_memory.h26 std::shared_ptr<OHOS::Media::AVSharedMemory> mem; member
31 static inline gboolean gst_is_shmem_memory(GstMemory *mem) in gst_is_shmem_memory()
Dgst_shmemory_wrap_allocator.cpp85 static gpointer gst_shmemory_wrap_allocator_mem_map(GstMemory *mem, gsize maxsize, GstMapFlags flag… in gst_shmemory_wrap_allocator_mem_map()
104 static void gst_shmemory_wrap_allocator_mem_unmap(GstMemory *mem) in gst_shmemory_wrap_allocator_mem_unmap()
109 static GstMemory *gst_shmemory_wrap_allocator_mem_share(GstMemory *mem, gssize offset, gssize size) in gst_shmemory_wrap_allocator_mem_share()
149 static GstMemory *gst_shmemory_wrap_allocator_mem_copy(GstShMemoryWrapMemory *mem, gssize offset, g… in gst_shmemory_wrap_allocator_mem_copy()
Dgst_shmem_allocator.cpp95 static gpointer gst_shmem_allocator_mem_map(GstMemory *mem, gsize maxsize, GstMapFlags flags) in gst_shmem_allocator_mem_map()
108 static void gst_shmem_allocator_mem_unmap(GstMemory *mem) in gst_shmem_allocator_mem_unmap()
113 static GstMemory *gst_shmem_allocator_mem_copy(GstShMemMemory *mem, gssize offset, gssize size) in gst_shmem_allocator_mem_copy()
170 static GstShMemMemory *gst_shmem_allocator_mem_share(GstMemory *mem, gssize offset, gssize size) in gst_shmem_allocator_mem_share()
Dgst_surface_memory.h33 static inline gboolean gst_is_surface_memory(GstMemory *mem) in gst_is_surface_memory()
Dgst_shmemory_wrap_memory.h38 static inline gboolean gst_is_shmemory_wrap_memory(GstMemory *mem) in gst_is_shmemory_wrap_memory()
/foundation/multimedia/player_framework/services/engine/gstreamer/plugins/source/memsource/
Dgst_consumer_surface_allocator.cpp43 gboolean gst_is_consumer_surface_memory(GstMemory *mem) in gst_is_consumer_surface_memory()
56 GstConsumerSurfaceMemory *mem = in gst_consumer_surface_allocator_alloc() local
107 static void gst_consumer_surface_allocator_free(GstAllocator *allocator, GstMemory *mem) in gst_consumer_surface_allocator_free()
121 static gpointer gst_consumer_surface_allocator_mem_map(GstMemory *mem, gsize maxsize, GstMapFlags f… in gst_consumer_surface_allocator_mem_map()
134 static void gst_consumer_surface_allocator_mem_unmap(GstMemory *mem) in gst_consumer_surface_allocator_mem_unmap()
139 static GstMemory *gst_consumer_surface_allocator_mem_copy(GstConsumerSurfaceMemory *mem, gssize off… in gst_consumer_surface_allocator_mem_copy()
/foundation/multimedia/player_framework/frameworks/native/player/test/unittest/src/data_source/
Dmedia_data_source_test_seekable.cpp77 int32_t MediaDataSourceTestSeekable::ReadAt(const std::shared_ptr<AVSharedMemory> &mem, uint32_t le… in ReadAt()
108 …ourceTestSeekable::ReadAt(int64_t pos, uint32_t length, const std::shared_ptr<AVSharedMemory> &mem) in ReadAt()
116 …_t MediaDataSourceTestSeekable::ReadAt(uint32_t length, const std::shared_ptr<AVSharedMemory> &mem) in ReadAt()
Dmedia_data_source_test_noseek.cpp76 int32_t MediaDataSourceTestNoSeek::ReadAt(const std::shared_ptr<AVSharedMemory> &mem, uint32_t leng… in ReadAt()
103 …aSourceTestNoSeek::ReadAt(int64_t pos, uint32_t length, const std::shared_ptr<AVSharedMemory> &mem) in ReadAt()
111 …32_t MediaDataSourceTestNoSeek::ReadAt(uint32_t length, const std::shared_ptr<AVSharedMemory> &mem) in ReadAt()
/foundation/multimedia/player_framework/services/services/media_data_source/ipc/
Dmedia_data_source_proxy.cpp74 int32_t MediaDataCallback::ReadAt(const std::shared_ptr<AVSharedMemory> &mem, uint32_t length, int6… in ReadAt()
82 …MediaDataCallback::ReadAt(int64_t pos, uint32_t length, const std::shared_ptr<AVSharedMemory> &mem) in ReadAt()
90 int32_t MediaDataCallback::ReadAt(uint32_t length, const std::shared_ptr<AVSharedMemory> &mem) in ReadAt()
114 int32_t MediaDataSourceProxy::ReadAt(const std::shared_ptr<AVSharedMemory> &mem, uint32_t length, i… in ReadAt()
/foundation/multimedia/av_codec/test/unittest/common/common_mock/avmemory/inner/
Davmemory_inner_mock.h26 explicit AVMemoryInnerMock(std::shared_ptr<AVSharedMemory> mem) : memory_(mem) {} in AVMemoryInnerMock()
/foundation/multimedia/av_codec/test/unittest/common/common_mock/avmemory/capi/
Davmemory_capi_mock.h26 explicit AVMemoryCapiMock(OH_AVMemory *mem) : memory_(mem) {} in AVMemoryCapiMock()
/foundation/multimedia/player_framework/test/unittest/avcodec_test/native/avmemory/
Davmemory_native_mock.h26 explicit AVMemoryNativeMock(std::shared_ptr<AVSharedMemory> mem) : memory_(mem) {} in AVMemoryNativeMock()
/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/
Davmetadatahelper_impl.cpp60 static PixelMapMemHolder *CreatePixelMapData(const std::shared_ptr<AVSharedMemory> &mem, const Outp… in CreatePixelMapData()
106 static std::shared_ptr<PixelMap> CreatePixelMap(const std::shared_ptr<AVSharedMemory> &mem, PixelFo… in CreatePixelMap()
223 auto mem = avMetadataHelperService_->FetchFrameAtTime(timeUs, option, config); in FetchFrameAtTime() local
/foundation/multimedia/player_framework/services/engine/gstreamer/common/appsrc_engine/
Dgst_appsrc_engine.cpp95 auto mem = AVDataSrcMemory::CreateFromLocal( in Prepare() local
334 auto mem = appSrcMem_->GetMem(); in PullBuffer() local
426 GstMemory *mem = gst_shmemory_wrap(GST_ALLOCATOR_CAST(allocator_), in PushBuffer() local
509 auto mem = AVDataSrcMemory::CreateFromLocal( in AddSrcMem() local
557 std::shared_ptr<AppsrcMemory> mem = appSrcMemVec_[subscript]; in FreePointerMemory() local
/foundation/multimedia/player_framework/frameworks/js/avplayer/
Dmedia_data_source_callback.cpp67 int32_t MediaDataSourceCallback::ReadAt(const std::shared_ptr<AVSharedMemory> &mem, uint32_t length… in ReadAt()
156 …ataSourceCallback::ReadAt(int64_t pos, uint32_t length, const std::shared_ptr<AVSharedMemory> &mem) in ReadAt()
164 int32_t MediaDataSourceCallback::ReadAt(uint32_t length, const std::shared_ptr<AVSharedMemory> &mem) in ReadAt()
/foundation/graphic/graphic_2d/utils/raw_parser/export/
Draw_parser.h35 uint8_t *mem; member
49 uint8_t mem[0]; member
/foundation/multimedia/player_framework/test/unittest/avcodec_test/native/audiodecoder/
Daudiodec_native_mock.cpp49 std::shared_ptr<AVSharedMemory> mem = audioDec->GetInputBuffer(index); in OnInputBufferAvailable() local
61 std::shared_ptr<AVSharedMemory> mem = audioDec->GetOutputBuffer(index); in OnOutputBufferAvailable() local
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
Ddympool.c78 DympMemory *mem = FILLP_NULL_PTR; in DympDestroyPool() local
126 DympMemory *mem = FILLP_NULL_PTR; in DympExpandMemory() local
/foundation/multimedia/player_framework/test/unittest/avcodec_test/native/audioencoder/
Daudioenc_native_mock.cpp49 std::shared_ptr<AVSharedMemory> mem = audioEnc->GetInputBuffer(index); in OnInputBufferAvailable() local
61 std::shared_ptr<AVSharedMemory> mem = audioEnc->GetOutputBuffer(index); in OnOutputBufferAvailable() local
/foundation/multimedia/player_framework/services/engine/gstreamer/avcodec/sink_wrapper/
Dsink_bytebuffer_impl.cpp209 int32_t SinkBytebufferImpl::FindBufferIndex(uint32_t &index, std::shared_ptr<AVSharedMemory> mem) in FindBufferIndex()
231 int32_t SinkBytebufferImpl::AddAdtsHead(std::shared_ptr<AVSharedMemory> mem, uint32_t rawFrameSize) in AddAdtsHead()
/foundation/communication/netstack/frameworks/js/napi/websocket/async_context/src/
Dsend_context.cpp60 void *mem = NapiUtils::GetInfoFromArrayBufferValue(GetEnv(), params[0], &len); in HandleParseArrayBuffer() local
/foundation/arkui/ui_lite/frameworks/font/
Dui_line_break.cpp33 static void MemFree(const void* context, void* mem) in MemFree()
41 static void* MemRealloc(const void* context, void* mem, size_t size) in MemRealloc()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/memory/
Drs_memory_graphic.cpp73 MemoryGraphic* mem = new MemoryGraphic(pid, cpuMemSize, gpuMemSize); in Unmarshalling() local

12