<div dir="ltr">CBR is defined when vbvMaxRate = Bitrate, the buffer size need not necessarily be 1-sec. <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 5, 2014 at 12:14 PM, <span dir="ltr"><<a href="mailto:aarthi@multicorewareinc.com" target="_blank">aarthi@multicorewareinc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Aarthi Thirumalai<br>
# Date 1401950608 -19800<br>
# Thu Jun 05 12:13:28 2014 +0530<br>
# Node ID 21c0d24fe9f6b8c20115b64f36c95e184b7aa78a<br>
# Parent 817c25f5ace136c60100dabb128dda6056c86bfb<br>
param: log CBR if vbvMaxrate, abr bitrate and vbv bufsize are equal<br>
<br>
diff -r 817c25f5ace1 -r 21c0d24fe9f6 source/common/param.cpp<br>
--- a/source/common/param.cpp Thu Jun 05 11:43:17 2014 +0530<br>
+++ b/source/common/param.cpp Thu Jun 05 12:13:28 2014 +0530<br>
@@ -1130,7 +1130,11 @@<br>
else switch (param->rc.rateControlMode)<br>
{<br>
case X265_RC_ABR:<br>
- x265_log(param, X265_LOG_INFO, "Rate Control / AQ-Strength / CUTree : ABR-%d kbps / %0.1f / %d\n", param->rc.bitrate,<br>
+ if (param->rc.vbvMaxBitrate == param->rc.bitrate && param->rc.vbvMaxBitrate == param->rc.vbvBufferSize)<br>
+ x265_log(param, X265_LOG_INFO, "Rate Control / AQ-Strength / CUTree : CBR-%d kbps / %0.1f / %d\n", param->rc.bitrate,<br>
+ param->rc.aqStrength, param->rc.cuTree);<br>
+ else<br>
+ x265_log(param, X265_LOG_INFO, "Rate Control / AQ-Strength / CUTree : ABR-%d kbps / %0.1f / %d\n", param->rc.bitrate,<br>
param->rc.aqStrength, param->rc.cuTree);<br>
break;<br>
case X265_RC_CQP:<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br></div>