diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/pipeline/raspberrypi/dma_heaps.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcamera/pipeline/raspberrypi/dma_heaps.h b/src/libcamera/pipeline/raspberrypi/dma_heaps.h index ae6be113..79f39c51 100644 --- a/src/libcamera/pipeline/raspberrypi/dma_heaps.h +++ b/src/libcamera/pipeline/raspberrypi/dma_heaps.h @@ -18,6 +18,7 @@ class DmaHeap public: DmaHeap(); ~DmaHeap(); + bool isValid() const { return dmaHeapHandle_ > -1; } FileDescriptor alloc(const char *name, std::size_t size); private: |