Searched refs:SharedBuffer (Results 1 – 16 of 16) sorted by relevance
/packages/modules/NeuralNetworks/runtime/ |
D | Memory.h | 162 int copyIBufferToMemory(const SharedBuffer& src, const SharedMemory& dst); 164 int copyMemoryToIBuffer(const SharedMemory& src, const SharedBuffer& dst, 177 const SharedBuffer& getIBuffer() const { return kBuffer; } in getIBuffer() 200 explicit RuntimeMemory(SharedBuffer buffer); 205 const SharedBuffer kBuffer; 352 static std::pair<int, std::unique_ptr<MemoryFromDevice>> create(SharedBuffer buffer); 355 explicit MemoryFromDevice(SharedBuffer buffer);
|
D | Memory.cpp | 193 RuntimeMemory::RuntimeMemory(SharedBuffer buffer) : kBuffer(std::move(buffer)) {} in RuntimeMemory() 235 int copyIBufferToMemory(const SharedBuffer& src, const SharedMemory& dst) { in copyIBufferToMemory() 244 int copyMemoryToIBuffer(const SharedMemory& src, const SharedBuffer& dst, in copyMemoryToIBuffer() 254 static int copyIBuffers(const SharedBuffer& src, const SharedBuffer& dst, in copyIBuffers() 600 std::pair<int, std::unique_ptr<MemoryFromDevice>> MemoryFromDevice::create(SharedBuffer buffer) { in create() 608 MemoryFromDevice::MemoryFromDevice(SharedBuffer buffer) : RuntimeMemory(std::move(buffer)) {} in MemoryFromDevice()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | PrimaryImage.java | 44 import com.android.gallery3d.filtershow.pipeline.SharedBuffer; 68 private SharedBuffer mPreviewBuffer = new SharedBuffer(); 324 public SharedBuffer getPreviewBuffer() { in getPreviewBuffer()
|
/packages/modules/NeuralNetworks/common/include/nnapi/ |
D | Types.h | 80 using SharedBuffer = std::shared_ptr<const IBuffer>; variable 898 using MemoryPool = std::variant<SharedMemory, MemoryDomainToken, SharedBuffer>;
|
D | IDevice.h | 349 virtual GeneralResult<SharedBuffer> allocate(
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | SharedBuffer.java | 21 public class SharedBuffer { class
|
D | UpdatePreviewTask.java | 57 SharedBuffer buffer = PrimaryImage.getImage().getPreviewBuffer(); in doInBackground()
|
D | CachingPipeline.java | 417 public void compute(SharedBuffer buffer, ImagePreset preset, int type) { in compute() 429 SharedBuffer buffer = PrimaryImage.getImage().getPreviewBuffer(); in needsRepaint()
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | CanonicalDevice.h | 65 GeneralResult<SharedBuffer> allocate(const BufferDesc& desc,
|
D | LimitedSupportDevice.h | 72 GeneralResult<SharedBuffer> allocate(const BufferDesc& desc,
|
D | LimitedSupportDevice.cpp | 109 GeneralResult<SharedBuffer> LimitedSupportDevice::allocate( in allocate()
|
D | CanonicalDevice.cpp | 204 GeneralResult<SharedBuffer> Device::allocate(const BufferDesc& desc, in allocate()
|
/packages/modules/NeuralNetworks/common/ |
D | TypeUtils.cpp | 831 } else if (std::holds_alternative<SharedBuffer>(memoryPool)) { in operator <<() 832 const auto& buffer = std::get<SharedBuffer>(memoryPool); in operator <<()
|
D | Validation.cpp | 1096 if (std::holds_alternative<SharedBuffer>(memoryPool)) { in validateRequestMemoryPool() 1097 NN_VALIDATE(std::get<SharedBuffer>(memoryPool) != nullptr); in validateRequestMemoryPool()
|
/packages/modules/NeuralNetworks/tools/api/ |
D | Types.t | 73 using SharedBuffer = std::shared_ptr<const IBuffer>;
|
D | types.spec | 7800 using MemoryPool = std::variant<SharedMemory, MemoryDomainToken, SharedBuffer>;
|