OpenCV  3.2.0-dev
Open Source Computer Vision
Collaboration diagram for Interface:

Modules

 Element-wise add and subtract
 Add: dst[i] = src1[i] + src2[i]
Sub: dst[i] = src1[i] - src2[i]
 
 Element-wise minimum or maximum
 Minimum: dst[i] = min(src1[i], src2[i])
Maximum: dst[i] = max(src1[i], src2[i])
 
 Element-wise absolute difference
 Absolute difference: dst[i] = | src1[i] - src2[i] |
 
 Bitwise logical operations
 Bitwise AND: dst[i] = src1[i] & src2[i]
Bitwise OR: dst[i] = src1[i] | src2[i]
Bitwise XOR: dst[i] = src1[i] ^ src2[i]
Bitwise NOT: dst[i] = !src[i]
 
 Element-wise compare
 Compare: dst[i] = src1[i] op src2[i]
 
 Element-wise multiply
 Multiply: dst[i] = scale * src1[i] * src2[i]
 
 Element-wise divide
 Divide: dst[i] = scale * src1[i] / src2[i]
 
 Element-wise reciprocial
 Computes reciprocial: dst[i] = scale / src[i]
 
 Element-wise weighted sum
 Computes weighted sum of two arrays using formula: dst[i] = a * src1[i] + b * src2[i] + c
 
 Channel split
 
 Channel merge
 
 Atan calculation
 
 Magnitude calculation
 
 Inverse square root calculation
 
 Square root calculation
 
 Natural logarithm calculation
 
 Exponent calculation
 
 LU matrix decomposition
 Performs \(LU\) decomposition of square matrix \(A=P*L*U\) (where \(P\) is permutation matrix) and solves matrix equation \(A*X=B\).
 
 Cholesky matrix decomposition
 Performs Cholesky decomposition of matrix \(A = L*L^T\) and solves matrix equation \(A*X=B\).
 
 Singular value matrix decomposition
 Performs singular value decomposition of \(M\times N\)( \(M>N\)) matrix \(A = U*\Sigma*V^T\).
 
 QR matrix decomposition
 Performs QR decomposition of \(M\times N\)( \(M>N\)) matrix \(A = Q*R\) and solves matrix equation \(A*X=B\).
 
 Matrix multiplication
 The function performs generalized matrix multiplication similar to the gemm functions in BLAS level 3: \(D = \alpha*AB+\beta*C\).
 

Classes

struct  cvhalDFT
 Dummy structure storing DFT/DCT context. More...
 

Functions

int hal_ni_dct2D (cvhalDFT *context, const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step)
 
int hal_ni_dctFree2D (cvhalDFT *context)
 
int hal_ni_dctInit2D (cvhalDFT **context, int width, int height, int depth, int flags)
 
int hal_ni_dft1D (cvhalDFT *context, const uchar *src, uchar *dst)
 
int hal_ni_dft2D (cvhalDFT *context, const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step)
 
int hal_ni_dftFree1D (cvhalDFT *context)
 
int hal_ni_dftFree2D (cvhalDFT *context)
 
int hal_ni_dftInit1D (cvhalDFT **context, int len, int count, int depth, int flags, bool *needBuffer)
 
int hal_ni_dftInit2D (cvhalDFT **context, int width, int height, int depth, int src_channels, int dst_channels, int flags, int nonzero_rows)
 

Return codes

#define CV_HAL_ERROR_OK   0
 
#define CV_HAL_ERROR_NOT_IMPLEMENTED   1
 
#define CV_HAL_ERROR_UNKNOWN   -1
 

Data types

primitive types

  • schar - signed 1 byte integer
  • uchar - unsigned 1 byte integer
  • short - signed 2 byte integer
  • ushort - unsigned 2 byte integer
  • int - signed 4 byte integer
  • uint - unsigned 4 byte integer
  • int64 - signed 8 byte integer
  • uint64 - unsigned 8 byte integer
typedef uint32_t uint
 
typedef signed char schar
 
typedef unsigned char uchar
 
typedef unsigned short ushort
 
typedef int64_t int64
 
typedef uint64_t uint64
 
#define CV_BIG_INT(n)   n##LL
 
#define CV_BIG_UINT(n)   n##ULL
 
#define CV_CN_MAX   512
 
#define CV_CN_SHIFT   3
 
#define CV_DEPTH_MAX   (1 << CV_CN_SHIFT)
 
