| /foundation/multimedia/player_framework/services/utils/ |
| D | avsharedmemorypool.cpp | 56 auto memory = AllocMemory(option_.memSize); in Init() local 68 AVSharedMemoryBase *memory = new (std::nothrow) AVSharedMemoryBase(size, option_.flags, name_); in AllocMemory() local 80 void AVSharedMemoryPool::ReleaseMemory(AVSharedMemory *memory) in ReleaseMemory() 183 AVSharedMemory *memory = nullptr; in AcquireMemory() local 199 …t = std::shared_ptr<AVSharedMemory>(memory, [weakPool = weak_from_this()](AVSharedMemory *memory) { in AcquireMemory() 228 for (auto &memory : idleList_) { in Reset() local
|
| D | avdatasrcmemory.cpp | 35 std::shared_ptr<AVDataSrcMemory> memory = std::make_shared<AVDataSrcMemory>(size, flags, name); in CreateFromLocal() local 45 …std::shared_ptr<AVDataSrcMemory> memory = std::make_shared<AVSharedMemoryBaseImpl>(fd, size, flags… in CreateFromRemote() local
|
| D | avsharedmemorybase.cpp | 39 …std::shared_ptr<AVSharedMemoryBase> memory = std::make_shared<AVSharedMemoryBase>(size, flags, nam… in CreateFromLocal() local 49 …std::shared_ptr<AVSharedMemoryBase> memory = std::make_shared<AVSharedMemoryBaseImpl>(fd, size, fl… in CreateFromRemote() local
|
| /foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/ |
| D | av_sync_utils.cpp | 61 void CloseAVTransSharedMemory(const AVTransSharedMemory &memory) noexcept in CloseAVTransSharedMemory() 74 int32_t WriteClockUnitToMemory(const AVTransSharedMemory &memory, AVSyncClockUnit &clockUnit) in WriteClockUnitToMemory() 115 int32_t ReadClockUnitFromMemory(const AVTransSharedMemory &memory, AVSyncClockUnit &clockUnit) in ReadClockUnitFromMemory() 161 int32_t WriteFrameInfoToMemory(const AVTransSharedMemory &memory, uint32_t frameNum, int64_t timest… in WriteFrameInfoToMemory() 192 int32_t ReadFrameInfoFromMemory(const AVTransSharedMemory &memory, uint32_t &frameNum, int64_t &tim… in ReadFrameInfoFromMemory() 223 int32_t ResetSharedMemory(const AVTransSharedMemory &memory) in ResetSharedMemory() 249 bool IsInValidSharedMemory(const AVTransSharedMemory &memory) in IsInValidSharedMemory() 260 std::string MarshalSharedMemory(const AVTransSharedMemory &memory) in MarshalSharedMemory()
|
| /foundation/multimedia/player_framework/services/services/common/ |
| D | avsharedmemory_ipc.cpp | 29 int32_t WriteAVSharedMemoryToParcel(const std::shared_ptr<AVSharedMemory> &memory, MessageParcel &p… in WriteAVSharedMemoryToParcel() 52 …std::shared_ptr<AVSharedMemory> memory = AVSharedMemoryBase::CreateFromRemote(fd, size, flags, nam… in ReadAVSharedMemoryFromParcel() local 67 … std::shared_ptr<AVSharedMemory> memory = AVDataSrcMemory::CreateFromRemote(fd, size, flags, name); in ReadAVDataSrcMemoryFromParcel() local
|
| /foundation/ai/neural_network_runtime/test/unittest/components/memory_manager/ |
| D | memory_manager_test.cpp | 121 void* memory = nullptr; variable 133 void* memory = malloc(10); variable 173 Memory memory; variable 187 Memory memory; variable 217 Memory memory; variable
|
| /foundation/multimedia/av_codec/services/services/common/ |
| D | avsharedmemory_ipc.cpp | 28 int32_t WriteAVSharedMemoryToParcel(const std::shared_ptr<AVSharedMemory> &memory, MessageParcel &p… in WriteAVSharedMemoryToParcel() 54 …std::shared_ptr<AVSharedMemory> memory = AVSharedMemoryBase::CreateFromRemote(fd, size, flags, nam… in ReadAVSharedMemoryFromParcel() local
|
| /foundation/ai/neural_network_runtime/frameworks/native/ |
| D | memory_manager.cpp | 46 Memory memory {fd, addr, length}; in MapMemory() local 64 auto& memory = m_memorys[buffer]; in UnMapMemory() local
|
| D | executor.cpp | 240 …cutor::SetInputFromMemory(uint32_t index, const OH_NN_Tensor& nnTensor, const OH_NN_Memory& memory) in SetInputFromMemory() 332 OH_NN_ReturnCode Executor::SetOutputFromMemory(uint32_t index, const OH_NN_Memory& memory) in SetOutputFromMemory() 394 OH_NN_ReturnCode Executor::CreateInputMemory(uint32_t index, size_t length, OH_NN_Memory** memory) in CreateInputMemory() 423 OH_NN_ReturnCode Executor::DestroyInputMemory(uint32_t index, OH_NN_Memory** memory) in DestroyInputMemory() 457 OH_NN_ReturnCode Executor::CreateOutputMemory(uint32_t index, size_t length, OH_NN_Memory** memory) in CreateOutputMemory() 486 OH_NN_ReturnCode Executor::DestroyOutputMemory(uint32_t index, OH_NN_Memory** memory) in DestroyOutputMemory()
|
| /foundation/ai/neural_network_runtime/test/unittest/components/v2_0/executor/ |
| D | executor_test.cpp | 269 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 346 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 368 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 396 OH_NN_Memory memory = {data, 1 * sizeof(float)}; variable 417 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 438 OH_NN_Memory memory = {data, 1 * sizeof(float)}; variable 536 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 607 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 628 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 646 OH_NN_Memory memory = {data, 0}; variable [all …]
|
| /foundation/ai/neural_network_runtime/test/unittest/components/v1_0/executor/ |
| D | executor_test.cpp | 269 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 346 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 368 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 396 OH_NN_Memory memory = {data, 1 * sizeof(float)}; variable 417 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 438 OH_NN_Memory memory = {data, 1 * sizeof(float)}; variable 536 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 607 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 628 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 646 OH_NN_Memory memory = {data, 0}; variable [all …]
|
| /foundation/multimedia/histreamer/tests/ut/ |
| D | TestPluginCommon.cpp | 32 std::shared_ptr<Memory> memory = audioBuffer->GetMemory(0); variable
|
| /foundation/multimedia/histreamer/engine/plugin/common/ |
| D | plugin_buffer.cpp | 203 … std::shared_ptr<Memory> memory = std::shared_ptr<Memory>(new Memory(capacity, allocator, align)); in CreateDefaultBuffer() local 210 …auto memory = std::shared_ptr<Memory>(new Memory(capacity, std::shared_ptr<uint8_t>(data, [](void*… in WrapMemory() local 218 auto memory = std::shared_ptr<Memory>(new Memory(capacity, data)); in WrapMemoryPtr() local 232 auto memory = std::shared_ptr<SurfaceMemory>(new SurfaceMemory(surfaceBuffer, bufferSize)); in WrapSurfaceMemory() local 241 std::shared_ptr<Memory> memory = nullptr; in AllocMemory() local
|
| /foundation/multimedia/av_codec/services/engine/source/hst_releated/ |
| D | plugin_buffer.cpp | 136 … std::shared_ptr<Memory> memory = std::shared_ptr<Memory>(new Memory(capacity, allocator, align)); in CreateDefaultBuffer() local 143 auto memory = std::shared_ptr<Memory>( in WrapMemory() local 152 auto memory = std::shared_ptr<Memory>(new Memory(capacity, dataptr)); in WrapMemoryPtr() local 161 std::shared_ptr<Memory> memory = nullptr; in AllocMemory() local
|
| /foundation/multimedia/player_framework/services/services/media_data_source/ipc/ |
| D | media_data_source_stub.cpp | 34 int32_t ReadFromParcel(MessageParcel &parcel, std::shared_ptr<AVSharedMemory> &memory) in ReadFromParcel() 80 std::shared_ptr<AVSharedMemory> memory = nullptr; in OnRemoteRequest() local
|
| /foundation/multimedia/av_codec/services/services/codec/ipc/ |
| D | codec_listener_stub.cpp | 33 …void ReadFromParcel(uint32_t index, MessageParcel &parcel, std::shared_ptr<AVSharedMemory> &memory) in ReadFromParcel() 134 std::shared_ptr<AVSharedMemory> memory = nullptr; in OnRemoteRequest() local 143 std::shared_ptr<AVSharedMemory> memory = nullptr; in OnRemoteRequest() local
|
| /foundation/multimedia/av_codec/services/engine/codec/audio/encoder/ |
| D | audio_ffmpeg_encoder_plugin.cpp | 58 auto memory = inputBuffer->GetBuffer(); in PcmFillFrame() local 94 auto memory = inputBuffer->GetBuffer(); in SendBuffer() local 167 auto memory = outBuffer->GetBuffer(); in ReceivePacketSucc() local
|
| /foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_control_center/inner_kits/src/ |
| D | av_trans_control_center_callback.cpp | 35 int32_t AVTransControlCenterCallback::SetSharedMemory(const AVTransSharedMemory &memory) in SetSharedMemory()
|
| /foundation/multimedia/player_framework/services/engine/gstreamer/plugins/common/ |
| D | gst_shmemory_wrap_allocator.cpp | 40 GstShMemoryWrapMemory *memory = in gst_shmemory_wrap() local 67 static void gst_shmemory_wrap_allocator_free(GstAllocator *allocator, GstMemory *memory) in gst_shmemory_wrap_allocator_free()
|
| D | gst_shmem_allocator.cpp | 63 …GstShMemMemory *memory = reinterpret_cast<GstShMemMemory *>(g_slice_alloc0(sizeof(GstShMemMemory))… in gst_shmem_allocator_alloc() local 76 void gst_shmem_allocator_free(GstAllocator *allocator, GstMemory *memory) in gst_shmem_allocator_free()
|
| /foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/ |
| D | neural_network_runtime_test.cpp | 1703 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 1725 OH_NN_Memory** memory = nullptr; variable 1744 OH_NN_Memory* memory = nullptr; variable 1766 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 1788 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 1807 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 1827 OH_NN_Memory** memory = nullptr; variable 1846 OH_NN_Memory* memory = nullptr; variable 1868 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 1889 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable [all …]
|
| /foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/ |
| D | neural_network_runtime_test.cpp | 1703 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 1725 OH_NN_Memory** memory = nullptr; variable 1744 OH_NN_Memory* memory = nullptr; variable 1766 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 1788 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 1807 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 1827 OH_NN_Memory** memory = nullptr; variable 1846 OH_NN_Memory* memory = nullptr; variable 1868 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable 1889 OH_NN_Memory memory = {data, 9 * sizeof(float)}; variable [all …]
|
| /foundation/multimedia/player_framework/services/engine/gstreamer/avcodec/sink_wrapper/ |
| D | sink_bytebuffer_impl.cpp | 84 GstMemory *memory = gst_buffer_peek_memory(bufferList_[index]->gstBuffer_, 0); in GetOutputBuffer() local 157 GstMemory *memory = gst_buffer_peek_memory(buffer, 0); in HandleNewSampleCb() local
|
| /foundation/multimedia/av_codec/services/utils/ |
| D | avsharedmemorybase.cpp | 41 …std::shared_ptr<AVSharedMemoryBase> memory = std::make_shared<AVSharedMemoryBase>(size, flags, nam… in CreateFromLocal() local 54 …std::shared_ptr<AVSharedMemoryBase> memory = std::make_shared<AVSharedMemoryBaseImpl>(fd, size, fl… in CreateFromRemote() local
|
| /foundation/multimedia/player_framework/services/engine/gstreamer/avcodec/src_wrapper/ |
| D | src_bytebuffer_impl.cpp | 107 GstMemory *memory = gst_buffer_peek_memory(bufferList_[index]->gstBuffer_, 0); in GetInputBuffer() local 224 GstMemory *memory = gst_buffer_peek_memory(buffer, 0); in HandleBufferAvailable() local
|