1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Merge pull request #29462 from intel-staging:use_ipp_check_derive

Added missing IPP check in IPP HAL
This commit is contained in:
Alexander Smorkalov
2026-07-07 13:20:45 +03:00
committed by GitHub
+2
View File
@@ -225,6 +225,7 @@ int ipp_hal_sobel(const uchar* src_data, size_t src_step, uchar* dst_data, size_
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)
{
CV_HAL_CHECK_USE_IPP();
return ipp_Deriv(src_data, src_step, dst_data, dst_step, width, height, src_depth, dst_depth, cn,
margin_left, margin_top, margin_right, margin_bottom,
dx, dy, ksize, scale, delta, border_type, false);
@@ -235,6 +236,7 @@ int ipp_hal_scharr(const uchar* src_data, size_t src_step, uchar* dst_data, size
int margin_left, int margin_top, int margin_right, int margin_bottom,
int dx, int dy, double scale, double delta, int border_type)
{
CV_HAL_CHECK_USE_IPP();
return ipp_Deriv(src_data, src_step, dst_data, dst_step, width, height, src_depth, dst_depth, cn,
margin_left, margin_top, margin_right, margin_bottom,
dx, dy, 0, scale, delta, border_type, true);