Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Opencv
提交
322115bf
O
Opencv
项目概览
Greenplum
/
Opencv
12 个月 前同步成功
通知
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,发现更多精彩内容 >>
提交
322115bf
编写于
2月 18, 2019
作者:
R
Ruslan Garnov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Removed unused functions from View::Priv
上级
a6160b69
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
0 addition
and
42 deletion
+0
-42
modules/gapi/src/backends/fluid/gfluidbuffer.cpp
modules/gapi/src/backends/fluid/gfluidbuffer.cpp
+0
-32
modules/gapi/src/backends/fluid/gfluidbuffer_priv.hpp
modules/gapi/src/backends/fluid/gfluidbuffer_priv.hpp
+0
-10
未找到文件。
modules/gapi/src/backends/fluid/gfluidbuffer.cpp
浏览文件 @
322115bf
...
...
@@ -402,20 +402,6 @@ fluid::ViewPrivWithoutOwnBorder::ViewPrivWithoutOwnBorder(const Buffer *parent,
m_border_size
=
borderSize
;
}
const
uint8_t
*
fluid
::
ViewPrivWithoutOwnBorder
::
InLineB
(
int
index
)
const
{
GAPI_DbgAssert
(
m_p
);
const
auto
&
p_priv
=
m_p
->
priv
();
GAPI_DbgAssert
(
index
>=
-
m_border_size
&&
index
<
-
m_border_size
+
m_lines_next_iter
);
const
int
log_idx
=
m_read_caret
+
index
;
return
p_priv
.
storage
().
inLineB
(
log_idx
,
m_p
->
meta
().
size
.
height
);
}
void
fluid
::
ViewPrivWithoutOwnBorder
::
allocate
(
int
lineConsumption
,
BorderOpt
)
{
initCache
(
lineConsumption
);
...
...
@@ -475,17 +461,6 @@ std::size_t fluid::ViewPrivWithOwnBorder::size() const
return
m_own_storage
.
size
();
}
const
uint8_t
*
fluid
::
ViewPrivWithOwnBorder
::
InLineB
(
int
index
)
const
{
GAPI_DbgAssert
(
m_p
);
GAPI_DbgAssert
(
index
>=
-
m_border_size
&&
index
<
-
m_border_size
+
m_lines_next_iter
);
const
int
log_idx
=
m_read_caret
+
index
;
return
m_own_storage
.
inLineB
(
log_idx
,
m_p
->
meta
().
size
.
height
);
}
bool
fluid
::
View
::
ready
()
const
{
return
m_priv
->
ready
();
...
...
@@ -641,13 +616,6 @@ int fluid::Buffer::Priv::linesReady() const
}
}
uint8_t
*
fluid
::
Buffer
::
Priv
::
OutLineB
(
int
index
)
{
GAPI_DbgAssert
(
index
>=
0
&&
index
<
m_writer_lpi
);
return
m_storage
->
ptr
(
m_write_caret
+
index
);
}
int
fluid
::
Buffer
::
Priv
::
lpi
()
const
{
// FIXME:
...
...
modules/gapi/src/backends/fluid/gfluidbuffer_priv.hpp
浏览文件 @
322115bf
...
...
@@ -197,9 +197,6 @@ public:
// Does the view have enough unread lines for next iteration
bool
ready
()
const
;
// API used (indirectly) by user code
virtual
const
uint8_t
*
InLineB
(
int
index
)
const
=
0
;
};
class
ViewPrivWithoutOwnBorder
final
:
public
View
::
Priv
...
...
@@ -212,9 +209,6 @@ public:
virtual
void
prepareToRead
()
override
;
inline
virtual
std
::
size_t
size
()
const
override
{
return
0
;
}
// API used (indirectly) by user code
virtual
const
uint8_t
*
InLineB
(
int
index
)
const
override
;
};
class
ViewPrivWithOwnBorder
final
:
public
View
::
Priv
...
...
@@ -228,9 +222,6 @@ public:
virtual
void
allocate
(
int
lineConsumption
,
BorderOpt
border
)
override
;
virtual
void
prepareToRead
()
override
;
virtual
std
::
size_t
size
()
const
override
;
// API used (indirectly) by user code
virtual
const
uint8_t
*
InLineB
(
int
index
)
const
override
;
};
void
debugBufferPriv
(
const
Buffer
&
buffer
,
std
::
ostream
&
os
);
...
...
@@ -290,7 +281,6 @@ public:
inline
int
writer_lpi
()
const
{
return
m_writer_lpi
;
}
// API used (indirectly) by user code
uint8_t
*
OutLineB
(
int
index
=
0
);
int
lpi
()
const
;
inline
int
readStart
()
const
{
return
m_readStart
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录