opencv on mbed

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers version.hpp Source File

version.hpp

00001 /*M///////////////////////////////////////////////////////////////////////////////////////
00002 //
00003 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
00004 //
00005 //  By downloading, copying, installing or using the software you agree to this license.
00006 //  If you do not agree to this license, do not download, install,
00007 //  copy or use the software.
00008 //
00009 //
00010 //                        Intel License Agreement
00011 //                For Open Source Computer Vision Library
00012 //
00013 // Copyright( C) 2000-2015, Intel Corporation, all rights reserved.
00014 // Copyright (C) 2011-2013, NVIDIA Corporation, all rights reserved.
00015 // Copyright (C) 2013, OpenCV Foundation, all rights reserved.
00016 // Copyright (C) 2015, Itseez Inc., all rights reserved.
00017 // Third party copyrights are property of their respective owners.
00018 //
00019 // Redistribution and use in source and binary forms, with or without modification,
00020 // are permitted provided that the following conditions are met:
00021 //
00022 //   * Redistribution's of source code must retain the above copyright notice,
00023 //     this list of conditions and the following disclaimer.
00024 //
00025 //   * Redistribution's in binary form must reproduce the above copyright notice,
00026 //     this list of conditions and the following disclaimer in the documentation
00027 //     and/or other materials provided with the distribution.
00028 //
00029 //   * The name of Intel Corporation may not be used to endorse or promote products
00030 //     derived from this software without specific prior written permission.
00031 //
00032 // This software is provided by the copyright holders and contributors "as is" and
00033 // any express or implied warranties, including, but not limited to, the implied
00034 // warranties of merchantability and fitness for a particular purpose are disclaimed.
00035 // In no event shall the Intel Corporation or contributors be liable for any direct,
00036 // indirect, incidental, special, exemplary, or consequential damages
00037 //(including, but not limited to, procurement of substitute goods or services;
00038 // loss of use, data, or profits; or business interruption) however caused
00039 // and on any theory of liability, whether in contract, strict liability,
00040 // or tort(including negligence or otherwise) arising in any way out of
00041 // the use of this software, even if advised of the possibility of such damage.
00042 //
00043 //M*/
00044 
00045 /*
00046   definition of the current version of OpenCV
00047   Usefull to test in user programs
00048 */
00049 
00050 #ifndef __OPENCV_VERSION_HPP__
00051 #define __OPENCV_VERSION_HPP__
00052 
00053 #define CV_VERSION_MAJOR    3
00054 #define CV_VERSION_MINOR    1
00055 #define CV_VERSION_REVISION 0
00056 #define CV_VERSION_STATUS   ""
00057 
00058 #define CVAUX_STR_EXP(__A)  #__A
00059 #define CVAUX_STR(__A)      CVAUX_STR_EXP(__A)
00060 
00061 #define CVAUX_STRW_EXP(__A)  L#__A
00062 #define CVAUX_STRW(__A)      CVAUX_STRW_EXP(__A)
00063 
00064 #define CV_VERSION          CVAUX_STR(CV_VERSION_MAJOR) "." CVAUX_STR(CV_VERSION_MINOR) "." CVAUX_STR(CV_VERSION_REVISION) CV_VERSION_STATUS
00065 
00066 /* old  style version constants*/
00067 #define CV_MAJOR_VERSION    CV_VERSION_MAJOR
00068 #define CV_MINOR_VERSION    CV_VERSION_MINOR
00069 #define CV_SUBMINOR_VERSION CV_VERSION_REVISION
00070 
00071 #endif
00072