Skip to content

Commit 8151953

Browse files
author
elenagvo
committed
fix the parameters order
1 parent 0f12351 commit 8151953

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

modules/imgproc/src/hal_replacement.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -666,36 +666,36 @@ inline int hal_ni_threshold(const uchar* src_data, size_t src_step, uchar* dst_d
666666

667667
/**
668668
@brief Calculate box filter
669-
@param src_depth,dst_depth Depths of source and destination image
670669
@param src_data,src_step Source image
671670
@param dst_data,dst_step Destination image
672671
@param width,height Source image dimensions
672+
@param src_depth,dst_depth Depths of source and destination image
673673
@param cn Number of channels
674674
@param margin_left,margin_top,margin_right,margin_bottom Margins for source image
675675
@param ksize_width,ksize_height Size of kernel
676676
@param anchor_x,anchor_y Anchor point
677677
@param normalize If true then result is normalized
678678
@param border_type Border type
679679
*/
680-
inline int hal_ni_boxFilter(int src_depth, int dst_depth, const uchar* src_data, size_t src_step, uchar* dst_data, size_t dst_step, int width, int height, 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) { return CV_HAL_ERROR_NOT_IMPLEMENTED; }
680+
inline 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) { return CV_HAL_ERROR_NOT_IMPLEMENTED; }
681681

682682
//! @cond IGNORED
683683
#define cv_hal_boxFilter hal_ni_boxFilter
684684
//! @endcond
685685

686686
/**
687687
@brief Blurs an image using a Gaussian filter.
688-
@param depth Depth of source and destination image
689688
@param src_data,src_step Source image
690689
@param dst_data,dst_step Destination image
691690
@param width,height Source image dimensions
691+
@param depth Depth of source and destination image
692692
@param cn Number of channels
693693
@param margin_left,margin_top,margin_right,margin_bottom Margins for source image
694694
@param ksize_width,ksize_height Size of kernel
695695
@param sigmaX,sigmaY Gaussian kernel standard deviation.
696696
@param border_type Border type
697697
*/
698-
inline int hal_ni_gaussianBlur(int depth, const uchar* src_data, size_t src_step, uchar* dst_data, size_t dst_step, int width, int height, 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) { return CV_HAL_ERROR_NOT_IMPLEMENTED; }
698+
inline 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) { return CV_HAL_ERROR_NOT_IMPLEMENTED; }
699699

700700
//! @cond IGNORED
701701
#define cv_hal_gaussianBlur hal_ni_gaussianBlur

modules/imgproc/src/smooth.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1557,7 +1557,7 @@ void cv::boxFilter( InputArray _src, OutputArray _dst, int ddepth,
15571557
if(!(borderType&BORDER_ISOLATED))
15581558
src.locateROI( wsz, ofs );
15591559

1560-
CALL_HAL(boxFilter, cv_hal_boxFilter, sdepth, ddepth, src.ptr(), src.step, dst.ptr(), dst.step, src.cols, src.rows, cn,
1560+
CALL_HAL(boxFilter, cv_hal_boxFilter, src.ptr(), src.step, dst.ptr(), dst.step, src.cols, src.rows, sdepth, ddepth, cn,
15611561
ofs.x, ofs.y, wsz.width - src.cols - ofs.x, wsz.height - src.rows - ofs.y, ksize.width, ksize.height,
15621562
anchor.x, anchor.y, normalize, borderType&~BORDER_ISOLATED);
15631563

@@ -2120,7 +2120,7 @@ void cv::GaussianBlur( InputArray _src, OutputArray _dst, Size ksize,
21202120
if(!(borderType & BORDER_ISOLATED))
21212121
src.locateROI( wsz, ofs );
21222122

2123-
CALL_HAL(gaussianBlur, cv_hal_gaussianBlur, sdepth, src.ptr(), src.step, dst.ptr(), dst.step, src.cols, src.rows, cn,
2123+
CALL_HAL(gaussianBlur, cv_hal_gaussianBlur, src.ptr(), src.step, dst.ptr(), dst.step, src.cols, src.rows, sdepth, cn,
21242124
ofs.x, ofs.y, wsz.width - src.cols - ofs.x, wsz.height - src.rows - ofs.y, ksize.width, ksize.height,
21252125
sigma1, sigma2, borderType&~BORDER_ISOLATED);
21262126

0 commit comments

Comments
 (0)