#define CV_8U   0
 
#define CV_8S   1
 
#define CV_16U   2
 
#define CV_16S   3
 
#define CV_32S   4
 
#define CV_32F   5
 
#define CV_64F   6
 
#define CV_USRTYPE1   7
 
#define CV_MAT_DEPTH_MASK   (CV_DEPTH_MAX - 1)
 
#define CV_MAT_DEPTH(flags)   ((flags) & CV_MAT_DEPTH_MASK)
 
#define CV_MAKETYPE(depth, cn)   (CV_MAT_DEPTH(depth) + (((cn)-1) << CV_CN_SHIFT))
 
#define CV_MAKE_TYPE   CV_MAKETYPE
 
#define CV_8UC1   CV_MAKETYPE(CV_8U,1)
 
#define CV_8UC2   CV_MAKETYPE(CV_8U,2)
 
#define CV_8UC3   CV_MAKETYPE(CV_8U,3)
 
#define CV_8UC4   CV_MAKETYPE(CV_8U,4)
 
#define CV_8UC(n)   CV_MAKETYPE(CV_8U,(n))
 
#define CV_8SC1   CV_MAKETYPE(CV_8S,1)
 
#define CV_8SC2   CV_MAKETYPE(CV_8S,2)
 
#define CV_8SC3   CV_MAKETYPE(CV_8S,3)
 
#define CV_8SC4   CV_MAKETYPE(CV_8S,4)
 
#define CV_8SC(n)   CV_MAKETYPE(CV_8S,(n))
 
#define CV_16UC1   CV_MAKETYPE(CV_16U,1)
 
#define CV_16UC2   CV_MAKETYPE(CV_16U,2)
 
#define CV_16UC3   CV_MAKETYPE(CV_16U,3)
 
#define CV_16UC4   CV_MAKETYPE(CV_16U,4)
 
#define CV_16UC(n)   CV_MAKETYPE(CV_16U,(n))
 
#define CV_16SC1   CV_MAKETYPE(CV_16S,1)
 
#define CV_16SC2   CV_MAKETYPE(CV_16S,2)
 
#define CV_16SC3   CV_MAKETYPE(CV_16S,3)
 
#define CV_16SC4   CV_MAKETYPE(CV_16S,4)
 
#define CV_16SC(n)   CV_MAKETYPE(CV_16S,(n))
 
#define CV_32SC1   CV_MAKETYPE(CV_32S,1)
 
#define CV_32SC2   CV_MAKETYPE(CV_32S,2)
 
#define CV_32SC3   CV_MAKETYPE(CV_32S,3)
 
#define CV_32SC4   CV_MAKETYPE(CV_32S,4)
 
#define CV_32SC(n)   CV_MAKETYPE(CV_32S,(n))
 
#define CV_32FC1   CV_MAKETYPE(CV_32F,1)
 
#define CV_32FC2   CV_MAKETYPE(CV_32F,2)
 
#define CV_32FC3   CV_MAKETYPE(CV_32F,3)
 
#define CV_32FC4   CV_MAKETYPE(CV_32F,4)
 
#define CV_32FC(n)   CV_MAKETYPE(CV_32F,(n))
 
#define CV_64FC1   CV_MAKETYPE(CV_64F,1)
 
#define CV_64FC2   CV_MAKETYPE(CV_64F,2)
 
#define CV_64FC3   CV_MAKETYPE(CV_64F,3)
 
#define CV_64FC4   CV_MAKETYPE(CV_64F,4)
 
#define CV_64FC(n)   CV_MAKETYPE(CV_64F,(n))
 

Comparison operation

See also
cv::CmpTypes
#define CV_HAL_CMP_EQ   0
 
#define CV_HAL_CMP_GT   1
 
#define CV_HAL_CMP_GE   2
 
#define CV_HAL_CMP_LT   3
 
#define CV_HAL_CMP_LE   4
 
#define CV_HAL_CMP_NE   5
 

Border processing modes

See also
cv::BorderTypes
#define CV_HAL_BORDER_CONSTANT   0
 
#define CV_HAL_BORDER_REPLICATE   1
 
#define CV_HAL_BORDER_REFLECT   2
 
#define CV_HAL_BORDER_WRAP   3
 
#define CV_HAL_BORDER_REFLECT_101   4
 
#define CV_HAL_BORDER_TRANSPARENT   5
 
#define CV_HAL_BORDER_ISOLATED   16
 

DFT flags

