| /foundation/multimedia/image_effect/frameworks/native/effect/manager/memory_manager/ |
| D | effect_memory_manager.cpp | 51 std::shared_ptr<Memory> memory = std::make_shared<Memory>(); in AddFilterMemory() local 89 std::shared_ptr<Memory> memory = std::make_shared<Memory>(); in AllocMemoryInner() local 98 for (const auto &memory : memorys_) { in AllocMemory() local 123 std::shared_ptr<Memory> memory = AllocMemoryInner(allocMemInfo, allocBufferType); in AllocMemory() local 131 void EffectMemoryManager::AddMemory(std::shared_ptr<Memory> &memory) in AddMemory() 145 for (auto &memory : memorys_) { in GetAllocMemoryByAddr() local 169 void EffectMemoryManager::RemoveMemory(std::shared_ptr<Memory> &memory) in RemoveMemory()
|
| /foundation/multimedia/media_foundation/src/common/ |
| D | avsharedmemorypool.cpp | 58 auto memory = AllocMemory(option_.memSize); in Init() local 70 AVSharedMemoryBase *memory = new (std::nothrow) AVSharedMemoryBase(size, option_.flags, name_); in AllocMemory() local 81 void AVSharedMemoryPool::ReleaseMemory(AVSharedMemory *memory) in ReleaseMemory() 186 AVSharedMemory *memory = nullptr; in AcquireMemory() local 202 …t = std::shared_ptr<AVSharedMemory>(memory, [weakPool = weak_from_this()](AVSharedMemory *memory) { in AcquireMemory() 231 for (auto &memory : idleList_) { in Reset() local
|
| /foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
| D | memory_manager.cpp | 46 Memory memory {fd, addr, length}; in MapMemory() local 65 auto& memory = m_memorys[buffer]; in UnMapMemory() local 77 OH_NN_ReturnCode MemoryManager::GetMemory(const void* buffer, Memory& memory) in GetMemory()
|
| D | neural_network_runtime_compat.cpp | 144 …_NNExecutor_DestroyInputMemory(OH_NNExecutor *executor, uint32_t inputIndex, OH_NN_Memory **memory) in OH_NNExecutor_DestroyInputMemory() 169 …NExecutor_DestroyOutputMemory(OH_NNExecutor *executor, uint32_t outputIndex, OH_NN_Memory **memory) in OH_NNExecutor_DestroyOutputMemory() 195 uint32_t inputIndex, const OH_NN_Tensor *tensor, const OH_NN_Memory *memory) in OH_NNExecutor_SetInputWithMemory() 215 uint32_t outputIndex, const OH_NN_Memory *memory) in OH_NNExecutor_SetOutputWithMemory()
|
| /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/distributedhardware/distributed_hardware_fwk/av_transport/common/test/unittest/ |
| D | av_sync_utils_test.cpp | 61 AVTransSharedMemory memory = { variable 72 AVTransSharedMemory memory = { variable 91 AVTransSharedMemory memory = { variable
|
| /foundation/multimedia/media_foundation/tests/unittest/avshared_memory_pool/ |
| D | avshared_memory_pool_test.cpp | 47 AVSharedMemory *memory = nullptr; variable 62 AVSharedMemory *memory = nullptr; variable 91 std::shared_ptr<AVSharedMemory> memory = pool->AcquireMemory(size, blocking); variable
|
| /foundation/multimedia/av_codec/services/services/common/ |
| D | avsharedmemory_ipc.cpp | 29 int32_t WriteAVSharedMemoryToParcel(const std::shared_ptr<AVSharedMemory> &memory, MessageParcel &p… in WriteAVSharedMemoryToParcel() 55 …std::shared_ptr<AVSharedMemory> memory = Media::AVSharedMemoryBase::CreateFromRemote(fd, size, fla… in ReadAVSharedMemoryFromParcel() local
|
| /foundation/multimedia/media_foundation/tests/unittest/avbuffer/ |
| D | avsharedmemorybase_func_unit_test.cpp | 56 std::shared_ptr<AVSharedMemoryBase> memory = variable 69 std::shared_ptr<AVSharedMemoryBase> memory = variable
|
| /foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/ |
| D | av_sync_utils.cpp | 65 void CloseAVTransSharedMemory(const AVTransSharedMemory &memory) noexcept in CloseAVTransSharedMemory() 78 int32_t WriteClockUnitToMemory(const AVTransSharedMemory &memory, AVSyncClockUnit &clockUnit) in WriteClockUnitToMemory() 119 int32_t ReadClockUnitFromMemory(const AVTransSharedMemory &memory, AVSyncClockUnit &clockUnit) in ReadClockUnitFromMemory() 166 int32_t WriteFrameInfoToMemory(const AVTransSharedMemory &memory, uint32_t frameNum, int64_t timest… in WriteFrameInfoToMemory() 198 int32_t ReadFrameInfoFromMemory(const AVTransSharedMemory &memory, uint32_t &frameNum, int64_t &tim… in ReadFrameInfoFromMemory() 229 int32_t ResetSharedMemory(const AVTransSharedMemory &memory) in ResetSharedMemory() 257 bool IsInValidSharedMemory(const AVTransSharedMemory &memory) in IsInValidSharedMemory() 268 std::string MarshalSharedMemory(const AVTransSharedMemory &memory) in MarshalSharedMemory()
|
| /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/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_control_center/test/unittest/inner_kits/ |
| D | av_trans_control_center_callback_stub_test.cpp | 47 const AVTransSharedMemory &memory) in SetSharedMemory() 87 AVTransSharedMemory memory; variable
|
| /foundation/multimedia/av_codec/services/engine/common/ |
| D | codec_utils.cpp | 48 int32_t WriteYuvDataStride(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, const int3… in WriteYuvDataStride() 96 int32_t WriteRgbDataStride(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, const int3… in WriteRgbDataStride() 115 int32_t WriteYuvData(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, const int32_t *s… in WriteYuvData() 142 int32_t WriteRgbData(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, const int32_t *s… in WriteRgbData() 153 int32_t WriteSurfaceData(const std::shared_ptr<AVMemory> &memory, struct SurfaceInfo &surfaceInfo, … in WriteSurfaceData() 183 int32_t WriteBufferData(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, int32_t *scal… in WriteBufferData()
|
| /foundation/multimedia/media_foundation/src/plugin/ |
| D | plugin_buffer.cpp | 135 … std::shared_ptr<Memory> memory = std::shared_ptr<Memory>(new Memory(capacity, allocator, align)); in CreateDefaultBuffer() local 142 …auto memory = std::shared_ptr<Memory>(new Memory(capacity, std::shared_ptr<uint8_t>(data, [](void*… in WrapMemory() local 150 auto memory = std::shared_ptr<Memory>(new Memory(capacity, data)); in WrapMemoryPtr() local 159 std::shared_ptr<Memory> memory = nullptr; in AllocMemory() local
|
| /foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/ |
| D | blur_draw_looper.cpp | 63 uint8_t* memory = static_cast<uint8_t*>(blurData->WritableData()); in Serialize() local 78 uint8_t* memory = reinterpret_cast<uint8_t*>(data->WritableData()); in Deserialize() local
|
| /foundation/multimedia/media_foundation/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/player_framework/services/utils/ |
| 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
|
| /foundation/multimedia/media_foundation/test/unittest/ |
| D | TestPluginCommon.cpp | 32 std::shared_ptr<Memory> memory = audioBuffer->GetMemory(0); variable
|
| /foundation/graphic/graphic_3d/lume/LumeRender/api/render/vulkan/ |
| D | intf_device_vk.h | 160 GpuResourceMemoryVk memory; member 192 GpuResourceMemoryVk memory; member
|
| /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/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/ |
| D | native_buffer_utils.cpp | 107 bool AllocateDeviceMemory(RsVulkanContext& vkContext, VkDeviceMemory* memory, VkImage& image, in AllocateDeviceMemory() 162 …indImageMemory(VkDevice device, RsVulkanContext& vkContext, VkImage& image, VkDeviceMemory& memory) in BindImageMemory() 212 VkDeviceMemory memory; in MakeFromNativeWindowBuffer() local 314 VkDeviceMemory memory; in MakeBackendTextureFromNativeBuffer() local
|
| /foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_encoder/ |
| D | ffmpeg_base_encoder.cpp | 49 auto memory = inputBuffer->memory_; in ProcessSendData() local 81 auto memory = inputBuffer->memory_; in PcmFillFrame() local 105 auto memory = inputBuffer->memory_; in SendBuffer() local 170 auto memory = outputBuffer->memory_; in ReceivePacketSucc() local
|
| /foundation/multimedia/av_codec/services/engine/codec/audio/decoder/ |
| D | audio_opus_decoder_plugin.cpp | 137 auto memory = inputBuffer->GetBuffer(); in ProcessSendData() local 158 auto memory = outBuffer->GetBuffer(); in ProcessRecieveData() local
|