OpenCV 4.10.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
hal_replacement.hpp File Reference
#include "opencv2/core/hal/interface.h"
#include "hal_internal.hpp"
#include "custom_hal.hpp"
Include dependency graph for hal_replacement.hpp:

Classes

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

Functions

int hal_ni_absdiff16s (const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_absdiff16u (const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_absdiff32f (const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_absdiff32s (const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_absdiff64f (const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_absdiff8s (const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_absdiff8u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_absDiffScalar32f32f (const float *src_data, size_t src_step, float *dst_data, size_t dst_step, int width, int height, const float *scalar_data, int nChannels)
 
int hal_ni_absDiffScalar32s32u (const int *src_data, size_t src_step, uint32_t *dst_data, size_t dst_step, int width, int height, const int *scalar_data, int nChannels)
 
int hal_ni_absDiffScalar8u8u (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, const uchar *scalar_data, int nChannels)
 
int hal_ni_add16s (const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_add16u (const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_add32f (const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_add32s (const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_add64f (const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_add8s (const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_add8u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_addScalar16s16s (const int16_t *src_data, size_t src_step, int16_t *dst_data, size_t dst_step, int width, int height, const int16_t *scalar_data, int nChannels)
 
int hal_ni_addScalar32f32f (const float *src_data, size_t src_step, float *dst_data, size_t dst_step, int width, int height, const float *scalar_data, int nChannels)
 
int hal_ni_addWeighted16s (const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height, const double scalars[3])
 
int hal_ni_addWeighted16u (const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height, const double scalars[3])
 
int hal_ni_addWeighted32f (const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height, const double scalars[3])
 
int hal_ni_addWeighted32s (const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height, const double scalars[3])
 
int hal_ni_addWeighted64f (const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height, const double scalars[3])
 
int hal_ni_addWeighted8s (const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height, const double scalars[3])
 
int hal_ni_addWeighted8u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, const double scalars[3])
 
int hal_ni_and8u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_cartToPolar32f (const float *x, const float *y, float *mag, float *angle, int len, bool angleInDegrees)
 
int hal_ni_cartToPolar64f (const double *x, const double *y, double *mag, double *angle, int len, bool angleInDegrees)
 
int hal_ni_Cholesky32f (float *src1, size_t src1_step, int m, float *src2, size_t src2_step, int n, bool *info)
 
int hal_ni_Cholesky64f (double *src1, size_t src1_step, int m, double *src2, size_t src2_step, int n, bool *info)
 
int hal_ni_cmp16s (const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, int operation)
 
int hal_ni_cmp16u (const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, int operation)
 
int hal_ni_cmp32f (const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, int operation)
 
int hal_ni_cmp32s (const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, int operation)
 
int hal_ni_cmp64f (const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, int operation)
 
int hal_ni_cmp8s (const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, int operation)
 
int hal_ni_cmp8u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, int operation)
 
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)
 
int hal_ni_div16s (const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_div16u (const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_div32f (const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_div32s (const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_div64f (const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_div8s (const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_div8u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_dotProduct (const uchar *a_data, size_t a_step, const uchar *b_data, size_t b_step, int width, int height, int type, double *dot_val)
 calculates dot product of two vectors (represented as 2d images)
 
int hal_ni_exp32f (const float *src, float *dst, int len)
 
int hal_ni_exp64f (const double *src, double *dst, int len)
 
int hal_ni_fastAtan32f (const float *y, const float *x, float *dst, int len, bool angleInDegrees)
 
int hal_ni_fastAtan64f (const double *y, const double *x, double *dst, int len, bool angleInDegrees)
 
int hal_ni_flip (int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int flip_mode)
 hal_flip
 
int hal_ni_gemm32f (const float *src1, size_t src1_step, const float *src2, size_t src2_step, float alpha, const float *src3, size_t src3_step, float beta, float *dst, size_t dst_step, int m, int n, int k, int flags)
 
int hal_ni_gemm32fc (const float *src1, size_t src1_step, const float *src2, size_t src2_step, float alpha, const float *src3, size_t src3_step, float beta, float *dst, size_t dst_step, int m, int n, int k, int flags)
 
int hal_ni_gemm64f (const double *src1, size_t src1_step, const double *src2, size_t src2_step, double alpha, const double *src3, size_t src3_step, double beta, double *dst, size_t dst_step, int m, int n, int k, int flags)
 
int hal_ni_gemm64fc (const double *src1, size_t src1_step, const double *src2, size_t src2_step, double alpha, const double *src3, size_t src3_step, double beta, double *dst, size_t dst_step, int m, int n, int k, int flags)
 
int hal_ni_invSqrt32f (const float *src, float *dst, int len)
 
int hal_ni_invSqrt64f (const double *src, double *dst, int len)
 
int hal_ni_log32f (const float *src, float *dst, int len)
 
int hal_ni_log64f (const double *src, double *dst, int len)
 
int hal_ni_LU32f (float *src1, size_t src1_step, int m, float *src2, size_t src2_step, int n, int *info)
 
int hal_ni_LU64f (double *src1, size_t src1_step, int m, double *src2, size_t src2_step, int n, int *info)
 
int hal_ni_lut (const uchar *src_data, size_t src_step, size_t src_type, const uchar *lut_data, size_t lut_channel_size, size_t lut_channels, uchar *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_magnitude32f (const float *x, const float *y, float *dst, int len)
 
int hal_ni_magnitude64f (const double *x, const double *y, double *dst, int len)
 
int hal_ni_max16s (const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_max16u (const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_max32f (const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_max32s (const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_max64f (const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_max8s (const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_max8u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_meanStdDev (const uchar *src_data, size_t src_step, int width, int height, int src_type, double *mean_val, double *stddev_val, uchar *mask, size_t mask_step)
 calculates the mean and the standard deviation of array elements independently for each channel
 
int hal_ni_merge16u (const ushort **src_data, ushort *dst_data, int len, int cn)
 
int hal_ni_merge32s (const int **src_data, int *dst_data, int len, int cn)
 
int hal_ni_merge64s (const int64 **src_data, int64 *dst_data, int len, int cn)
 
int hal_ni_merge8u (const uchar **src_data, uchar *dst_data, int len, int cn)
 
int hal_ni_min16s (const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_min16u (const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_min32f (const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_min32s (const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_min64f (const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_min8s (const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_min8u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_minMaxIdx (const uchar *src_data, size_t src_step, int width, int height, int depth, double *minVal, double *maxVal, int *minIdx, int *maxIdx, uchar *mask)
 Finds the global minimum and maximum in an array.
 
int hal_ni_mul16s (const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_mul16u (const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_mul32f (const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_mul32s (const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_mul64f (const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_mul8s (const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_mul8s16s (const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_mul8u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_mul8u16u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_normHamming8u (const uchar *a, int n, int cellSize, int *result)
 
int hal_ni_normHammingDiff8u (const uchar *a, const uchar *b, int n, int cellSize, int *result)
 
int hal_ni_not8u (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_or8u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_polarToCart32f (const float *mag, const float *angle, float *x, float *y, int len, bool angleInDegrees)
 
int hal_ni_polarToCart64f (const double *mag, const double *angle, double *x, double *y, int len, bool angleInDegrees)
 
int hal_ni_QR32f (float *src1, size_t src1_step, int m, int n, int k, float *src2, size_t src2_step, float *dst, int *info)
 
int hal_ni_QR64f (double *src1, size_t src1_step, int m, int n, int k, double *src2, size_t src2_step, double *dst, int *info)
 
int hal_ni_recip16s (const short *src_data, size_t src_step, short *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_recip16u (const ushort *src_data, size_t src_step, ushort *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_recip32f (const float *src_data, size_t src_step, float *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_recip32s (const int *src_data, size_t src_step, int *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_recip64f (const double *src_data, size_t src_step, double *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_recip8s (const schar *src_data, size_t src_step, schar *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_recip8u (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, double scale)
 
int hal_ni_rotate90 (int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int angle)
 rotate90
 
int hal_ni_split16u (const ushort *src_data, ushort **dst_data, int len, int cn)
 
int hal_ni_split32s (const int *src_data, int **dst_data, int len, int cn)
 
int hal_ni_split64s (const int64 *src_data, int64 **dst_data, int len, int cn)
 
int hal_ni_split8u (const uchar *src_data, uchar **dst_data, int len, int cn)
 
int hal_ni_sqrt32f (const float *src, float *dst, int len)
 
int hal_ni_sqrt64f (const double *src, double *dst, int len)
 
int hal_ni_sub16s (const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_sub16u (const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_sub32f (const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_sub32s (const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_sub64f (const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_sub8s (const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_sub8s32f (const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_sub8u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_sub8u32f (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height)
 
int hal_ni_SVD32f (float *src, size_t src_step, float *w, float *u, size_t u_step, float *vt, size_t vt_step, int m, int n, int flags)
 
int hal_ni_SVD64f (double *src, size_t src_step, double *w, double *u, size_t u_step, double *vt, size_t vt_step, int m, int n, int flags)
 
int hal_ni_transpose2d (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int src_width, int src_height, int element_size)
 Transpose2d.
 
int hal_ni_xor8u (const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)