#define CV_HAL_DFT_INVERSE   1
 
#define CV_HAL_DFT_SCALE   2
 
#define CV_HAL_DFT_ROWS   4
 
#define CV_HAL_DFT_COMPLEX_OUTPUT   16
 
#define CV_HAL_DFT_REAL_OUTPUT   32
 
#define CV_HAL_DFT_TWO_STAGE   64
 
#define CV_HAL_DFT_STAGE_COLS   128
 
#define CV_HAL_DFT_IS_CONTINUOUS   512
 
#define CV_HAL_DFT_IS_INPLACE   1024
 

SVD flags

#define CV_HAL_SVD_NO_UV   1
 
#define CV_HAL_SVD_SHORT_UV   2
 
#define CV_HAL_SVD_MODIFY_A   4
 
#define CV_HAL_SVD_FULL_UV   8
 

Gemm flags

#define CV_HAL_GEMM_1_T   1
 
#define CV_HAL_GEMM_2_T   2
 
#define CV_HAL_GEMM_3_T   4
 

Detailed Description

Note
Define your functions to override default implementations:
#undef hal_add8u
#define hal_add8u my_add8u

Macro Definition Documentation

#define CV_16S   3

#include <core/include/opencv2/core/hal/interface.h>

Examples:
edge.cpp, and laplace.cpp.

Referenced by cvIplDepth(), cv::hpp::toCvType(), cv::hpp::toHppType(), and cv::flann::CvType< short >::type().

#define CV_16SC (   n)    CV_MAKETYPE(CV_16S,(n))

#include <core/include/opencv2/core/hal/interface.h>

#define CV_16SC1   CV_MAKETYPE(CV_16S,1)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_16SC2   CV_MAKETYPE(CV_16S,2)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_16SC3   CV_MAKETYPE(CV_16S,3)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_16SC4   CV_MAKETYPE(CV_16S,4)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_16U   2

#include <core/include/opencv2/core/hal/interface.h>

Referenced by cv::hpp::toCvType(), cv::hpp::toHppType(), and cv::flann::CvType< unsigned short >::type().

#define CV_16UC (   n)    CV_MAKETYPE(CV_16U,(n))

#include <core/include/opencv2/core/hal/interface.h>

#define CV_16UC1   CV_MAKETYPE(CV_16U,1)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_16UC2   CV_MAKETYPE(CV_16U,2)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_16UC3   CV_MAKETYPE(CV_16U,3)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_16UC4   CV_MAKETYPE(CV_16U,4)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_32F   5
#define CV_32FC (   n)    CV_MAKETYPE(CV_32F,(n))

#include <core/include/opencv2/core/hal/interface.h>

#define CV_32FC1   CV_MAKETYPE(CV_32F,1)

#include <core/include/opencv2/core/hal/interface.h>

Referenced by cvmGet(), and cvmSet().

#define CV_32FC2   CV_MAKETYPE(CV_32F,2)

#include <core/include/opencv2/core/hal/interface.h>

Examples:
kmeans.cpp.
#define CV_32FC3   CV_MAKETYPE(CV_32F,3)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_32FC4   CV_MAKETYPE(CV_32F,4)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_32SC (   n)    CV_MAKETYPE(CV_32S,(n))

#include <core/include/opencv2/core/hal/interface.h>

#define CV_32SC1   CV_MAKETYPE(CV_32S,1)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_32SC2   CV_MAKETYPE(CV_32S,2)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_32SC3   CV_MAKETYPE(CV_32S,3)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_32SC4   CV_MAKETYPE(CV_32S,4)

#include <core/include/opencv2/core/hal/interface.h>

Examples:
houghlines.cpp.
#define CV_64F   6

#include <core/include/opencv2/core/hal/interface.h>

Examples:
cout_mat.cpp.

Referenced by cvMat(), cv::hpp::toCvType(), cv::hpp::toHppType(), cv::flann::CvType< double >::type(), and cv::LineSegmentDetector::~LineSegmentDetector().

#define CV_64FC (   n)    CV_MAKETYPE(CV_64F,(n))

#include <core/include/opencv2/core/hal/interface.h>

#define CV_64FC1   CV_MAKETYPE(CV_64F,1)

#include <core/include/opencv2/core/hal/interface.h>

Referenced by cvmGet(), and cvmSet().

