Skip to content

Commit 055f5c7

Browse files
committed
Change names of some internal functions
1 parent a2d0cc8 commit 055f5c7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

modules/core/src/matmul.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ static bool ocl_gemm( InputArray matA, InputArray matB, double alpha,
865865
}
866866
#endif
867867

868-
static void _gemmImplInternal( Mat A, Mat B, double alpha,
868+
static void gemmImpl( Mat A, Mat B, double alpha,
869869
Mat C, double beta, Mat D, int flags )
870870
{
871871
const int block_lin_size = 128;
@@ -1411,7 +1411,7 @@ static void _gemmImplInternal( Mat A, Mat B, double alpha,
14111411
}
14121412

14131413
template <typename fptype>inline static void
1414-
_callInternalGemmImpl(const fptype *src1, size_t src1_step, const fptype *src2, size_t src2_step, fptype alpha,
1414+
callGemmImpl(const fptype *src1, size_t src1_step, const fptype *src2, size_t src2_step, fptype alpha,
14151415
const fptype *src3, size_t src3_step, fptype beta, fptype *dst, size_t dst_step, int m_a, int n_a, int n_d, int flags, int type)
14161416
{
14171417
CV_StaticAssert(GEMM_1_T == CV_HAL_GEMM_1_T, "Incompatible GEMM_1_T flag in HAL");
@@ -1469,7 +1469,7 @@ _callInternalGemmImpl(const fptype *src1, size_t src1_step, const fptype *src2,
14691469
C = Mat(c_m, c_n, type, (void*)src3, src3_step);
14701470
Mat D(m_d, n_d, type, (void*)dst, dst_step);
14711471

1472-
_gemmImplInternal(A, B, alpha, C, beta, D, flags);
1472+
gemmImpl(A, B, alpha, C, beta, D, flags);
14731473
}
14741474

14751475
}
@@ -1480,31 +1480,31 @@ void cv::hal::gemm32f(const float* src1, size_t src1_step, const float* src2, si
14801480
{
14811481

14821482
CALL_HAL(gemm32f, cv_hal_gemm32f, src1, src1_step, src2, src2_step, alpha, src3, src3_step, beta, dst, dst_step, m_a, n_a, n_d, flags)
1483-
_callInternalGemmImpl(src1, src1_step, src2, src2_step, alpha, src3, src3_step, beta, dst, dst_step, m_a, n_a, n_d, flags, CV_32F);
1483+
callGemmImpl(src1, src1_step, src2, src2_step, alpha, src3, src3_step, beta, dst, dst_step, m_a, n_a, n_d, flags, CV_32F);
14841484
}
14851485

14861486
void cv::hal::gemm64f(const double* src1, size_t src1_step, const double* src2, size_t src2_step,
14871487
double alpha, const double* src3, size_t src3_step, double beta, double* dst, size_t dst_step,
14881488
int m_a, int n_a, int n_d, int flags)
14891489
{
14901490
CALL_HAL(gemm64f, cv_hal_gemm64f, src1, src1_step, src2, src2_step, alpha, src3, src3_step, beta, dst, dst_step, m_a, n_a, n_d, flags)
1491-
_callInternalGemmImpl(src1, src1_step, src2, src2_step, alpha, src3, src3_step, beta, dst, dst_step, m_a, n_a, n_d, flags, CV_64F);
1491+
callGemmImpl(src1, src1_step, src2, src2_step, alpha, src3, src3_step, beta, dst, dst_step, m_a, n_a, n_d, flags, CV_64F);
14921492
}
14931493

14941494
CV_EXPORTS void cv::hal::gemm32fc(const float* src1, size_t src1_step, const float* src2, size_t src2_step,
14951495
float alpha, const float* src3, size_t src3_step, float beta, float* dst, size_t dst_step,
14961496
int m_a, int n_a, int n_d, int flags)
14971497
{
14981498
CALL_HAL(gemm32fc, cv_hal_gemm32fc, src1, src1_step, src2, src2_step, alpha, src3, src3_step, beta, dst, dst_step, m_a, n_a, n_d, flags)
1499-
_callInternalGemmImpl(src1, src1_step, src2, src2_step, alpha, src3, src3_step, beta, dst, dst_step, m_a, n_a, n_d, flags, CV_32FC2);
1499+
callGemmImpl(src1, src1_step, src2, src2_step, alpha, src3, src3_step, beta, dst, dst_step, m_a, n_a, n_d, flags, CV_32FC2);
15001500
}
15011501

15021502
CV_EXPORTS void cv::hal::gemm64fc(const double* src1, size_t src1_step, const double* src2, size_t src2_step,
15031503
double alpha, const double* src3, size_t src3_step, double beta, double* dst, size_t dst_step,
15041504
int m_a, int n_a, int n_d, int flags)
15051505
{
15061506
CALL_HAL(gemm64fc, cv_hal_gemm64fc, src1, src1_step, src2, src2_step, alpha, src3, src3_step, beta, dst, dst_step, m_a, n_a, n_d, flags)
1507-
_callInternalGemmImpl(src1, src1_step, src2, src2_step, alpha, src3, src3_step, beta, dst, dst_step, m_a, n_a, n_d, flags, CV_64FC2);
1507+
callGemmImpl(src1, src1_step, src2, src2_step, alpha, src3, src3_step, beta, dst, dst_step, m_a, n_a, n_d, flags, CV_64FC2);
15081508
}
15091509

15101510
void cv::gemm( InputArray matA, InputArray matB, double alpha,

0 commit comments

Comments
 (0)