Commit 5d0a8d2a authored by elenagvo's avatar elenagvo

fix the parameters order

parent 3a09da71
...@@ -617,14 +617,14 @@ inline int hal_ni_integral(int depth, int sdepth, int sqdepth, const uchar * src ...@@ -617,14 +617,14 @@ inline int hal_ni_integral(int depth, int sdepth, int sqdepth, const uchar * src
/** /**
@brief Calculate medianBlur filter @brief Calculate medianBlur filter
@param depth Depths of source and destination image
@param src_data,src_step Source image @param src_data,src_step Source image
@param dst_data,dst_step Destination image @param dst_data,dst_step Destination image
@param width,height Source image dimensions @param width,height Source image dimensions
@param depth Depths of source and destination image
@param cn Number of channels @param cn Number of channels
@param ksize Size of kernel @param ksize Size of kernel
*/ */
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; } 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; }
//! @cond IGNORED //! @cond IGNORED
#define cv_hal_medianBlur hal_ni_medianBlur #define cv_hal_medianBlur hal_ni_medianBlur
......
...@@ -3123,7 +3123,7 @@ void cv::medianBlur( InputArray _src0, OutputArray _dst, int ksize ) ...@@ -3123,7 +3123,7 @@ void cv::medianBlur( InputArray _src0, OutputArray _dst, int ksize )
_dst.create( src0.size(), src0.type() ); _dst.create( src0.size(), src0.type() );
Mat dst = _dst.getMat(); Mat dst = _dst.getMat();
CALL_HAL(medianBlur, cv_hal_medianBlur, src0.depth(), src0.data, src0.step, dst.data, dst.step, src0.cols, src0.rows, CALL_HAL(medianBlur, cv_hal_medianBlur, src0.data, src0.step, dst.data, dst.step, src0.cols, src0.rows, src0.depth(),
src0.channels(), ksize); src0.channels(), ksize);
CV_OVX_RUN(true, CV_OVX_RUN(true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment