[x265] [PATCH] param: log CBR if vbvMaxrate, abr bitrate and vbv bufsize are equal
Deepthi Nandakumar
deepthi at multicorewareinc.com
Thu Jun 5 08:54:13 CEST 2014
CBR is defined when vbvMaxRate = Bitrate, the buffer size need not
necessarily be 1-sec.
On Thu, Jun 5, 2014 at 12:14 PM, <aarthi at multicorewareinc.com> wrote:
> # HG changeset patch
> # User Aarthi Thirumalai
> # Date 1401950608 -19800
> # Thu Jun 05 12:13:28 2014 +0530
> # Node ID 21c0d24fe9f6b8c20115b64f36c95e184b7aa78a
> # Parent 817c25f5ace136c60100dabb128dda6056c86bfb
> param: log CBR if vbvMaxrate, abr bitrate and vbv bufsize are equal
>
> diff -r 817c25f5ace1 -r 21c0d24fe9f6 source/common/param.cpp
> --- a/source/common/param.cpp Thu Jun 05 11:43:17 2014 +0530
> +++ b/source/common/param.cpp Thu Jun 05 12:13:28 2014 +0530
> @@ -1130,7 +1130,11 @@
> else switch (param->rc.rateControlMode)
> {
> case X265_RC_ABR:
> - x265_log(param, X265_LOG_INFO, "Rate Control / AQ-Strength /
> CUTree : ABR-%d kbps / %0.1f / %d\n", param->rc.bitrate,
> + if (param->rc.vbvMaxBitrate == param->rc.bitrate &&
> param->rc.vbvMaxBitrate == param->rc.vbvBufferSize)
> + x265_log(param, X265_LOG_INFO, "Rate Control / AQ-Strength /
> CUTree : CBR-%d kbps / %0.1f / %d\n", param->rc.bitrate,
> + param->rc.aqStrength, param->rc.cuTree);
> + else
> + x265_log(param, X265_LOG_INFO, "Rate Control / AQ-Strength /
> CUTree : ABR-%d kbps / %0.1f / %d\n", param->rc.bitrate,
> param->rc.aqStrength, param->rc.cuTree);
> break;
> case X265_RC_CQP:
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20140605/c83bafe7/attachment.html>
More information about the x265-devel
mailing list