|
| 1 | +<?xml version="1.0"?> |
| 2 | +<def format="2"> |
| 3 | + <!-- OpenCV (Open Source Computer Vision Library) Library Configuration http://opencv.org) --> |
| 4 | + <!-- This configuration is for the OpenCV 2.x API (The C++ API, not the older C API) --> |
| 5 | + <!-- The OpenCV library is typically included by '#include <opencv2/*>' or --> |
| 6 | + <!-- '#include "opencv2/*"'. --> |
| 7 | + <!-- ########## OpenCV Types ########## --> |
| 8 | + <!-- ########## OpenCV Macros / Defines ########## --> |
| 9 | + <define name="CV_PI" value="3.1415926535897932384626433832795"/> |
| 10 | + <define name="CV_2PI" value="6.283185307179586476925286766559"/> |
| 11 | + <define name="CV_LOG2" value="0.69314718055994530941723212145818"/> |
| 12 | + <define name="CV_MAT_CN_MASK" value="((CV_CN_MAX - 1) << CV_CN_SHIFT)"/> |
| 13 | + <define name="CV_MAT_CN(flags)" value="((((flags) & CV_MAT_CN_MASK) >> CV_CN_SHIFT) + 1)"/> |
| 14 | + <define name="CV_MAT_TYPE_MASK" value="(CV_DEPTH_MAX*CV_CN_MAX - 1)"/> |
| 15 | + <define name="CV_MAT_TYPE(flags)" value="((flags) & CV_MAT_TYPE_MASK)"/> |
| 16 | + <define name="CV_MAT_CONT_FLAG_SHIFT" value="14"/> |
| 17 | + <define name="CV_MAT_CONT_FLAG" value="(1 << CV_MAT_CONT_FLAG_SHIFT)"/> |
| 18 | + <define name="CV_IS_MAT_CONT(flags)" value="((flags) & CV_MAT_CONT_FLAG)"/> |
| 19 | + <define name="CV_IS_CONT_MAT" value="CV_IS_MAT_CONT"/> |
| 20 | + <define name="CV_SUBMAT_FLAG_SHIFT" value="15"/> |
| 21 | + <define name="CV_SUBMAT_FLAG" value="(1 << CV_SUBMAT_FLAG_SHIFT)"/> |
| 22 | + <define name="CV_IS_SUBMAT(flags)" value="((flags) & CV_MAT_SUBMAT_FLAG)"/> |
| 23 | + <define name="MIN(a,b)" value="((a) > (b) ? (b) : (a))"/> |
| 24 | + <define name="MAX(a,b)" value="((a) < (b) ? (b) : (a))"/> |
| 25 | + <!-- ########## OpenCV containers ########## --> |
| 26 | + <!-- OpenCV containers that are similar to std containers --> |
| 27 | + <container id="cvString" startPattern="cv :: String" inherits="stdString"/> |
| 28 | + <!-- ########## OpenCV Allocation / Deallocation ########## --> |
| 29 | + <!-- ########## OpenCV Functions ########## --> |
| 30 | + <!-- Mat cv::imread ( const String & filename, int flags = IMREAD_COLOR ) --> |
| 31 | + <function name="cv::imread"> |
| 32 | + <noreturn>false</noreturn> |
| 33 | + <returnValue type="cv::Mat"/> |
| 34 | + <use-retval/> |
| 35 | + <arg nr="1" direction="in"> |
| 36 | + <not-uninit/> |
| 37 | + </arg> |
| 38 | + <arg nr="2" direction="in" default="cv::IMREAD_COLOR"> |
| 39 | + <not-uninit/> |
| 40 | + <not-bool/> |
| 41 | + </arg> |
| 42 | + </function> |
| 43 | + <!-- void cv::imshow ( const String & winname, InputArray mat ) --> |
| 44 | + <!-- void cv::imshow ( const String & winname, const ogl::Texture2D & tex ) --> |
| 45 | + <function name="cv::imshow"> |
| 46 | + <noreturn>false</noreturn> |
| 47 | + <returnValue type="void"/> |
| 48 | + <arg nr="1" direction="in"> |
| 49 | + <not-uninit/> |
| 50 | + </arg> |
| 51 | + <arg nr="2" direction="in"> |
| 52 | + <not-uninit/> |
| 53 | + <not-bool/> |
| 54 | + </arg> |
| 55 | + </function> |
| 56 | + <!-- void cv::namedWindow ( const String & winname, int flags = WINDOW_AUTOSIZE ) --> |
| 57 | + <function name="cv::namedWindow"> |
| 58 | + <noreturn>false</noreturn> |
| 59 | + <returnValue type="void"/> |
| 60 | + <arg nr="1" direction="in"> |
| 61 | + <not-uninit/> |
| 62 | + </arg> |
| 63 | + <arg nr="2" direction="in" default="cv::WINDOW_AUTOSIZE"> |
| 64 | + <not-uninit/> |
| 65 | + <not-bool/> |
| 66 | + </arg> |
| 67 | + </function> |
| 68 | + <!-- int cv::waitKey ( int delay = 0 ) --> |
| 69 | + <function name="cv::waitKey"> |
| 70 | + <noreturn>false</noreturn> |
| 71 | + <returnValue type="int"/> |
| 72 | + <arg nr="1" direction="in" default="0"> |
| 73 | + <not-uninit/> |
| 74 | + <not-bool/> |
| 75 | + </arg> |
| 76 | + </function> |
| 77 | +</def> |
0 commit comments