Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Opencv
提交
055f5c73
O
Opencv
项目概览
Greenplum
/
Opencv
11 个月 前同步成功
通知
7
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
Opencv
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
055f5c73
编写于
6月 07, 2016
作者:
V
Vladislav Sovrasov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Change names of some internal functions
上级
a2d0cc87
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
7 addition
and
7 deletion
+7
-7
modules/core/src/matmul.cpp
modules/core/src/matmul.cpp
+7
-7
未找到文件。
modules/core/src/matmul.cpp
浏览文件 @
055f5c73
...
@@ -865,7 +865,7 @@ static bool ocl_gemm( InputArray matA, InputArray matB, double alpha,
...
@@ -865,7 +865,7 @@ static bool ocl_gemm( InputArray matA, InputArray matB, double alpha,
}
}
#endif
#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
)
Mat
C
,
double
beta
,
Mat
D
,
int
flags
)
{
{
const
int
block_lin_size
=
128
;
const
int
block_lin_size
=
128
;
...
@@ -1411,7 +1411,7 @@ static void _gemmImplInternal( Mat A, Mat B, double alpha,
...
@@ -1411,7 +1411,7 @@ static void _gemmImplInternal( Mat A, Mat B, double alpha,
}
}
template
<
typename
fptype
>
inline
static
void
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
)
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"
);
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,
...
@@ -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
);
C
=
Mat
(
c_m
,
c_n
,
type
,
(
void
*
)
src3
,
src3_step
);
Mat
D
(
m_d
,
n_d
,
type
,
(
void
*
)
dst
,
dst_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
...
@@ -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
)
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
,
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,
...
@@ -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
)
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
)
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
,
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
...
@@ -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
)
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
)
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
,
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
...
@@ -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
)
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
)
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
,
void
cv
::
gemm
(
InputArray
matA
,
InputArray
matB
,
double
alpha
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录