Skip to content

Commit 5d0a8d2

Browse files
author
elenagvo
committed
fix the parameters order
1 parent 3a09da7 commit 5d0a8d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

modules/imgproc/src/hal_replacement.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,14 +617,14 @@ inline int hal_ni_integral(int depth, int sdepth, int sqdepth, const uchar * src
617617

618618
/**
619619
@brief Calculate medianBlur filter
620-
@param depth Depths of source and destination image
621620
@param src_data,src_step Source image
622621
@param dst_data,dst_step Destination image
623622
@param width,height Source image dimensions
623+
@param depth Depths of source and destination image
624624
@param cn Number of channels
625625
@param ksize Size of kernel
626626
*/
627-
inline int hal_ni_medianBlur(int depth, const uchar* src_data, size_t src_step, uchar* dst_data, size_t dst_step, int width, int height, int cn, int ksize) { return CV_HAL_ERROR_NOT_IMPLEMENTED; }
627+
inline 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) { return CV_HAL_ERROR_NOT_IMPLEMENTED; }
628628

629629
//! @cond IGNORED
630630
#define cv_hal_medianBlur hal_ni_medianBlur

modules/imgproc/src/smooth.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3123,7 +3123,7 @@ void cv::medianBlur( InputArray _src0, OutputArray _dst, int ksize )
31233123
_dst.create( src0.size(), src0.type() );
31243124
Mat dst = _dst.getMat();
31253125

3126-
CALL_HAL(medianBlur, cv_hal_medianBlur, src0.depth(), src0.data, src0.step, dst.data, dst.step, src0.cols, src0.rows,
3126+
CALL_HAL(medianBlur, cv_hal_medianBlur, src0.data, src0.step, dst.data, dst.step, src0.cols, src0.rows, src0.depth(),
31273127
src0.channels(), ksize);
31283128

31293129
CV_OVX_RUN(true,

0 commit comments

Comments
 (0)