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
322115bf
Commit
322115bf
authored
Feb 18, 2019
by
Ruslan Garnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused functions from View::Priv
parent
a6160b69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
42 deletions
+0
-42
gfluidbuffer.cpp
modules/gapi/src/backends/fluid/gfluidbuffer.cpp
+0
-32
gfluidbuffer_priv.hpp
modules/gapi/src/backends/fluid/gfluidbuffer_priv.hpp
+0
-10
No files found.
modules/gapi/src/backends/fluid/gfluidbuffer.cpp
View file @
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
View file @
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
;
}
...
...
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