Searched refs:allocBufferType (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/effect/manager/memory_manager/ |
H A D | effect_memory_manager.cpp | 77 std::shared_ptr<Memory> AllocMemoryInner(MemoryInfo &allocMemInfo, BufferType allocBufferType) in AllocMemoryInner() argument 79 EFFECT_LOGI("Alloc Memory! bufferType=%{public}d", allocBufferType); in AllocMemoryInner() 80 std::unique_ptr<AbsMemory> absMemory = EffectMemory::CreateMemory(allocBufferType); in AllocMemoryInner() 82 "absMemory is null! bufferType=%{public}d", allocBufferType); in AllocMemoryInner() 85 "memoryData is null! bufferType=%{public}d", allocBufferType); in AllocMemoryInner() 116 BufferType allocBufferType = BufferType::DMA_BUFFER; // default alloc dma buffer in AllocMemory() local 118 … allocBufferType = BufferType::HEAP_MEMORY; // default alloc heap buffer on running with cpu filter in AllocMemory() 121 allocBufferType = allocMemInfo.bufferType; in AllocMemory() 123 std::shared_ptr<Memory> memory = AllocMemoryInner(allocMemInfo, allocBufferType); in AllocMemory() 125 "AllocMemory fail! bufferType=%{public}d", allocBufferType); in AllocMemory()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/hdi_device/ |
H A D | hdi_device_test.cpp | 65 OH_NN_ReturnCode PrepareModel(int32_t allocBufferType, int32_t prepareType); 94 OH_NN_ReturnCode HDIDeviceTest::PrepareModel(int32_t allocBufferType, int32_t prepareType) in PrepareModel() argument 105 …eatedly(::testing::DoAll(::testing::SetArgReferee<1>(buffer), ::testing::Return(allocBufferType))); in PrepareModel() 765 int32_t allocBufferType = HDF_SUCCESS; variable 767 OH_NN_ReturnCode result = PrepareModel(allocBufferType, prepareType); 796 int32_t allocBufferType = HDF_SUCCESS; variable 798 OH_NN_ReturnCode result = PrepareModel(allocBufferType, prepareType); 809 int32_t allocBufferType = HDF_FAILURE; variable 811 OH_NN_ReturnCode result = PrepareModel(allocBufferType, prepareType);
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/hdi_device/ |
H A D | hdi_device_test.cpp | 153 OH_NN_ReturnCode PrepareModel(int32_t allocBufferType, int32_t prepareType); 907 int32_t allocBufferType = HDF_SUCCESS; variable 909 OH_NN_ReturnCode result = PrepareModel(allocBufferType, prepareType); 938 int32_t allocBufferType = HDF_SUCCESS; variable 940 OH_NN_ReturnCode result = PrepareModel(allocBufferType, prepareType); 951 int32_t allocBufferType = HDF_FAILURE; variable 953 OH_NN_ReturnCode result = PrepareModel(allocBufferType, prepareType); 2279 int32_t allocBufferType = HDF_SUCCESS; variable 2281 OH_NN_ReturnCode result = PrepareModelv2(allocBufferType, prepareType); 2310 int32_t allocBufferType = HDF_SUCCESS; variable [all …]
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/base/ |
H A D | efilter.cpp | 141 std::shared_ptr<MemoryData> AllocMemory(BufferType allocBufferType, EffectBuffer *buffer) in AllocMemory() argument 143 std::unique_ptr<AbsMemory> absMemory = EffectMemory::CreateMemory(allocBufferType); in AllocMemory() 145 "memory create fail! allocatorType=%{public}d", allocBufferType); in AllocMemory() 155 "memoryData is null! bufferType=%{public}d", allocBufferType); in AllocMemory()
|