From 24a1f13113449450d7ffd5e2a9c74659f098e6f0 Mon Sep 17 00:00:00 2001 From: krakow10 Date: Fri, 4 Sep 2020 07:54:43 -0700 Subject: [PATCH] )) --- Av1an/VMAF/target_vmaf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Av1an/VMAF/target_vmaf.py b/Av1an/VMAF/target_vmaf.py index d379df7..cd744c4 100644 --- a/Av1an/VMAF/target_vmaf.py +++ b/Av1an/VMAF/target_vmaf.py @@ -253,7 +253,7 @@ def target_vmaf(chunk: Chunk, args: Args): vmaf_cq_deriv = ((-ln(1-score_2/100))-(-ln(1-score/100)))/(next_q-last_q) #Same deal different slope - return int(round(next_q+(-ln(1-args.vmaf_target/100)+ln(1-score_2/100))/vmaf_cq_deriv + return int(round(next_q+(-ln(1-args.vmaf_target/100)+ln(1-score_2/100))/vmaf_cq_deriv)) # Branch if score < args.vmaf_target: