Joe Verbout
/
main
opencv on mbed
opencv2/core/hal/hal.hpp@0:ea44dc9ed014, 2016-03-31 (annotated)
- Committer:
- joeverbout
- Date:
- Thu Mar 31 21:16:38 2016 +0000
- Revision:
- 0:ea44dc9ed014
OpenCV on mbed attempt
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
joeverbout | 0:ea44dc9ed014 | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// |
joeverbout | 0:ea44dc9ed014 | 2 | // |
joeverbout | 0:ea44dc9ed014 | 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. |
joeverbout | 0:ea44dc9ed014 | 4 | // |
joeverbout | 0:ea44dc9ed014 | 5 | // By downloading, copying, installing or using the software you agree to this license. |
joeverbout | 0:ea44dc9ed014 | 6 | // If you do not agree to this license, do not download, install, |
joeverbout | 0:ea44dc9ed014 | 7 | // copy or use the software. |
joeverbout | 0:ea44dc9ed014 | 8 | // |
joeverbout | 0:ea44dc9ed014 | 9 | // |
joeverbout | 0:ea44dc9ed014 | 10 | // License Agreement |
joeverbout | 0:ea44dc9ed014 | 11 | // For Open Source Computer Vision Library |
joeverbout | 0:ea44dc9ed014 | 12 | // |
joeverbout | 0:ea44dc9ed014 | 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. |
joeverbout | 0:ea44dc9ed014 | 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. |
joeverbout | 0:ea44dc9ed014 | 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. |
joeverbout | 0:ea44dc9ed014 | 16 | // Copyright (C) 2015, Itseez Inc., all rights reserved. |
joeverbout | 0:ea44dc9ed014 | 17 | // Third party copyrights are property of their respective owners. |
joeverbout | 0:ea44dc9ed014 | 18 | // |
joeverbout | 0:ea44dc9ed014 | 19 | // Redistribution and use in source and binary forms, with or without modification, |
joeverbout | 0:ea44dc9ed014 | 20 | // are permitted provided that the following conditions are met: |
joeverbout | 0:ea44dc9ed014 | 21 | // |
joeverbout | 0:ea44dc9ed014 | 22 | // * Redistribution's of source code must retain the above copyright notice, |
joeverbout | 0:ea44dc9ed014 | 23 | // this list of conditions and the following disclaimer. |
joeverbout | 0:ea44dc9ed014 | 24 | // |
joeverbout | 0:ea44dc9ed014 | 25 | // * Redistribution's in binary form must reproduce the above copyright notice, |
joeverbout | 0:ea44dc9ed014 | 26 | // this list of conditions and the following disclaimer in the documentation |
joeverbout | 0:ea44dc9ed014 | 27 | // and/or other materials provided with the distribution. |
joeverbout | 0:ea44dc9ed014 | 28 | // |
joeverbout | 0:ea44dc9ed014 | 29 | // * The name of the copyright holders may not be used to endorse or promote products |
joeverbout | 0:ea44dc9ed014 | 30 | // derived from this software without specific prior written permission. |
joeverbout | 0:ea44dc9ed014 | 31 | // |
joeverbout | 0:ea44dc9ed014 | 32 | // This software is provided by the copyright holders and contributors "as is" and |
joeverbout | 0:ea44dc9ed014 | 33 | // any express or implied warranties, including, but not limited to, the implied |
joeverbout | 0:ea44dc9ed014 | 34 | // warranties of merchantability and fitness for a particular purpose are disclaimed. |
joeverbout | 0:ea44dc9ed014 | 35 | // In no event shall the Intel Corporation or contributors be liable for any direct, |
joeverbout | 0:ea44dc9ed014 | 36 | // indirect, incidental, special, exemplary, or consequential damages |
joeverbout | 0:ea44dc9ed014 | 37 | // (including, but not limited to, procurement of substitute goods or services; |
joeverbout | 0:ea44dc9ed014 | 38 | // loss of use, data, or profits; or business interruption) however caused |
joeverbout | 0:ea44dc9ed014 | 39 | // and on any theory of liability, whether in contract, strict liability, |
joeverbout | 0:ea44dc9ed014 | 40 | // or tort (including negligence or otherwise) arising in any way out of |
joeverbout | 0:ea44dc9ed014 | 41 | // the use of this software, even if advised of the possibility of such damage. |
joeverbout | 0:ea44dc9ed014 | 42 | // |
joeverbout | 0:ea44dc9ed014 | 43 | //M*/ |
joeverbout | 0:ea44dc9ed014 | 44 | |
joeverbout | 0:ea44dc9ed014 | 45 | #ifndef __OPENCV_HAL_HPP__ |
joeverbout | 0:ea44dc9ed014 | 46 | #define __OPENCV_HAL_HPP__ |
joeverbout | 0:ea44dc9ed014 | 47 | |
joeverbout | 0:ea44dc9ed014 | 48 | #include "opencv2/core/cvdef.h" |
joeverbout | 0:ea44dc9ed014 | 49 | #include "opencv2/core/hal/interface.h" |
joeverbout | 0:ea44dc9ed014 | 50 | |
joeverbout | 0:ea44dc9ed014 | 51 | //! @cond IGNORED |
joeverbout | 0:ea44dc9ed014 | 52 | #define CALL_HAL(name, fun, ...) \ |
joeverbout | 0:ea44dc9ed014 | 53 | int res = fun(__VA_ARGS__); \ |
joeverbout | 0:ea44dc9ed014 | 54 | if (res == CV_HAL_ERROR_OK) \ |
joeverbout | 0:ea44dc9ed014 | 55 | return; \ |
joeverbout | 0:ea44dc9ed014 | 56 | else if (res != CV_HAL_ERROR_NOT_IMPLEMENTED) \ |
joeverbout | 0:ea44dc9ed014 | 57 | CV_Error_(cv::Error::StsInternal, \ |
joeverbout | 0:ea44dc9ed014 | 58 | ("HAL implementation " CVAUX_STR(name) " ==> " CVAUX_STR(fun) " returned %d (0x%08x)", res, res)); |
joeverbout | 0:ea44dc9ed014 | 59 | //! @endcond |
joeverbout | 0:ea44dc9ed014 | 60 | |
joeverbout | 0:ea44dc9ed014 | 61 | |
joeverbout | 0:ea44dc9ed014 | 62 | namespace cv { namespace hal { |
joeverbout | 0:ea44dc9ed014 | 63 | |
joeverbout | 0:ea44dc9ed014 | 64 | //! @addtogroup core_hal_functions |
joeverbout | 0:ea44dc9ed014 | 65 | //! @{ |
joeverbout | 0:ea44dc9ed014 | 66 | |
joeverbout | 0:ea44dc9ed014 | 67 | CV_EXPORTS int normHamming(const uchar* a, int n); |
joeverbout | 0:ea44dc9ed014 | 68 | CV_EXPORTS int normHamming(const uchar* a, const uchar* b, int n); |
joeverbout | 0:ea44dc9ed014 | 69 | |
joeverbout | 0:ea44dc9ed014 | 70 | CV_EXPORTS int normHamming(const uchar* a, int n, int cellSize); |
joeverbout | 0:ea44dc9ed014 | 71 | CV_EXPORTS int normHamming(const uchar* a, const uchar* b, int n, int cellSize); |
joeverbout | 0:ea44dc9ed014 | 72 | |
joeverbout | 0:ea44dc9ed014 | 73 | CV_EXPORTS int LU32f(float* A, size_t astep, int m, float* b, size_t bstep, int n); |
joeverbout | 0:ea44dc9ed014 | 74 | CV_EXPORTS int LU64f(double* A, size_t astep, int m, double* b, size_t bstep, int n); |
joeverbout | 0:ea44dc9ed014 | 75 | CV_EXPORTS bool Cholesky32f(float* A, size_t astep, int m, float* b, size_t bstep, int n); |
joeverbout | 0:ea44dc9ed014 | 76 | CV_EXPORTS bool Cholesky64f(double* A, size_t astep, int m, double* b, size_t bstep, int n); |
joeverbout | 0:ea44dc9ed014 | 77 | |
joeverbout | 0:ea44dc9ed014 | 78 | CV_EXPORTS int normL1_(const uchar* a, const uchar* b, int n); |
joeverbout | 0:ea44dc9ed014 | 79 | CV_EXPORTS float normL1_(const float* a, const float* b, int n); |
joeverbout | 0:ea44dc9ed014 | 80 | CV_EXPORTS float normL2Sqr_(const float* a, const float* b, int n); |
joeverbout | 0:ea44dc9ed014 | 81 | |
joeverbout | 0:ea44dc9ed014 | 82 | CV_EXPORTS void exp32f(const float* src, float* dst, int n); |
joeverbout | 0:ea44dc9ed014 | 83 | CV_EXPORTS void exp64f(const double* src, double* dst, int n); |
joeverbout | 0:ea44dc9ed014 | 84 | CV_EXPORTS void log32f(const float* src, float* dst, int n); |
joeverbout | 0:ea44dc9ed014 | 85 | CV_EXPORTS void log64f(const double* src, double* dst, int n); |
joeverbout | 0:ea44dc9ed014 | 86 | |
joeverbout | 0:ea44dc9ed014 | 87 | CV_EXPORTS void fastAtan2(const float* y, const float* x, float* dst, int n, bool angleInDegrees); |
joeverbout | 0:ea44dc9ed014 | 88 | CV_EXPORTS void magnitude32f(const float* x, const float* y, float* dst, int n); |
joeverbout | 0:ea44dc9ed014 | 89 | CV_EXPORTS void magnitude64f(const double* x, const double* y, double* dst, int n); |
joeverbout | 0:ea44dc9ed014 | 90 | CV_EXPORTS void sqrt32f(const float* src, float* dst, int len); |
joeverbout | 0:ea44dc9ed014 | 91 | CV_EXPORTS void sqrt64f(const double* src, double* dst, int len); |
joeverbout | 0:ea44dc9ed014 | 92 | CV_EXPORTS void invSqrt32f(const float* src, float* dst, int len); |
joeverbout | 0:ea44dc9ed014 | 93 | CV_EXPORTS void invSqrt64f(const double* src, double* dst, int len); |
joeverbout | 0:ea44dc9ed014 | 94 | |
joeverbout | 0:ea44dc9ed014 | 95 | CV_EXPORTS void split8u(const uchar* src, uchar** dst, int len, int cn ); |
joeverbout | 0:ea44dc9ed014 | 96 | CV_EXPORTS void split16u(const ushort* src, ushort** dst, int len, int cn ); |
joeverbout | 0:ea44dc9ed014 | 97 | CV_EXPORTS void split32s(const int* src, int** dst, int len, int cn ); |
joeverbout | 0:ea44dc9ed014 | 98 | CV_EXPORTS void split64s(const int64* src, int64** dst, int len, int cn ); |
joeverbout | 0:ea44dc9ed014 | 99 | |
joeverbout | 0:ea44dc9ed014 | 100 | CV_EXPORTS void merge8u(const uchar** src, uchar* dst, int len, int cn ); |
joeverbout | 0:ea44dc9ed014 | 101 | CV_EXPORTS void merge16u(const ushort** src, ushort* dst, int len, int cn ); |
joeverbout | 0:ea44dc9ed014 | 102 | CV_EXPORTS void merge32s(const int** src, int* dst, int len, int cn ); |
joeverbout | 0:ea44dc9ed014 | 103 | CV_EXPORTS void merge64s(const int64** src, int64* dst, int len, int cn ); |
joeverbout | 0:ea44dc9ed014 | 104 | |
joeverbout | 0:ea44dc9ed014 | 105 | CV_EXPORTS void add8u( const uchar* src1, size_t step1, const uchar* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 106 | CV_EXPORTS void add8s( const schar* src1, size_t step1, const schar* src2, size_t step2, schar* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 107 | CV_EXPORTS void add16u( const ushort* src1, size_t step1, const ushort* src2, size_t step2, ushort* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 108 | CV_EXPORTS void add16s( const short* src1, size_t step1, const short* src2, size_t step2, short* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 109 | CV_EXPORTS void add32s( const int* src1, size_t step1, const int* src2, size_t step2, int* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 110 | CV_EXPORTS void add32f( const float* src1, size_t step1, const float* src2, size_t step2, float* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 111 | CV_EXPORTS void add64f( const double* src1, size_t step1, const double* src2, size_t step2, double* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 112 | |
joeverbout | 0:ea44dc9ed014 | 113 | CV_EXPORTS void sub8u( const uchar* src1, size_t step1, const uchar* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 114 | CV_EXPORTS void sub8s( const schar* src1, size_t step1, const schar* src2, size_t step2, schar* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 115 | CV_EXPORTS void sub16u( const ushort* src1, size_t step1, const ushort* src2, size_t step2, ushort* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 116 | CV_EXPORTS void sub16s( const short* src1, size_t step1, const short* src2, size_t step2, short* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 117 | CV_EXPORTS void sub32s( const int* src1, size_t step1, const int* src2, size_t step2, int* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 118 | CV_EXPORTS void sub32f( const float* src1, size_t step1, const float* src2, size_t step2, float* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 119 | CV_EXPORTS void sub64f( const double* src1, size_t step1, const double* src2, size_t step2, double* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 120 | |
joeverbout | 0:ea44dc9ed014 | 121 | CV_EXPORTS void max8u( const uchar* src1, size_t step1, const uchar* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 122 | CV_EXPORTS void max8s( const schar* src1, size_t step1, const schar* src2, size_t step2, schar* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 123 | CV_EXPORTS void max16u( const ushort* src1, size_t step1, const ushort* src2, size_t step2, ushort* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 124 | CV_EXPORTS void max16s( const short* src1, size_t step1, const short* src2, size_t step2, short* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 125 | CV_EXPORTS void max32s( const int* src1, size_t step1, const int* src2, size_t step2, int* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 126 | CV_EXPORTS void max32f( const float* src1, size_t step1, const float* src2, size_t step2, float* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 127 | CV_EXPORTS void max64f( const double* src1, size_t step1, const double* src2, size_t step2, double* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 128 | |
joeverbout | 0:ea44dc9ed014 | 129 | CV_EXPORTS void min8u( const uchar* src1, size_t step1, const uchar* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 130 | CV_EXPORTS void min8s( const schar* src1, size_t step1, const schar* src2, size_t step2, schar* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 131 | CV_EXPORTS void min16u( const ushort* src1, size_t step1, const ushort* src2, size_t step2, ushort* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 132 | CV_EXPORTS void min16s( const short* src1, size_t step1, const short* src2, size_t step2, short* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 133 | CV_EXPORTS void min32s( const int* src1, size_t step1, const int* src2, size_t step2, int* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 134 | CV_EXPORTS void min32f( const float* src1, size_t step1, const float* src2, size_t step2, float* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 135 | CV_EXPORTS void min64f( const double* src1, size_t step1, const double* src2, size_t step2, double* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 136 | |
joeverbout | 0:ea44dc9ed014 | 137 | CV_EXPORTS void absdiff8u( const uchar* src1, size_t step1, const uchar* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 138 | CV_EXPORTS void absdiff8s( const schar* src1, size_t step1, const schar* src2, size_t step2, schar* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 139 | CV_EXPORTS void absdiff16u( const ushort* src1, size_t step1, const ushort* src2, size_t step2, ushort* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 140 | CV_EXPORTS void absdiff16s( const short* src1, size_t step1, const short* src2, size_t step2, short* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 141 | CV_EXPORTS void absdiff32s( const int* src1, size_t step1, const int* src2, size_t step2, int* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 142 | CV_EXPORTS void absdiff32f( const float* src1, size_t step1, const float* src2, size_t step2, float* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 143 | CV_EXPORTS void absdiff64f( const double* src1, size_t step1, const double* src2, size_t step2, double* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 144 | |
joeverbout | 0:ea44dc9ed014 | 145 | CV_EXPORTS void and8u( const uchar* src1, size_t step1, const uchar* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 146 | CV_EXPORTS void or8u( const uchar* src1, size_t step1, const uchar* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 147 | CV_EXPORTS void xor8u( const uchar* src1, size_t step1, const uchar* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 148 | CV_EXPORTS void not8u( const uchar* src1, size_t step1, const uchar* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* ); |
joeverbout | 0:ea44dc9ed014 | 149 | |
joeverbout | 0:ea44dc9ed014 | 150 | CV_EXPORTS void cmp8u(const uchar* src1, size_t step1, const uchar* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* _cmpop); |
joeverbout | 0:ea44dc9ed014 | 151 | CV_EXPORTS void cmp8s(const schar* src1, size_t step1, const schar* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* _cmpop); |
joeverbout | 0:ea44dc9ed014 | 152 | CV_EXPORTS void cmp16u(const ushort* src1, size_t step1, const ushort* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* _cmpop); |
joeverbout | 0:ea44dc9ed014 | 153 | CV_EXPORTS void cmp16s(const short* src1, size_t step1, const short* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* _cmpop); |
joeverbout | 0:ea44dc9ed014 | 154 | CV_EXPORTS void cmp32s(const int* src1, size_t step1, const int* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* _cmpop); |
joeverbout | 0:ea44dc9ed014 | 155 | CV_EXPORTS void cmp32f(const float* src1, size_t step1, const float* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* _cmpop); |
joeverbout | 0:ea44dc9ed014 | 156 | CV_EXPORTS void cmp64f(const double* src1, size_t step1, const double* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* _cmpop); |
joeverbout | 0:ea44dc9ed014 | 157 | |
joeverbout | 0:ea44dc9ed014 | 158 | CV_EXPORTS void mul8u( const uchar* src1, size_t step1, const uchar* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 159 | CV_EXPORTS void mul8s( const schar* src1, size_t step1, const schar* src2, size_t step2, schar* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 160 | CV_EXPORTS void mul16u( const ushort* src1, size_t step1, const ushort* src2, size_t step2, ushort* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 161 | CV_EXPORTS void mul16s( const short* src1, size_t step1, const short* src2, size_t step2, short* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 162 | CV_EXPORTS void mul32s( const int* src1, size_t step1, const int* src2, size_t step2, int* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 163 | CV_EXPORTS void mul32f( const float* src1, size_t step1, const float* src2, size_t step2, float* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 164 | CV_EXPORTS void mul64f( const double* src1, size_t step1, const double* src2, size_t step2, double* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 165 | |
joeverbout | 0:ea44dc9ed014 | 166 | CV_EXPORTS void div8u( const uchar* src1, size_t step1, const uchar* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 167 | CV_EXPORTS void div8s( const schar* src1, size_t step1, const schar* src2, size_t step2, schar* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 168 | CV_EXPORTS void div16u( const ushort* src1, size_t step1, const ushort* src2, size_t step2, ushort* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 169 | CV_EXPORTS void div16s( const short* src1, size_t step1, const short* src2, size_t step2, short* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 170 | CV_EXPORTS void div32s( const int* src1, size_t step1, const int* src2, size_t step2, int* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 171 | CV_EXPORTS void div32f( const float* src1, size_t step1, const float* src2, size_t step2, float* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 172 | CV_EXPORTS void div64f( const double* src1, size_t step1, const double* src2, size_t step2, double* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 173 | |
joeverbout | 0:ea44dc9ed014 | 174 | CV_EXPORTS void recip8u( const uchar* src1, size_t step1, const uchar* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 175 | CV_EXPORTS void recip8s( const schar* src1, size_t step1, const schar* src2, size_t step2, schar* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 176 | CV_EXPORTS void recip16u( const ushort* src1, size_t step1, const ushort* src2, size_t step2, ushort* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 177 | CV_EXPORTS void recip16s( const short* src1, size_t step1, const short* src2, size_t step2, short* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 178 | CV_EXPORTS void recip32s( const int* src1, size_t step1, const int* src2, size_t step2, int* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 179 | CV_EXPORTS void recip32f( const float* src1, size_t step1, const float* src2, size_t step2, float* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 180 | CV_EXPORTS void recip64f( const double* src1, size_t step1, const double* src2, size_t step2, double* dst, size_t step, int width, int height, void* scale); |
joeverbout | 0:ea44dc9ed014 | 181 | |
joeverbout | 0:ea44dc9ed014 | 182 | CV_EXPORTS void addWeighted8u( const uchar* src1, size_t step1, const uchar* src2, size_t step2, uchar* dst, size_t step, int width, int height, void* _scalars ); |
joeverbout | 0:ea44dc9ed014 | 183 | CV_EXPORTS void addWeighted8s( const schar* src1, size_t step1, const schar* src2, size_t step2, schar* dst, size_t step, int width, int height, void* scalars ); |
joeverbout | 0:ea44dc9ed014 | 184 | CV_EXPORTS void addWeighted16u( const ushort* src1, size_t step1, const ushort* src2, size_t step2, ushort* dst, size_t step, int width, int height, void* scalars ); |
joeverbout | 0:ea44dc9ed014 | 185 | CV_EXPORTS void addWeighted16s( const short* src1, size_t step1, const short* src2, size_t step2, short* dst, size_t step, int width, int height, void* scalars ); |
joeverbout | 0:ea44dc9ed014 | 186 | CV_EXPORTS void addWeighted32s( const int* src1, size_t step1, const int* src2, size_t step2, int* dst, size_t step, int width, int height, void* scalars ); |
joeverbout | 0:ea44dc9ed014 | 187 | CV_EXPORTS void addWeighted32f( const float* src1, size_t step1, const float* src2, size_t step2, float* dst, size_t step, int width, int height, void* scalars ); |
joeverbout | 0:ea44dc9ed014 | 188 | CV_EXPORTS void addWeighted64f( const double* src1, size_t step1, const double* src2, size_t step2, double* dst, size_t step, int width, int height, void* scalars ); |
joeverbout | 0:ea44dc9ed014 | 189 | |
joeverbout | 0:ea44dc9ed014 | 190 | //! @} core_hal |
joeverbout | 0:ea44dc9ed014 | 191 | |
joeverbout | 0:ea44dc9ed014 | 192 | //============================================================================= |
joeverbout | 0:ea44dc9ed014 | 193 | // for binary compatibility with 3.0 |
joeverbout | 0:ea44dc9ed014 | 194 | |
joeverbout | 0:ea44dc9ed014 | 195 | //! @cond IGNORED |
joeverbout | 0:ea44dc9ed014 | 196 | |
joeverbout | 0:ea44dc9ed014 | 197 | CV_EXPORTS int LU(float* A, size_t astep, int m, float* b, size_t bstep, int n); |
joeverbout | 0:ea44dc9ed014 | 198 | CV_EXPORTS int LU(double* A, size_t astep, int m, double* b, size_t bstep, int n); |
joeverbout | 0:ea44dc9ed014 | 199 | CV_EXPORTS bool Cholesky(float* A, size_t astep, int m, float* b, size_t bstep, int n); |
joeverbout | 0:ea44dc9ed014 | 200 | CV_EXPORTS bool Cholesky(double* A, size_t astep, int m, double* b, size_t bstep, int n); |
joeverbout | 0:ea44dc9ed014 | 201 | |
joeverbout | 0:ea44dc9ed014 | 202 | CV_EXPORTS void exp(const float* src, float* dst, int n); |
joeverbout | 0:ea44dc9ed014 | 203 | CV_EXPORTS void exp(const double* src, double* dst, int n); |
joeverbout | 0:ea44dc9ed014 | 204 | CV_EXPORTS void log(const float* src, float* dst, int n); |
joeverbout | 0:ea44dc9ed014 | 205 | CV_EXPORTS void log(const double* src, double* dst, int n); |
joeverbout | 0:ea44dc9ed014 | 206 | |
joeverbout | 0:ea44dc9ed014 | 207 | CV_EXPORTS void magnitude(const float* x, const float* y, float* dst, int n); |
joeverbout | 0:ea44dc9ed014 | 208 | CV_EXPORTS void magnitude(const double* x, const double* y, double* dst, int n); |
joeverbout | 0:ea44dc9ed014 | 209 | CV_EXPORTS void sqrt(const float* src, float* dst, int len); |
joeverbout | 0:ea44dc9ed014 | 210 | CV_EXPORTS void sqrt(const double* src, double* dst, int len); |
joeverbout | 0:ea44dc9ed014 | 211 | CV_EXPORTS void invSqrt(const float* src, float* dst, int len); |
joeverbout | 0:ea44dc9ed014 | 212 | CV_EXPORTS void invSqrt(const double* src, double* dst, int len); |
joeverbout | 0:ea44dc9ed014 | 213 | |
joeverbout | 0:ea44dc9ed014 | 214 | //! @endcond |
joeverbout | 0:ea44dc9ed014 | 215 | |
joeverbout | 0:ea44dc9ed014 | 216 | }} //cv::hal |
joeverbout | 0:ea44dc9ed014 | 217 | |
joeverbout | 0:ea44dc9ed014 | 218 | #endif //__OPENCV_HAL_HPP__ |
joeverbout | 0:ea44dc9ed014 | 219 |