Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Kenneth Andersson
HM
Commits
8c7a5154
Commit
8c7a5154
authored
May 03, 2021
by
Christopher Hollmann
Browse files
Fixed implicit conversion
parent
d52cc13d
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/Lib/TLibEncoder/TEncTemporalFilter.cpp
View file @
8c7a5154
...
...
@@ -522,7 +522,7 @@ Void TEncTemporalFilter::motionEstimationLuma(Array2D<MotionVector> &mvs, const
variance
=
variance
+
(
pix
-
avg
)
*
(
pix
-
avg
);
}
}
best
.
error
=
20
*
((
best
.
error
+
5.0
)
/
(
variance
+
5.0
))
+
(
best
.
error
/
(
blockSize
*
blockSize
))
/
50
;
best
.
error
=
(
Int
)
(
20
*
((
best
.
error
+
5.0
)
/
(
variance
+
5.0
))
+
(
best
.
error
/
(
blockSize
*
blockSize
))
/
50
)
;
#endif
mvs
.
get
(
blockX
/
stepSize
,
blockY
/
stepSize
)
=
best
;
}
...
...
Write
Preview
Supports
Markdown
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