opencv on mbed

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers bufferpool.hpp Source File

bufferpool.hpp

00001 // This file is part of OpenCV project.
00002 // It is subject to the license terms in the LICENSE file found in the top-level directory
00003 // of this distribution and at http://opencv.org/license.html.
00004 //
00005 // Copyright (C) 2014, Advanced Micro Devices, Inc., all rights reserved.
00006 
00007 #ifndef __OPENCV_CORE_BUFFER_POOL_HPP__
00008 #define __OPENCV_CORE_BUFFER_POOL_HPP__
00009 
00010 namespace cv
00011 {
00012 
00013 //! @addtogroup core
00014 //! @{
00015 
00016 class BufferPoolController
00017 {
00018 protected:
00019     ~BufferPoolController() { }
00020 public:
00021     virtual size_t getReservedSize() const = 0;
00022     virtual size_t getMaxReservedSize() const = 0;
00023     virtual void setMaxReservedSize(size_t size) = 0;
00024     virtual void freeAllReservedBuffers() = 0;
00025 };
00026 
00027 //! @}
00028 
00029 }
00030 
00031 #endif // __OPENCV_CORE_BUFFER_POOL_HPP__
00032