Path: blob/master/modules/core/src/bufferpool.impl.hpp
16337 views
// This file is part of OpenCV project.1// It is subject to the license terms in the LICENSE file found in the top-level directory2// of this distribution and at http://opencv.org/license.html.3//4// Copyright (C) 2014, Advanced Micro Devices, Inc., all rights reserved.56#ifndef __OPENCV_CORE_BUFFER_POOL_IMPL_HPP__7#define __OPENCV_CORE_BUFFER_POOL_IMPL_HPP__89#include "opencv2/core/bufferpool.hpp"1011namespace cv {1213class DummyBufferPoolController : public BufferPoolController14{15public:16DummyBufferPoolController() { }17virtual ~DummyBufferPoolController() { }1819virtual size_t getReservedSize() const CV_OVERRIDE { return (size_t)-1; }20virtual size_t getMaxReservedSize() const CV_OVERRIDE { return (size_t)-1; }21virtual void setMaxReservedSize(size_t size) CV_OVERRIDE { CV_UNUSED(size); }22virtual void freeAllReservedBuffers() CV_OVERRIDE { }23};2425} // namespace2627#endif // __OPENCV_CORE_BUFFER_POOL_IMPL_HPP__282930