#define CV_64FC2   CV_MAKETYPE(CV_64F,2)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_64FC3   CV_MAKETYPE(CV_64F,3)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_64FC4   CV_MAKETYPE(CV_64F,4)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_8S   1

#include <core/include/opencv2/core/hal/interface.h>

Referenced by cvIplDepth(), and cv::flann::CvType< char >::type().

#define CV_8SC (   n)    CV_MAKETYPE(CV_8S,(n))

#include <core/include/opencv2/core/hal/interface.h>

#define CV_8SC1   CV_MAKETYPE(CV_8S,1)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_8SC2   CV_MAKETYPE(CV_8S,2)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_8SC3   CV_MAKETYPE(CV_8S,3)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_8SC4   CV_MAKETYPE(CV_8S,4)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_8UC (   n)    CV_MAKETYPE(CV_8U,(n))

#include <core/include/opencv2/core/hal/interface.h>

#define CV_8UC1   CV_MAKETYPE(CV_8U,1)

#include <core/include/opencv2/core/hal/interface.h>

Examples:
contours2.cpp, ffilldemo.cpp, grabcut.cpp, and pca.cpp.
#define CV_8UC2   CV_MAKETYPE(CV_8U,2)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_8UC3   CV_MAKETYPE(CV_8U,3)

#include <core/include/opencv2/core/hal/interface.h>

Examples:
contours2.cpp, convexhull.cpp, cout_mat.cpp, distrans.cpp, fitellipse.cpp, kmeans.cpp, minarea.cpp, segment_objects.cpp, and watershed.cpp.
#define CV_8UC4   CV_MAKETYPE(CV_8U,4)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_BIG_INT (   n)    n##LL

#include <core/include/opencv2/core/hal/interface.h>

#define CV_BIG_UINT (   n)    n##ULL

#include <core/include/opencv2/core/hal/interface.h>

#define CV_CN_MAX   512

#include <core/include/opencv2/core/hal/interface.h>

#define CV_CN_SHIFT   3

#include <core/include/opencv2/core/hal/interface.h>

#define CV_DEPTH_MAX   (1 << CV_CN_SHIFT)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_BORDER_CONSTANT   0

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_BORDER_ISOLATED   16

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_BORDER_REFLECT   2

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_BORDER_REFLECT_101   4

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_BORDER_REPLICATE   1

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_BORDER_TRANSPARENT   5

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_BORDER_WRAP   3

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_CMP_EQ   0

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_CMP_GE   2

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_CMP_GT   1

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_CMP_LE   4

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_CMP_LT   3

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_CMP_NE   5

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_DFT_COMPLEX_OUTPUT   16

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_DFT_INVERSE   1

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_DFT_IS_CONTINUOUS   512

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_DFT_IS_INPLACE   1024

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_DFT_REAL_OUTPUT   32

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_DFT_ROWS   4

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_DFT_SCALE   2

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_DFT_STAGE_COLS   128

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_DFT_TWO_STAGE   64

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_ERROR_NOT_IMPLEMENTED   1

#include <core/include/opencv2/core/hal/interface.h>

Referenced by hal_ni_absdiff16s(), hal_ni_absdiff16u(), hal_ni_absdiff32f(), hal_ni_absdiff32s(), hal_ni_absdiff64f(), hal_ni_absdiff8s(), hal_ni_add16s(), hal_ni_add16u(), hal_ni_add32f(), hal_ni_add32s(), hal_ni_add64f(), hal_ni_add8s(), hal_ni_addWeighted16s(), hal_ni_addWeighted16u(), hal_ni_addWeighted32f(), hal_ni_addWeighted32s(), hal_ni_addWeighted64f(), hal_ni_addWeighted8s(), hal_ni_Cholesky64f(), hal_ni_cmp16s(), hal_ni_cmp16u(), hal_ni_cmp32f(), hal_ni_cmp32s(), hal_ni_cmp64f(), hal_ni_cmp8s(), hal_ni_cvtBGR5x5toBGR(), hal_ni_cvtBGR5x5toGray(), hal_ni_cvtBGRtoBGR(), hal_ni_cvtBGRtoBGR5x5(), hal_ni_cvtBGRtoGray(), hal_ni_cvtBGRtoHSV(), hal_ni_cvtBGRtoLab(), hal_ni_cvtBGRtoThreePlaneYUV(), hal_ni_cvtBGRtoXYZ(), hal_ni_cvtBGRtoYUV(), hal_ni_cvtGraytoBGR(), hal_ni_cvtGraytoBGR5x5(), hal_ni_cvtHSVtoBGR(), hal_ni_cvtLabtoBGR(), hal_ni_cvtMultipliedRGBAtoRGBA(), hal_ni_cvtOnePlaneYUVtoBGR(), hal_ni_cvtRGBAtoMultipliedRGBA(), hal_ni_cvtThreePlaneYUVtoBGR(), hal_ni_cvtTwoPlaneYUVtoBGR(), hal_ni_cvtXYZtoBGR(), hal_ni_cvtYUVtoBGR(), hal_ni_dct2D(), hal_ni_dctFree2D(), hal_ni_dctInit2D(), hal_ni_dft1D(), hal_ni_dft2D(), hal_ni_dftFree1D(), hal_ni_dftFree2D(), hal_ni_dftInit1D(), hal_ni_dftInit2D(), hal_ni_div16s(), hal_ni_div16u(), hal_ni_div32f(), hal_ni_div32s(), hal_ni_div64f(), hal_ni_div8s(), hal_ni_exp64f(), hal_ni_fastAtan64f(), hal_ni_filter(), hal_ni_filterFree(), hal_ni_filterInit(), hal_ni_gemm32fc(), hal_ni_gemm64f(), hal_ni_gemm64fc(), hal_ni_integral(), hal_ni_invSqrt64f(), hal_ni_log64f(), hal_ni_LU64f(), hal_ni_magnitude64f(), hal_ni_max16s(), hal_ni_max16u(), hal_ni_max32f(), hal_ni_max32s(), hal_ni_max64f(), hal_ni_max8s(), hal_ni_merge16u(), hal_ni_merge32s(), hal_ni_merge64s(), hal_ni_min16s(), hal_ni_min16u(), hal_ni_min32f(), hal_ni_min32s(), hal_ni_min64f(), hal_ni_min8s(), hal_ni_min8u(), hal_ni_morph(), hal_ni_morphFree(), hal_ni_morphInit(), hal_ni_mul16s(), hal_ni_mul16u(), hal_ni_mul32f(), hal_ni_mul32s(), hal_ni_mul64f(), hal_ni_mul8s(), hal_ni_not8u(), hal_ni_or8u(), hal_ni_QR64f(), hal_ni_recip16s(), hal_ni_recip16u(), hal_ni_recip32f(), hal_ni_recip32s(), hal_ni_recip64f(), hal_ni_recip8s(), hal_ni_resize(), hal_ni_sepFilter(), hal_ni_sepFilterFree(), hal_ni_sepFilterInit(), hal_ni_split16u(), hal_ni_split32s(), hal_ni_split64s(), hal_ni_sqrt64f(), hal_ni_sub16s(), hal_ni_sub16u(), hal_ni_sub32f(), hal_ni_sub32s(), hal_ni_sub64f(), hal_ni_sub8s(), hal_ni_sub8u(), hal_ni_SVD64f(), hal_ni_warpAffine(), hal_ni_warpPerspectve(), and hal_ni_xor8u().

#define CV_HAL_ERROR_OK   0

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_ERROR_UNKNOWN   -1

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_GEMM_1_T   1

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_GEMM_2_T   2

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_GEMM_3_T   4

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_SVD_FULL_UV   8

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_SVD_MODIFY_A   4

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_SVD_NO_UV   1

#include <core/include/opencv2/core/hal/interface.h>

#define CV_HAL_SVD_SHORT_UV   2

#include <core/include/opencv2/core/hal/interface.h>

#define CV_MAKE_TYPE   CV_MAKETYPE

#include <core/include/opencv2/core/hal/interface.h>

Referenced by cv::cudev::VecTraits< char4 >::make().

#define CV_MAKETYPE (   depth,
  cn 
)    (CV_MAT_DEPTH(depth) + (((cn)-1) << CV_CN_SHIFT))

#include <core/include/opencv2/core/hal/interface.h>

Referenced by cv::hpp::copyHppToMat().

#define CV_MAT_DEPTH (   flags)    ((flags) & CV_MAT_DEPTH_MASK)

#include <core/include/opencv2/core/hal/interface.h>

Referenced by cvIplDepth(), cvMat(), cv::Seq< _Tp >::depth(), and cv::hpp::toHppType().

#define CV_MAT_DEPTH_MASK   (CV_DEPTH_MAX - 1)

#include <core/include/opencv2/core/hal/interface.h>

#define CV_USRTYPE1   7

