[x265] [PATCH] vbv: bug fix in clipQScale
aarthi at multicorewareinc.com
aarthi at multicorewareinc.com
Sun Feb 23 16:55:44 CET 2014
# HG changeset patch
# User Aarthi Thirumalai
# Date 1393170922 -19800
# Sun Feb 23 21:25:22 2014 +0530
# Node ID 25a74fbc2826952ffabd257a582697aa116c8e0a
# Parent 734f106295df911edb41b5c54e795decdcdb4f04
vbv: bug fix in clipQScale
diff -r 734f106295df -r 25a74fbc2826 source/encoder/ratecontrol.cpp
--- a/source/encoder/ratecontrol.cpp Sat Feb 22 15:59:39 2014 -0600
+++ b/source/encoder/ratecontrol.cpp Sun Feb 23 21:25:22 2014 +0530
@@ -756,7 +756,7 @@
{
q *= X265_MAX(pbbits / space, bits / (0.5 * bufferSize));
}
- q = X265_MAX(q0 - 5, q);
+ q = X265_MAX(q0 / 2, q);
}
if (!vbvMinRate)
q = X265_MAX(q0, q);
More information about the x265-devel
mailing list