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

Classes

struct  cvhalFilter2D
 Dummy structure storing filtering context. More...
 

Functions

int hal_ni_adaptiveThreshold (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C)
 Calculates adaptive threshold.
 
int hal_ni_bilateralFilter (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, int d, double sigma_color, double sigma_space, int border_type)
 Calculate bilateral filter. See https://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/MANDUCHI1/Bilateral_Filtering.html.
 
int hal_ni_boxFilter (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int src_depth, int dst_depth, int cn, int margin_left, int margin_top, int margin_right, int margin_bottom, size_t ksize_width, size_t ksize_height, int anchor_x, int anchor_y, bool normalize, int border_type)
 Calculate box filter.
 
int hal_ni_canny (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int cn, double lowThreshold, double highThreshold, int ksize, bool L2gradient)
 Canny edge detector.
 
int hal_ni_cvtBGR5x5toBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int greenBits)
 hal_cvtBGR5x5toBGR
 
int hal_ni_cvtBGR5x5toGray (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int greenBits)
 hal_cvtBGR5x5toGray
 
int hal_ni_cvtBGRtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, int dcn, bool swapBlue)
 hal_cvtBGRtoBGR
 
int hal_ni_cvtBGRtoBGR5x5 (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int greenBits)
 hal_cvtBGRtoBGR5x5
 
int hal_ni_cvtBGRtoGray (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue)
 hal_cvtBGRtoGray
 
int hal_ni_cvtBGRtoHSV (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isFullRange, bool isHSV)
 hal_cvtBGRtoHSV
 
int hal_ni_cvtBGRtoLab (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isLab, bool srgb)
 hal_cvtBGRtoLab
 
int hal_ni_cvtBGRtoThreePlaneYUV (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx)
 hal_cvtBGRtoThreePlaneYUV
 
int hal_ni_cvtBGRtoThreePlaneYUVApprox (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx)
 Analog of hal_cvtBGRtoThreePlaneYUV that allows approximations (not bit-exact)
 
int hal_ni_cvtBGRtoTwoPlaneYUV (const uchar *src_data, size_t src_step, uchar *y_data, size_t y_step, uchar *uv_data, size_t uv_step, int width, int height, int scn, bool swapBlue, int uIdx)
 hal_cvtBGRtoTwoPlaneYUV
 
int hal_ni_cvtBGRtoXYZ (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue)
 hal_cvtBGRtoXYZ
 
int hal_ni_cvtBGRtoYUV (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isCbCr)
 hal_cvtBGRtoYUV
 
int hal_ni_cvtBGRtoYUVApprox (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isCbCr)
 Analog of hal_cvtBGRtoYUV, but allows approximations (not bit-exact)
 
int hal_ni_cvtGraytoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn)
 hal_cvtGraytoBGR
 
int hal_ni_cvtGraytoBGR5x5 (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int greenBits)
 hal_cvtGraytoBGR5x5
 
int hal_ni_cvtHSVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isFullRange, bool isHSV)
 hal_cvtHSVtoBGR
 
int hal_ni_cvtLabtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isLab, bool srgb)
 hal_cvtLabtoBGR
 
int hal_ni_cvtMultipliedRGBAtoRGBA (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height)
 hal_cvtMultipliedRGBAtoRGBA
 
int hal_ni_cvtOnePlaneBGRtoYUV (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx, int ycn)
 hal_cvtOnePlaneBGRtoYUV
 
int hal_ni_cvtOnePlaneBGRtoYUVApprox (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx, int ycn)
 analog of hal_cvtOnePlaneBGRtoYUV that allows approximations (not bit-exact)
 
int hal_ni_cvtOnePlaneYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int uIdx, int ycn)
 hal_cvtOnePlaneYUVtoBGR
 
int hal_ni_cvtOnePlaneYUVtoBGRApprox (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int uIdx, int ycn)
 analog of hal_cvtOnePlaneYUVtoBGR that allows approximations (not bit-exact)
 
int hal_ni_cvtRGBAtoMultipliedRGBA (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height)
 hal_cvtRGBAtoMultipliedRGBA
 
int hal_ni_cvtThreePlaneYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx)
 hal_cvtThreePlaneYUVtoBGR
 
int hal_ni_cvtThreePlaneYUVtoBGRApprox (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx)
 Analog of hal_cvtThreePlaneYUVtoBGR that allows approximations (not bit-exact)
 
int hal_ni_cvtTwoPlaneYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx)
 hal_cvtTwoPlaneYUVtoBGR
 
int hal_ni_cvtTwoPlaneYUVtoBGRApprox (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx)
 analog of hal_cvtTwoPlaneYUVtoBGR that allows approximations (not bit-exact)
 
int hal_ni_cvtTwoPlaneYUVtoBGREx (const uchar *y_data, size_t y_step, const uchar *uv_data, size_t uv_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx)
 Extended version of hal_cvtTwoPlaneYUVtoBGR.
 
int hal_ni_cvtTwoPlaneYUVtoBGRExApprox (const uchar *y_data, size_t y_step, const uchar *uv_data, size_t uv_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx)
 Extended version of hal_cvtTwoPlaneYUVtoBGR that allows approximations (not bit-exact)
 
int hal_ni_cvtXYZtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue)
 hal_cvtXYZtoBGR
 
int hal_ni_cvtYUVtoBGR (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isCbCr)
 hal_cvtYUVtoBGR
 
int hal_ni_cvtYUVtoBGRApprox (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isCbCr)
 Analog of hal_cvtYUVtoBGR, but allows approximations (not bit-exact)
 
int hal_ni_equalize_hist (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height)
 Equalizes the histogram of a grayscale image.
 
int hal_ni_filter (cvhalFilter2D *context, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y)
 hal_filter
 
int hal_ni_filterFree (cvhalFilter2D *context)
 hal_filterFree
 
int hal_ni_filterInit (cvhalFilter2D **context, uchar *kernel_data, size_t kernel_step, int kernel_type, int kernel_width, int kernel_height, int max_width, int max_height, int src_type, int dst_type, int borderType, double delta, int anchor_x, int anchor_y, bool allowSubmatrix, bool allowInplace)
 hal_filterInit
 
int hal_ni_gaussianBlur (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, size_t margin_left, size_t margin_top, size_t margin_right, size_t margin_bottom, size_t ksize_width, size_t ksize_height, double sigmaX, double sigmaY, int border_type)
 Blurs an image using a generic Gaussian filter.
 
int hal_ni_gaussianBlurBinomial (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, size_t margin_left, size_t margin_top, size_t margin_right, size_t margin_bottom, size_t ksize, int border_type)
 Blurs an image using a symmetric Gaussian filter with square kernel and sigma=0.
 
int hal_ni_imageMoments (const uchar *src_data, size_t src_step, int src_type, int width, int height, bool binary, double m[10])
 Calculates all of the moments up to the third order of a polygon or rasterized shape for image.
 
int hal_ni_integral (int depth, int sdepth, int sqdepth, const uchar *src_data, size_t src_step, uchar *sum_data, size_t sum_step, uchar *sqsum_data, size_t sqsum_step, uchar *tilted_data, size_t tilted_step, int width, int height, int cn)
 Calculate integral image.
 
int hal_ni_medianBlur (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, int ksize)
 Calculate medianBlur filter.
 
int hal_ni_morph (cvhalFilter2D *context, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int src_full_width, int src_full_height, int src_roi_x, int src_roi_y, int dst_full_width, int dst_full_height, int dst_roi_x, int dst_roi_y)
 hal_morph
 
int hal_ni_morphFree (cvhalFilter2D *context)
 hal_morphFree
 
int hal_ni_morphInit (cvhalFilter2D **context, int operation, int src_type, int dst_type, int max_width, int max_height, int kernel_type, uchar *kernel_data, size_t kernel_step, int kernel_width, int kernel_height, int anchor_x, int anchor_y, int borderType, const double borderValue[4], int iterations, bool allowSubmatrix, bool allowInplace)
 hal_morphInit
 
int hal_ni_polygonMoments (const uchar *src_data, size_t src_size, int src_type, double m[10])
 Calculates all of the moments up to the third order of a polygon of 2d points.
 
int hal_ni_pyrdown (const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int depth, int cn, int border_type)
 Perform Gaussian Blur and downsampling for input tile.
 
int hal_ni_pyrdown_offset (const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int depth, int cn, int margin_left, int margin_top, int margin_right, int margin_bottom, int border_type)
 Perform Gaussian Blur and downsampling for input tile with optional margins for submatrix.
 
int hal_ni_remap32f (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 dst_width, int dst_height, float *mapx, size_t mapx_step, float *mapy, size_t mapy_step, int interpolation, int border_type, const double border_value[4])
 hal_remap with floating point maps
 
int hal_ni_resize (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 dst_width, int dst_height, double inv_scale_x, double inv_scale_y, int interpolation)
 hal_resize
 
int hal_ni_scharr (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int src_depth, int dst_depth, int cn, int margin_left, int margin_top, int margin_right, int margin_bottom, int dx, int dy, double scale, double delta, int border_type)
 Computes Scharr filter.
 
int hal_ni_sepFilter (cvhalFilter2D *context, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y)
 hal_sepFilter
 
int hal_ni_sepFilterFree (cvhalFilter2D *context)
 hal_sepFilterFree
 
int hal_ni_sepFilterInit (cvhalFilter2D **context, int src_type, int dst_type, int kernel_type, uchar *kernelx_data, int kernelx_length, uchar *kernely_data, int kernely_length, int anchor_x, int anchor_y, double delta, int borderType)
 hal_sepFilterInit
 
int hal_ni_sobel (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int src_depth, int dst_depth, int cn, int margin_left, int margin_top, int margin_right, int margin_bottom, int dx, int dy, int ksize, double scale, double delta, int border_type)
 Computes Sobel derivatives.
 
int hal_ni_threshold (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, double thresh, double maxValue, int thresholdType)
 Calculates fixed-level threshold to each array element.
 
int hal_ni_threshold_otsu (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, double maxValue, int thresholdType, double *thresh)
 Performs threshold filtering using threshold estimated by Otsu algorithm.
 
int hal_ni_warpAffine (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 dst_width, int dst_height, const double M[6], int interpolation, int borderType, const double borderValue[4])
 hal_warpAffine
 
int hal_ni_warpAffineBlockline (int *adelta, int *bdelta, short *xy, short *alpha, int X0, int Y0, int bw)
 hal_warpAffineBlockline doing a row of affine transformation
 
int hal_ni_warpAffineBlocklineNN (int *adelta, int *bdelta, short *xy, int X0, int Y0, int bw)
 hal_warpAffineBlocklineNN doing a row of affine transformation
 
int hal_ni_warpPerspective (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 dst_width, int dst_height, const double M[9], int interpolation, int borderType, const double borderValue[4])
 hal_warpPerspective
 
int hal_ni_warpPerspectiveBlockline (const double *M, short *xy, short *alpha, double X0, double Y0, double W0, int bw)
 hal_warpPerspectiveBlockline doing a row of perspective transformation
 
int hal_ni_warpPerspectiveBlocklineNN (const double *M, short *xy, double X0, double Y0, double W0, int bw)
 hal_warpPerspectiveBlocklineNN doing a row of perspective transformation