openCV library for Renesas RZ/A
Dependents: RZ_A2M_Mbed_samples
include/opencv2/core/bufferpool.hpp@0:0e0631af0305, 2021-01-29 (annotated)
- Committer:
- RyoheiHagimoto
- Date:
- Fri Jan 29 04:53:38 2021 +0000
- Revision:
- 0:0e0631af0305
copied from https://github.com/d-kato/opencv-lib.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| RyoheiHagimoto | 0:0e0631af0305 | 1 | // This file is part of OpenCV project. |
| RyoheiHagimoto | 0:0e0631af0305 | 2 | // It is subject to the license terms in the LICENSE file found in the top-level directory |
| RyoheiHagimoto | 0:0e0631af0305 | 3 | // of this distribution and at http://opencv.org/license.html. |
| RyoheiHagimoto | 0:0e0631af0305 | 4 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 5 | // Copyright (C) 2014, Advanced Micro Devices, Inc., all rights reserved. |
| RyoheiHagimoto | 0:0e0631af0305 | 6 | |
| RyoheiHagimoto | 0:0e0631af0305 | 7 | #ifndef OPENCV_CORE_BUFFER_POOL_HPP |
| RyoheiHagimoto | 0:0e0631af0305 | 8 | #define OPENCV_CORE_BUFFER_POOL_HPP |
| RyoheiHagimoto | 0:0e0631af0305 | 9 | |
| RyoheiHagimoto | 0:0e0631af0305 | 10 | namespace cv |
| RyoheiHagimoto | 0:0e0631af0305 | 11 | { |
| RyoheiHagimoto | 0:0e0631af0305 | 12 | |
| RyoheiHagimoto | 0:0e0631af0305 | 13 | //! @addtogroup core |
| RyoheiHagimoto | 0:0e0631af0305 | 14 | //! @{ |
| RyoheiHagimoto | 0:0e0631af0305 | 15 | |
| RyoheiHagimoto | 0:0e0631af0305 | 16 | class BufferPoolController |
| RyoheiHagimoto | 0:0e0631af0305 | 17 | { |
| RyoheiHagimoto | 0:0e0631af0305 | 18 | protected: |
| RyoheiHagimoto | 0:0e0631af0305 | 19 | ~BufferPoolController() { } |
| RyoheiHagimoto | 0:0e0631af0305 | 20 | public: |
| RyoheiHagimoto | 0:0e0631af0305 | 21 | virtual size_t getReservedSize() const = 0; |
| RyoheiHagimoto | 0:0e0631af0305 | 22 | virtual size_t getMaxReservedSize() const = 0; |
| RyoheiHagimoto | 0:0e0631af0305 | 23 | virtual void setMaxReservedSize(size_t size) = 0; |
| RyoheiHagimoto | 0:0e0631af0305 | 24 | virtual void freeAllReservedBuffers() = 0; |
| RyoheiHagimoto | 0:0e0631af0305 | 25 | }; |
| RyoheiHagimoto | 0:0e0631af0305 | 26 | |
| RyoheiHagimoto | 0:0e0631af0305 | 27 | //! @} |
| RyoheiHagimoto | 0:0e0631af0305 | 28 | |
| RyoheiHagimoto | 0:0e0631af0305 | 29 | } |
| RyoheiHagimoto | 0:0e0631af0305 | 30 | |
| RyoheiHagimoto | 0:0e0631af0305 | 31 | #endif // OPENCV_CORE_BUFFER_POOL_HPP |