#include <core/include/opencv2/core/hal/interface.h>

Typedef Documentation

typedef int64_t int64

#include <core/include/opencv2/core/hal/interface.h>

typedef signed char schar

#include <core/include/opencv2/core/hal/interface.h>

typedef unsigned char uchar

#include <core/include/opencv2/core/hal/interface.h>

Examples:
distrans.cpp.
typedef uint32_t uint

#include <core/include/opencv2/core/hal/interface.h>

typedef uint64_t uint64

#include <core/include/opencv2/core/hal/interface.h>

typedef unsigned short ushort

#include <core/include/opencv2/core/hal/interface.h>

Function Documentation

int hal_ni_dct2D ( cvhalDFT context,
const uchar src_data,
size_t  src_step,
uchar dst_data,
size_t  dst_step 
)
inline

#include <core/src/hal_replacement.hpp>

Parameters
contextpointer to context storing all necessary data
src_data,src_stepsource image data and step
dst_data,dst_stepdestination image data and step

References CV_HAL_ERROR_NOT_IMPLEMENTED.

int hal_ni_dctFree2D ( cvhalDFT context)
inline

#include <core/src/hal_replacement.hpp>

Parameters
contextpointer to context storing all necessary data

References CV_HAL_ERROR_NOT_IMPLEMENTED, and hal_ni_LU32f().

Here is the call graph for this function:

int hal_ni_dctInit2D ( cvhalDFT **  context,
int  width,
int  height,
int  depth,
int  flags 
)
inline

#include <core/src/hal_replacement.hpp>

Parameters
contextdouble pointer to context storing all necessary data
width,heightimage dimensions
depthimage type (CV_32F or CV64F)
flagsalgorithm options (combination of CV_HAL_DFT_INVERSE, ...)

References CV_HAL_ERROR_NOT_IMPLEMENTED.

int hal_ni_dft1D ( cvhalDFT context,
const uchar src,
uchar dst 
)
inline

#include <core/src/hal_replacement.hpp>

Parameters
contextpointer to context storing all necessary data
srcsource data
dstdestination data

References CV_HAL_ERROR_NOT_IMPLEMENTED.

int hal_ni_dft2D ( cvhalDFT context,
const uchar src_data,
size_t  src_step,
uchar dst_data,
size_t  dst_step 
)
inline

#include <core/src/hal_replacement.hpp>

Parameters
contextpointer to context storing all necessary data
src_data,src_stepsource image data and step
dst_data,dst_stepdestination image data and step

References CV_HAL_ERROR_NOT_IMPLEMENTED.

int hal_ni_dftFree1D ( cvhalDFT context)
inline

#include <core/src/hal_replacement.hpp>

Parameters
contextpointer to context storing all necessary data

References CV_HAL_ERROR_NOT_IMPLEMENTED.

int hal_ni_dftFree2D ( cvhalDFT context)
inline

#include <core/src/hal_replacement.hpp>

Parameters
contextpointer to context storing all necessary data

References CV_HAL_ERROR_NOT_IMPLEMENTED.

int hal_ni_dftInit1D ( cvhalDFT **  context,
int  len,
int  count,
int  depth,
int  flags,
bool *  needBuffer 
)
inline

#include <core/src/hal_replacement.hpp>

Parameters
contextdouble pointer to context storing all necessary data
lentransformed array length
countestimated transformation count
deptharray type (CV_32F or CV_64F)
flagsalgorithm options (combination of CV_HAL_DFT_INVERSE, CV_HAL_DFT_SCALE, ...)
needBufferpointer to boolean variable, if valid pointer provided, then variable value should be set to true to signal that additional memory buffer is needed for operations

References CV_HAL_ERROR_NOT_IMPLEMENTED.

int hal_ni_dftInit2D ( cvhalDFT **  context,
int  width,
int  height,
int  depth,
int  src_channels,
int  dst_channels,
int  flags,
int  nonzero_rows 
)
inline

#include <core/src/hal_replacement.hpp>

Parameters
contextdouble pointer to context storing all necessary data
width,heightimage dimensions
depthimage type (CV_32F or CV64F)
src_channelsnumber of channels in input image
dst_channelsnumber of channels in output image
flagsalgorithm options (combination of CV_HAL_DFT_INVERSE, ...)
nonzero_rowsnumber of nonzero rows in image, can be used for optimization

References CV_HAL_ERROR_NOT_IMPLEMENTED.