Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
055f5c73
Commit
055f5c73
authored
Jun 07, 2016
by
Vladislav Sovrasov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change names of some internal functions
parent
a2d0cc87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
matmul.cpp
modules/core/src/matmul.cpp
+7
-7
No files found.
modules/core/src/matmul.cpp
View file @
055f5c73
...
...
@@ -865,7 +865,7 @@ static bool ocl_gemm( InputArray matA, InputArray matB, double alpha,
}
#endif
static
void
_gemmImplInterna
l
(
Mat
A
,
Mat
B
,
double
alpha
,
static
void
gemmImp
l
(
Mat
A
,
Mat
B
,
double
alpha
,
Mat
C
,
double
beta
,
Mat
D
,
int
flags
)
{
const
int
block_lin_size
=
128
;
...
...
@@ -1411,7 +1411,7 @@ static void _gemmImplInternal( Mat A, Mat B, double alpha,
}
template
<
typename
fptype
>
inline
static
void
_callInterna
lGemmImpl
(
const
fptype
*
src1
,
size_t
src1_step
,
const
fptype
*
src2
,
size_t
src2_step
,
fptype
alpha
,
cal
lGemmImpl
(
const
fptype
*
src1
,
size_t
src1_step
,
const
fptype
*
src2
,
size_t
src2_step
,
fptype
alpha
,
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
)
{
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,
C
=
Mat
(
c_m
,
c_n
,
type
,
(
void
*
)
src3
,
src3_step
);
Mat
D
(
m_d
,
n_d
,
type
,
(
void
*
)
dst
,
dst_step
);
_gemmImplInterna
l
(
A
,
B
,
alpha
,
C
,
beta
,
D
,
flags
);
gemmImp
l
(
A
,
B
,
alpha
,
C
,
beta
,
D
,
flags
);
}
}
...
...
@@ -1480,7 +1480,7 @@ void cv::hal::gemm32f(const float* src1, size_t src1_step, const float* src2, si
{
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
)
_callInterna
lGemmImpl
(
src1
,
src1_step
,
src2
,
src2_step
,
alpha
,
src3
,
src3_step
,
beta
,
dst
,
dst_step
,
m_a
,
n_a
,
n_d
,
flags
,
CV_32F
);
cal
lGemmImpl
(
src1
,
src1_step
,
src2
,
src2_step
,
alpha
,
src3
,
src3_step
,
beta
,
dst
,
dst_step
,
m_a
,
n_a
,
n_d
,
flags
,
CV_32F
);
}
void
cv
::
hal
::
gemm64f
(
const
double
*
src1
,
size_t
src1_step
,
const
double
*
src2
,
size_t
src2_step
,
...
...
@@ -1488,7 +1488,7 @@ void cv::hal::gemm64f(const double* src1, size_t src1_step, const double* src2,
int
m_a
,
int
n_a
,
int
n_d
,
int
flags
)
{
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
)
_callInterna
lGemmImpl
(
src1
,
src1_step
,
src2
,
src2_step
,
alpha
,
src3
,
src3_step
,
beta
,
dst
,
dst_step
,
m_a
,
n_a
,
n_d
,
flags
,
CV_64F
);
cal
lGemmImpl
(
src1
,
src1_step
,
src2
,
src2_step
,
alpha
,
src3
,
src3_step
,
beta
,
dst
,
dst_step
,
m_a
,
n_a
,
n_d
,
flags
,
CV_64F
);
}
CV_EXPORTS
void
cv
::
hal
::
gemm32fc
(
const
float
*
src1
,
size_t
src1_step
,
const
float
*
src2
,
size_t
src2_step
,
...
...
@@ -1496,7 +1496,7 @@ CV_EXPORTS void cv::hal::gemm32fc(const float* src1, size_t src1_step, const flo
int
m_a
,
int
n_a
,
int
n_d
,
int
flags
)
{
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
)
_callInterna
lGemmImpl
(
src1
,
src1_step
,
src2
,
src2_step
,
alpha
,
src3
,
src3_step
,
beta
,
dst
,
dst_step
,
m_a
,
n_a
,
n_d
,
flags
,
CV_32FC2
);
cal
lGemmImpl
(
src1
,
src1_step
,
src2
,
src2_step
,
alpha
,
src3
,
src3_step
,
beta
,
dst
,
dst_step
,
m_a
,
n_a
,
n_d
,
flags
,
CV_32FC2
);
}
CV_EXPORTS
void
cv
::
hal
::
gemm64fc
(
const
double
*
src1
,
size_t
src1_step
,
const
double
*
src2
,
size_t
src2_step
,
...
...
@@ -1504,7 +1504,7 @@ CV_EXPORTS void cv::hal::gemm64fc(const double* src1, size_t src1_step, const do
int
m_a
,
int
n_a
,
int
n_d
,
int
flags
)
{
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
)
_callInterna
lGemmImpl
(
src1
,
src1_step
,
src2
,
src2_step
,
alpha
,
src3
,
src3_step
,
beta
,
dst
,
dst_step
,
m_a
,
n_a
,
n_d
,
flags
,
CV_64FC2
);
cal
lGemmImpl
(
src1
,
src1_step
,
src2
,
src2_step
,
alpha
,
src3
,
src3_step
,
beta
,
dst
,
dst_step
,
m_a
,
n_a
,
n_d
,
flags
,
CV_64FC2
);
}
void
cv
::
gemm
(
InputArray
matA
,
InputArray
matB
,
double
alpha
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment