Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AAU NAV
development
camera_streaming
Commits
47e32298
Commit
47e32298
authored
Jul 04, 2021
by
Barcis, Michal
Browse files
changed parameter name
parent
7871fd86
Changes
1
Show whitespace changes
Inline
Side-by-side
camera_streaming/utility.py
View file @
47e32298
...
...
@@ -81,11 +81,11 @@ class UtilityVideo(Utility):
f1
=
6
S
=
2
k
=
S
/
(
1
-
f1
/
(
2
*
fmax
*
math
.
log
(
2
)))
m
=
1
+
math
.
log
(
1
/
fmax
,
2
)
*
k
j
=
1
+
math
.
log
(
1
/
fmax
,
2
)
*
k
return
0
if
t
<
m
.
t_rcv
else
max
(
0
,
min
(
1
,
-
math
.
log
(
length
,
2
)
*
k
+
m
1
,
-
math
.
log
(
length
,
2
)
*
k
+
j
)
)
...
...
@@ -96,7 +96,6 @@ class UtilityVideo(Utility):
t_l
=
t_rcv
+
0.33
red
=
m
.
data
.
red
red
=
0.9
log_part
=
0
if
t_end
<
t_s
or
t_start
>
t_l
:
...
...
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