Commit 47e32298 authored by Barcis, Michal's avatar Barcis, Michal
Browse files

changed parameter name

parent 7871fd86
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment