openCV library for Renesas RZ/A
Dependents: RZ_A2M_Mbed_samples
include/opencv2/core/hal/hal.hpp@0:0e0631af0305, 2021-01-29 (annotated)
- Committer:
- RyoheiHagimoto
- Date:
- Fri Jan 29 04:53:38 2021 +0000
- Revision:
- 0:0e0631af0305
copied from https://github.com/d-kato/opencv-lib.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| RyoheiHagimoto | 0:0e0631af0305 | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// |
| RyoheiHagimoto | 0:0e0631af0305 | 2 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 3 | // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. |
| RyoheiHagimoto | 0:0e0631af0305 | 4 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 5 | // By downloading, copying, installing or using the software you agree to this license. |
| RyoheiHagimoto | 0:0e0631af0305 | 6 | // If you do not agree to this license, do not download, install, |
| RyoheiHagimoto | 0:0e0631af0305 | 7 | // copy or use the software. |
| RyoheiHagimoto | 0:0e0631af0305 | 8 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 9 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 10 | // License Agreement |
| RyoheiHagimoto | 0:0e0631af0305 | 11 | // For Open Source Computer Vision Library |
| RyoheiHagimoto | 0:0e0631af0305 | 12 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. |
| RyoheiHagimoto | 0:0e0631af0305 | 14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved. |
| RyoheiHagimoto | 0:0e0631af0305 | 15 | // Copyright (C) 2013, OpenCV Foundation, all rights reserved. |
| RyoheiHagimoto | 0:0e0631af0305 | 16 | // Copyright (C) 2015, Itseez Inc., all rights reserved. |
| RyoheiHagimoto | 0:0e0631af0305 | 17 | // Third party copyrights are property of their respective owners. |
| RyoheiHagimoto | 0:0e0631af0305 | 18 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 19 | // Redistribution and use in source and binary forms, with or without modification, |
| RyoheiHagimoto | 0:0e0631af0305 | 20 | // are permitted provided that the following conditions are met: |
| RyoheiHagimoto | 0:0e0631af0305 | 21 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 22 | // * Redistribution's of source code must retain the above copyright notice, |
| RyoheiHagimoto | 0:0e0631af0305 | 23 | // this list of conditions and the following disclaimer. |
| RyoheiHagimoto | 0:0e0631af0305 | 24 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 25 | // * Redistribution's in binary form must reproduce the above copyright notice, |
| RyoheiHagimoto | 0:0e0631af0305 | 26 | // this list of conditions and the following disclaimer in the documentation |
| RyoheiHagimoto | 0:0e0631af0305 | 27 | // and/or other materials provided with the distribution. |
| RyoheiHagimoto | 0:0e0631af0305 | 28 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 29 | // * The name of the copyright holders may not be used to endorse or promote products |
| RyoheiHagimoto | 0:0e0631af0305 | 30 | // derived from this software without specific prior written permission. |
| RyoheiHagimoto | 0:0e0631af0305 | 31 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 32 | // This software is provided by the copyright holders and contributors "as is" and |
| RyoheiHagimoto | 0:0e0631af0305 | 33 | // any express or implied warranties, including, but not limited to, the implied |
| RyoheiHagimoto | 0:0e0631af0305 | 34 | // warranties of merchantability and fitness for a particular purpose are disclaimed. |
| RyoheiHagimoto | 0:0e0631af0305 | 35 | // In no event shall the Intel Corporation or contributors be liable for any direct, |
| RyoheiHagimoto | 0:0e0631af0305 | 36 | // indirect, incidental, special, exemplary, or consequential damages |
| RyoheiHagimoto | 0:0e0631af0305 | 37 | // (including, but not limited to, procurement of substitute goods or services; |
| RyoheiHagimoto | 0:0e0631af0305 | 38 | // loss of use, data, or profits; or business interruption) however caused |
| RyoheiHagimoto | 0:0e0631af0305 | 39 | // and on any theory of liability, whether in contract, strict liability, |
| RyoheiHagimoto | 0:0e0631af0305 | 40 | // or tort (including negligence or otherwise) arising in any way out of |
| RyoheiHagimoto | 0:0e0631af0305 | 41 | // the use of this software, even if advised of the possibility of such damage. |
| RyoheiHagimoto | 0:0e0631af0305 | 42 | // |
| RyoheiHagimoto | 0:0e0631af0305 | 43 | //M*/ |
| RyoheiHagimoto | 0:0e0631af0305 | 44 | |
| RyoheiHagimoto | 0:0e0631af0305 | 45 | #ifndef OPENCV_HAL_HPP |
| RyoheiHagimoto | 0:0e0631af0305 | 46 | #define OPENCV_HAL_HPP |
| RyoheiHagimoto | 0:0e0631af0305 | 47 | |
| RyoheiHagimoto | 0:0e0631af0305 | 48 | #include "opencv2/core/cvdef.h" |
| RyoheiHagimoto | 0:0e0631af0305 | 49 | #include "opencv2/core/cvstd.hpp" |
| RyoheiHagimoto | 0:0e0631af0305 | 50 | #include "opencv2/core/hal/interface.h" |
| RyoheiHagimoto | 0:0e0631af0305 | 51 | |
| RyoheiHagimoto | 0:0e0631af0305 | 52 | namespace cv { namespace hal { |
| RyoheiHagimoto | 0:0e0631af0305 | 53 | |
| RyoheiHagimoto | 0:0e0631af0305 | 54 | //! @addtogroup core_hal_functions |
| RyoheiHagimoto | 0:0e0631af0305 | 55 | //! @{ |
| RyoheiHagimoto | 0:0e0631af0305 | 56 | |
| RyoheiHagimoto | 0:0e0631af0305 | 57 | CV_EXPORTS int normHamming(const uchar* a, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 58 | CV_EXPORTS int normHamming(const uchar* a, const uchar* b, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 59 | |
| RyoheiHagimoto | 0:0e0631af0305 | 60 | CV_EXPORTS int normHamming(const uchar* a, int n, int cellSize); |
| RyoheiHagimoto | 0:0e0631af0305 | 61 | CV_EXPORTS int normHamming(const uchar* a, const uchar* b, int n, int cellSize); |
| RyoheiHagimoto | 0:0e0631af0305 | 62 | |
| RyoheiHagimoto | 0:0e0631af0305 | 63 | CV_EXPORTS int LU32f(float* A, size_t astep, int m, float* b, size_t bstep, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 64 | CV_EXPORTS int LU64f(double* A, size_t astep, int m, double* b, size_t bstep, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 65 | CV_EXPORTS bool Cholesky32f(float* A, size_t astep, int m, float* b, size_t bstep, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 66 | CV_EXPORTS bool Cholesky64f(double* A, size_t astep, int m, double* b, size_t bstep, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 67 | CV_EXPORTS void SVD32f(float* At, size_t astep, float* W, float* U, size_t ustep, float* Vt, size_t vstep, int m, int n, int flags); |
| RyoheiHagimoto | 0:0e0631af0305 | 68 | CV_EXPORTS void SVD64f(double* At, size_t astep, double* W, double* U, size_t ustep, double* Vt, size_t vstep, int m, int n, int flags); |
| RyoheiHagimoto | 0:0e0631af0305 | 69 | CV_EXPORTS int QR32f(float* A, size_t astep, int m, int n, int k, float* b, size_t bstep, float* hFactors); |
| RyoheiHagimoto | 0:0e0631af0305 | 70 | CV_EXPORTS int QR64f(double* A, size_t astep, int m, int n, int k, double* b, size_t bstep, double* hFactors); |
| RyoheiHagimoto | 0:0e0631af0305 | 71 | |
| RyoheiHagimoto | 0:0e0631af0305 | 72 | CV_EXPORTS void gemm32f(const float* src1, size_t src1_step, const float* src2, size_t src2_step, |
| RyoheiHagimoto | 0:0e0631af0305 | 73 | float alpha, const float* src3, size_t src3_step, float beta, float* dst, size_t dst_step, |
| RyoheiHagimoto | 0:0e0631af0305 | 74 | int m_a, int n_a, int n_d, int flags); |
| RyoheiHagimoto | 0:0e0631af0305 | 75 | CV_EXPORTS void gemm64f(const double* src1, size_t src1_step, const double* src2, size_t src2_step, |
| RyoheiHagimoto | 0:0e0631af0305 | 76 | double alpha, const double* src3, size_t src3_step, double beta, double* dst, size_t dst_step, |
| RyoheiHagimoto | 0:0e0631af0305 | 77 | int m_a, int n_a, int n_d, int flags); |
| RyoheiHagimoto | 0:0e0631af0305 | 78 | CV_EXPORTS void gemm32fc(const float* src1, size_t src1_step, const float* src2, size_t src2_step, |
| RyoheiHagimoto | 0:0e0631af0305 | 79 | float alpha, const float* src3, size_t src3_step, float beta, float* dst, size_t dst_step, |
| RyoheiHagimoto | 0:0e0631af0305 | 80 | int m_a, int n_a, int n_d, int flags); |
| RyoheiHagimoto | 0:0e0631af0305 | 81 | CV_EXPORTS void gemm64fc(const double* src1, size_t src1_step, const double* src2, size_t src2_step, |
| RyoheiHagimoto | 0:0e0631af0305 | 82 | double alpha, const double* src3, size_t src3_step, double beta, double* dst, size_t dst_step, |
| RyoheiHagimoto | 0:0e0631af0305 | 83 | int m_a, int n_a, int n_d, int flags); |
| RyoheiHagimoto | 0:0e0631af0305 | 84 | |
| RyoheiHagimoto | 0:0e0631af0305 | 85 | CV_EXPORTS int normL1_(const uchar* a, const uchar* b, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 86 | CV_EXPORTS float normL1_(const float* a, const float* b, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 87 | CV_EXPORTS float normL2Sqr_(const float* a, const float* b, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 88 | |
| RyoheiHagimoto | 0:0e0631af0305 | 89 | CV_EXPORTS void exp32f(const float* src, float* dst, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 90 | CV_EXPORTS void exp64f(const double* src, double* dst, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 91 | CV_EXPORTS void log32f(const float* src, float* dst, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 92 | CV_EXPORTS void log64f(const double* src, double* dst, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 93 | |
| RyoheiHagimoto | 0:0e0631af0305 | 94 | CV_EXPORTS void fastAtan32f(const float* y, const float* x, float* dst, int n, bool angleInDegrees); |
| RyoheiHagimoto | 0:0e0631af0305 | 95 | CV_EXPORTS void fastAtan64f(const double* y, const double* x, double* dst, int n, bool angleInDegrees); |
| RyoheiHagimoto | 0:0e0631af0305 | 96 | CV_EXPORTS void magnitude32f(const float* x, const float* y, float* dst, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 97 | CV_EXPORTS void magnitude64f(const double* x, const double* y, double* dst, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 98 | CV_EXPORTS void sqrt32f(const float* src, float* dst, int len); |
| RyoheiHagimoto | 0:0e0631af0305 | 99 | CV_EXPORTS void sqrt64f(const double* src, double* dst, int len); |
| RyoheiHagimoto | 0:0e0631af0305 | 100 | CV_EXPORTS void invSqrt32f(const float* src, float* dst, int len); |
| RyoheiHagimoto | 0:0e0631af0305 | 101 | CV_EXPORTS void invSqrt64f(const double* src, double* dst, int len); |
| RyoheiHagimoto | 0:0e0631af0305 | 102 | |
| RyoheiHagimoto | 0:0e0631af0305 | 103 | CV_EXPORTS void split8u(const uchar* src, uchar** dst, int len, int cn ); |
| RyoheiHagimoto | 0:0e0631af0305 | 104 | CV_EXPORTS void split16u(const ushort* src, ushort** dst, int len, int cn ); |
| RyoheiHagimoto | 0:0e0631af0305 | 105 | CV_EXPORTS void split32s(const int* src, int** dst, int len, int cn ); |
| RyoheiHagimoto | 0:0e0631af0305 | 106 | CV_EXPORTS void split64s(const int64* src, int64** dst, int len, int cn ); |
| RyoheiHagimoto | 0:0e0631af0305 | 107 | |
| RyoheiHagimoto | 0:0e0631af0305 | 108 | CV_EXPORTS void merge8u(const uchar** src, uchar* dst, int len, int cn ); |
| RyoheiHagimoto | 0:0e0631af0305 | 109 | CV_EXPORTS void merge16u(const ushort** src, ushort* dst, int len, int cn ); |
| RyoheiHagimoto | 0:0e0631af0305 | 110 | CV_EXPORTS void merge32s(const int** src, int* dst, int len, int cn ); |
| RyoheiHagimoto | 0:0e0631af0305 | 111 | CV_EXPORTS void merge64s(const int64** src, int64* dst, int len, int cn ); |
| RyoheiHagimoto | 0:0e0631af0305 | 112 | |
| RyoheiHagimoto | 0:0e0631af0305 | 113 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 114 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 115 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 116 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 117 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 118 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 119 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 120 | |
| RyoheiHagimoto | 0:0e0631af0305 | 121 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 122 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 123 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 124 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 125 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 126 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 127 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 128 | |
| RyoheiHagimoto | 0:0e0631af0305 | 129 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 130 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 131 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 132 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 133 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 134 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 135 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 136 | |
| RyoheiHagimoto | 0:0e0631af0305 | 137 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 138 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 139 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 140 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 141 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 142 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 143 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 144 | |
| RyoheiHagimoto | 0:0e0631af0305 | 145 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 146 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 147 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 148 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 149 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 150 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 151 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 152 | |
| RyoheiHagimoto | 0:0e0631af0305 | 153 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 154 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 155 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 156 | 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* ); |
| RyoheiHagimoto | 0:0e0631af0305 | 157 | |
| RyoheiHagimoto | 0:0e0631af0305 | 158 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 159 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 160 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 161 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 162 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 163 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 164 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 165 | |
| RyoheiHagimoto | 0:0e0631af0305 | 166 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 167 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 168 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 169 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 170 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 171 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 172 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 173 | |
| RyoheiHagimoto | 0:0e0631af0305 | 174 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 175 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 176 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 177 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 178 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 179 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 180 | 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); |
| RyoheiHagimoto | 0:0e0631af0305 | 181 | |
| RyoheiHagimoto | 0:0e0631af0305 | 182 | CV_EXPORTS void recip8u( const uchar *, size_t, const uchar * src2, size_t step2, uchar* dst, size_t step, int width, int height, void* scale); |
| RyoheiHagimoto | 0:0e0631af0305 | 183 | CV_EXPORTS void recip8s( const schar *, size_t, const schar * src2, size_t step2, schar* dst, size_t step, int width, int height, void* scale); |
| RyoheiHagimoto | 0:0e0631af0305 | 184 | CV_EXPORTS void recip16u( const ushort *, size_t, const ushort * src2, size_t step2, ushort* dst, size_t step, int width, int height, void* scale); |
| RyoheiHagimoto | 0:0e0631af0305 | 185 | CV_EXPORTS void recip16s( const short *, size_t, const short * src2, size_t step2, short* dst, size_t step, int width, int height, void* scale); |
| RyoheiHagimoto | 0:0e0631af0305 | 186 | CV_EXPORTS void recip32s( const int *, size_t, const int * src2, size_t step2, int* dst, size_t step, int width, int height, void* scale); |
| RyoheiHagimoto | 0:0e0631af0305 | 187 | CV_EXPORTS void recip32f( const float *, size_t, const float * src2, size_t step2, float* dst, size_t step, int width, int height, void* scale); |
| RyoheiHagimoto | 0:0e0631af0305 | 188 | CV_EXPORTS void recip64f( const double *, size_t, const double * src2, size_t step2, double* dst, size_t step, int width, int height, void* scale); |
| RyoheiHagimoto | 0:0e0631af0305 | 189 | |
| RyoheiHagimoto | 0:0e0631af0305 | 190 | 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 ); |
| RyoheiHagimoto | 0:0e0631af0305 | 191 | 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 ); |
| RyoheiHagimoto | 0:0e0631af0305 | 192 | 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 ); |
| RyoheiHagimoto | 0:0e0631af0305 | 193 | 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 ); |
| RyoheiHagimoto | 0:0e0631af0305 | 194 | 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 ); |
| RyoheiHagimoto | 0:0e0631af0305 | 195 | 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 ); |
| RyoheiHagimoto | 0:0e0631af0305 | 196 | 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 ); |
| RyoheiHagimoto | 0:0e0631af0305 | 197 | |
| RyoheiHagimoto | 0:0e0631af0305 | 198 | struct CV_EXPORTS DFT1D |
| RyoheiHagimoto | 0:0e0631af0305 | 199 | { |
| RyoheiHagimoto | 0:0e0631af0305 | 200 | static Ptr<DFT1D> create(int len, int count, int depth, int flags, bool * useBuffer = 0); |
| RyoheiHagimoto | 0:0e0631af0305 | 201 | virtual void apply(const uchar *src, uchar *dst) = 0; |
| RyoheiHagimoto | 0:0e0631af0305 | 202 | virtual ~DFT1D() {} |
| RyoheiHagimoto | 0:0e0631af0305 | 203 | }; |
| RyoheiHagimoto | 0:0e0631af0305 | 204 | |
| RyoheiHagimoto | 0:0e0631af0305 | 205 | struct CV_EXPORTS DFT2D |
| RyoheiHagimoto | 0:0e0631af0305 | 206 | { |
| RyoheiHagimoto | 0:0e0631af0305 | 207 | static Ptr<DFT2D> create(int width, int height, int depth, |
| RyoheiHagimoto | 0:0e0631af0305 | 208 | int src_channels, int dst_channels, |
| RyoheiHagimoto | 0:0e0631af0305 | 209 | int flags, int nonzero_rows = 0); |
| RyoheiHagimoto | 0:0e0631af0305 | 210 | virtual void apply(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step) = 0; |
| RyoheiHagimoto | 0:0e0631af0305 | 211 | virtual ~DFT2D() {} |
| RyoheiHagimoto | 0:0e0631af0305 | 212 | }; |
| RyoheiHagimoto | 0:0e0631af0305 | 213 | |
| RyoheiHagimoto | 0:0e0631af0305 | 214 | struct CV_EXPORTS DCT2D |
| RyoheiHagimoto | 0:0e0631af0305 | 215 | { |
| RyoheiHagimoto | 0:0e0631af0305 | 216 | static Ptr<DCT2D> create(int width, int height, int depth, int flags); |
| RyoheiHagimoto | 0:0e0631af0305 | 217 | virtual void apply(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step) = 0; |
| RyoheiHagimoto | 0:0e0631af0305 | 218 | virtual ~DCT2D() {} |
| RyoheiHagimoto | 0:0e0631af0305 | 219 | }; |
| RyoheiHagimoto | 0:0e0631af0305 | 220 | |
| RyoheiHagimoto | 0:0e0631af0305 | 221 | //! @} core_hal |
| RyoheiHagimoto | 0:0e0631af0305 | 222 | |
| RyoheiHagimoto | 0:0e0631af0305 | 223 | //============================================================================= |
| RyoheiHagimoto | 0:0e0631af0305 | 224 | // for binary compatibility with 3.0 |
| RyoheiHagimoto | 0:0e0631af0305 | 225 | |
| RyoheiHagimoto | 0:0e0631af0305 | 226 | //! @cond IGNORED |
| RyoheiHagimoto | 0:0e0631af0305 | 227 | |
| RyoheiHagimoto | 0:0e0631af0305 | 228 | CV_EXPORTS int LU(float* A, size_t astep, int m, float* b, size_t bstep, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 229 | CV_EXPORTS int LU(double* A, size_t astep, int m, double* b, size_t bstep, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 230 | CV_EXPORTS bool Cholesky(float* A, size_t astep, int m, float* b, size_t bstep, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 231 | CV_EXPORTS bool Cholesky(double* A, size_t astep, int m, double* b, size_t bstep, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 232 | |
| RyoheiHagimoto | 0:0e0631af0305 | 233 | CV_EXPORTS void exp(const float* src, float* dst, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 234 | CV_EXPORTS void exp(const double* src, double* dst, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 235 | CV_EXPORTS void log(const float* src, float* dst, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 236 | CV_EXPORTS void log(const double* src, double* dst, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 237 | |
| RyoheiHagimoto | 0:0e0631af0305 | 238 | CV_EXPORTS void fastAtan2(const float* y, const float* x, float* dst, int n, bool angleInDegrees); |
| RyoheiHagimoto | 0:0e0631af0305 | 239 | CV_EXPORTS void magnitude(const float* x, const float* y, float* dst, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 240 | CV_EXPORTS void magnitude(const double* x, const double* y, double* dst, int n); |
| RyoheiHagimoto | 0:0e0631af0305 | 241 | CV_EXPORTS void sqrt(const float* src, float* dst, int len); |
| RyoheiHagimoto | 0:0e0631af0305 | 242 | CV_EXPORTS void sqrt(const double* src, double* dst, int len); |
| RyoheiHagimoto | 0:0e0631af0305 | 243 | CV_EXPORTS void invSqrt(const float* src, float* dst, int len); |
| RyoheiHagimoto | 0:0e0631af0305 | 244 | CV_EXPORTS void invSqrt(const double* src, double* dst, int len); |
| RyoheiHagimoto | 0:0e0631af0305 | 245 | |
| RyoheiHagimoto | 0:0e0631af0305 | 246 | //! @endcond |
| RyoheiHagimoto | 0:0e0631af0305 | 247 | |
| RyoheiHagimoto | 0:0e0631af0305 | 248 | }} //cv::hal |
| RyoheiHagimoto | 0:0e0631af0305 | 249 | |
| RyoheiHagimoto | 0:0e0631af0305 | 250 | #endif //OPENCV_HAL_HPP |