Joe Verbout
/
main
opencv on mbed
opencv2/core/bufferpool.hpp@0:ea44dc9ed014, 2016-03-31 (annotated)
- Committer:
- joeverbout
- Date:
- Thu Mar 31 21:16:38 2016 +0000
- Revision:
- 0:ea44dc9ed014
OpenCV on mbed attempt
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
joeverbout | 0:ea44dc9ed014 | 1 | // This file is part of OpenCV project. |
joeverbout | 0:ea44dc9ed014 | 2 | // It is subject to the license terms in the LICENSE file found in the top-level directory |
joeverbout | 0:ea44dc9ed014 | 3 | // of this distribution and at http://opencv.org/license.html. |
joeverbout | 0:ea44dc9ed014 | 4 | // |
joeverbout | 0:ea44dc9ed014 | 5 | // Copyright (C) 2014, Advanced Micro Devices, Inc., all rights reserved. |
joeverbout | 0:ea44dc9ed014 | 6 | |
joeverbout | 0:ea44dc9ed014 | 7 | #ifndef __OPENCV_CORE_BUFFER_POOL_HPP__ |
joeverbout | 0:ea44dc9ed014 | 8 | #define __OPENCV_CORE_BUFFER_POOL_HPP__ |
joeverbout | 0:ea44dc9ed014 | 9 | |
joeverbout | 0:ea44dc9ed014 | 10 | namespace cv |
joeverbout | 0:ea44dc9ed014 | 11 | { |
joeverbout | 0:ea44dc9ed014 | 12 | |
joeverbout | 0:ea44dc9ed014 | 13 | //! @addtogroup core |
joeverbout | 0:ea44dc9ed014 | 14 | //! @{ |
joeverbout | 0:ea44dc9ed014 | 15 | |
joeverbout | 0:ea44dc9ed014 | 16 | class BufferPoolController |
joeverbout | 0:ea44dc9ed014 | 17 | { |
joeverbout | 0:ea44dc9ed014 | 18 | protected: |
joeverbout | 0:ea44dc9ed014 | 19 | ~BufferPoolController() { } |
joeverbout | 0:ea44dc9ed014 | 20 | public: |
joeverbout | 0:ea44dc9ed014 | 21 | virtual size_t getReservedSize() const = 0; |
joeverbout | 0:ea44dc9ed014 | 22 | virtual size_t getMaxReservedSize() const = 0; |
joeverbout | 0:ea44dc9ed014 | 23 | virtual void setMaxReservedSize(size_t size) = 0; |
joeverbout | 0:ea44dc9ed014 | 24 | virtual void freeAllReservedBuffers() = 0; |
joeverbout | 0:ea44dc9ed014 | 25 | }; |
joeverbout | 0:ea44dc9ed014 | 26 | |
joeverbout | 0:ea44dc9ed014 | 27 | //! @} |
joeverbout | 0:ea44dc9ed014 | 28 | |
joeverbout | 0:ea44dc9ed014 | 29 | } |
joeverbout | 0:ea44dc9ed014 | 30 | |
joeverbout | 0:ea44dc9ed014 | 31 | #endif // __OPENCV_CORE_BUFFER_POOL_HPP__ |
joeverbout | 0:ea44dc9ed014 | 32 |