Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rdk-cvdetectionlib
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nmsdk
rdk-cvdetectionlib
Commits
2d9b9a3d2cdf
There was an error fetching the commit references. Please try again later.
Commit
2d9b9a3d2cdf
authored
10 years ago
by
Aleksandr Bakhshiev
Browse files
Options
Downloads
Patches
Plain Diff
Fixed some bugs & performance warinigs
--HG-- branch : Debug
parent
befe822bc615
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Core/UBADifferenceFrame.cpp
+1
-1
1 addition, 1 deletion
Core/UBADifferenceFrame.cpp
Core/UBALooping.cpp
+0
-2
0 additions, 2 deletions
Core/UBALooping.cpp
with
1 addition
and
3 deletions
Core/UBADifferenceFrame.cpp
+
1
−
1
View file @
2d9b9a3d
...
...
@@ -182,7 +182,7 @@ bool UBADifferenceFrameSimple::BCalculate(UBitmap &input, UBitmap &deduction, UB
for
(
j
=
0
;
j
<
Width
;
j
++
)
{
bdif
=
*
reinterpret_cast
<
unsigned
*>
(
bufdata
)
-
*
reinterpret_cast
<
unsigned
*>
(
*
bufded
);
-
*
reinterpret_cast
<
unsigned
*>
(
bufded
);
*
reinterpret_cast
<
unsigned
*>
(
buf
)
=
(
bdif
<
0
)
?-
bdif
:
bdif
;
buf
+=
4
;
bufdata
+=
4
;
bufded
+=
4
;
}
...
...
This diff is collapsed.
Click to expand it.
Core/UBALooping.cpp
+
0
−
2
View file @
2d9b9a3d
...
...
@@ -198,8 +198,6 @@ bool UBALoopingSimple::BCalculate(UBitmap &input, UBitmap &output)
for
(
i
=
0
;
i
<
Length
;
i
++
,
pData
+=
4
,
ptData
+=
4
)
{
unsigned
int
&
tc
=*
reinterpret_cast
<
unsigned
*>
(
ptData
);
tc
=
0
;
b
=*
reinterpret_cast
<
unsigned
*>
(
pData
);
tc
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment