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
8b8ad17f
Commit
8b8ad17f
authored
Mar 30, 2011
by
Anatoly Baksheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed extra memory allocations.
parent
05173022
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
gpu.hpp
modules/gpu/include/opencv2/gpu/gpu.hpp
+9
-3
hog.cpp
modules/gpu/src/hog.cpp
+0
-0
No files found.
modules/gpu/include/opencv2/gpu/gpu.hpp
View file @
8b8ad17f
...
...
@@ -1353,14 +1353,20 @@ namespace cv
GpuMat
detector
;
// Results of the last classification step
GpuMat
labels
;
GpuMat
labels
,
labels_buf
;
Mat
labels_host
;
// Results of the last histogram evaluation step
GpuMat
block_hists
;
GpuMat
block_hists
,
block_hists_buf
;
// Gradients conputation results
GpuMat
grad
,
qangle
;
GpuMat
grad
,
qangle
,
grad_buf
,
qangle_buf
;
// returns subbuffer with required size, reallocates buffer if nessesary.
static
GpuMat
getBuffer
(
const
Size
&
sz
,
int
type
,
GpuMat
&
buf
);
static
GpuMat
getBuffer
(
int
rows
,
int
cols
,
int
type
,
GpuMat
&
buf
);
std
::
vector
<
GpuMat
>
image_scales
;
};
...
...
modules/gpu/src/hog.cpp
View file @
8b8ad17f
This diff is collapsed.
Click to expand it.
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