1ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen/*M///////////////////////////////////////////////////////////////////////////////////////
2ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//
3ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
4ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//
5ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//  By downloading, copying, installing or using the software you agree to this license.
6ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//  If you do not agree to this license, do not download, install,
7ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//  copy or use the software.
8ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//
9ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//
10ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//                        Intel License Agreement
11ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//                For Open Source Computer Vision Library
12ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//
13ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// Copyright (C) 2000, Intel Corporation, all rights reserved.
14ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// Third party copyrights are property of their respective owners.
15ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//
16ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// Redistribution and use in source and binary forms, with or without modification,
17ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// are permitted provided that the following conditions are met:
18ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//
19ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//   * Redistribution's of source code must retain the above copyright notice,
20ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//     this list of conditions and the following disclaimer.
21ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//
22ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//   * Redistribution's in binary form must reproduce the above copyright notice,
23ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//     this list of conditions and the following disclaimer in the documentation
24ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//     and/or other materials provided with the distribution.
25ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//
26ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//   * The name of Intel Corporation may not be used to endorse or promote products
27ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//     derived from this software without specific prior written permission.
28ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//
29ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// This software is provided by the copyright holders and contributors "as is" and
30ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// any express or implied warranties, including, but not limited to, the implied
31ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// warranties of merchantability and fitness for a particular purpose are disclaimed.
32ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// In no event shall the Intel Corporation or contributors be liable for any direct,
33ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// indirect, incidental, special, exemplary, or consequential damages
34ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// (including, but not limited to, procurement of substitute goods or services;
35ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// loss of use, data, or profits; or business interruption) however caused
36ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// and on any theory of liability, whether in contract, strict liability,
37ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// or tort (including negligence or otherwise) arising in any way out of
38ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// the use of this software, even if advised of the possibility of such damage.
39ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//
40ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen//M*/
41ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#ifndef __CVAUX_H__
42ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#define __CVAUX_H__
43ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen
44ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#if _MSC_VER >= 1200
45ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#pragma warning( disable: 4710 4711 4514 4996 ) /* function AAA selected for automatic inline expansion */
46ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#endif
47ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen
48ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#include "cvaux.h"
49ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#include "cxmisc.h"
50ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#include "_cvmatrix.h"
51ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen
52ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsentypedef unsigned short ushort;
53ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen
54ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian MonsenCV_INLINE bool operator == (CvSize size1, CvSize size2 );
55ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian MonsenCV_INLINE bool operator == (CvSize size1, CvSize size2 )
56ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen{
57ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen    return size1.width == size2.width && size1.height == size2.height;
58ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen}
59ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen
60ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian MonsenCV_INLINE bool operator != (CvSize size1, CvSize size2 );
61ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian MonsenCV_INLINE bool operator != (CvSize size1, CvSize size2 )
62ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen{
63ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen    return size1.width != size2.width || size1.height != size2.height;
64ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen}
65ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen
66ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#ifndef FALSE
67ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#define FALSE 0
68ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#endif
69ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#ifndef TRUE
70ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#define TRUE 1
71ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#endif
72ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen
73ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#endif /* __CVAUX_H__ */
74ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen