Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of gr-peach-opencv-project-sd-card by
bufferpool.impl.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_IMPL_HPP__ 00008 #define __OPENCV_CORE_BUFFER_POOL_IMPL_HPP__ 00009 00010 #include "opencv2/core/bufferpool.hpp" 00011 00012 namespace cv { 00013 00014 class DummyBufferPoolController : public BufferPoolController 00015 { 00016 public: 00017 DummyBufferPoolController() { } 00018 virtual ~DummyBufferPoolController() { } 00019 00020 virtual size_t getReservedSize() const { return (size_t)-1; } 00021 virtual size_t getMaxReservedSize() const { return (size_t)-1; } 00022 virtual void setMaxReservedSize(size_t size) { (void)size; } 00023 virtual void freeAllReservedBuffers() { } 00024 }; 00025 00026 } // namespace 00027 00028 #endif // __OPENCV_CORE_BUFFER_POOL_IMPL_HPP__ 00029
Generated on Tue Jul 12 2022 14:46:03 by
1.7.2
