[x265] [PATCH] Fix min VBV fullness configuration
Karam Singh
karam.singh at multicorewareinc.com
Mon Apr 1 09:23:50 UTC 2024
Patch pushed to master branch.
Karam Singh
Senior Software (Video Codec) Engineer
MulticoreWare, India
On Thu, Mar 28, 2024 at 12:54 PM Kirithika Kalirathnam <
kirithika at multicorewareinc.com> wrote:
> From 3e71cb2d706e73a39624ddf321cb744d212f8a97 Mon Sep 17 00:00:00 2001
> From: Kirithika <kirithika at multicorewareinc.com>
> Date: Wed, 10 Jan 2024 12:36:00 +0530
> Subject: [PATCH] Fix min VBV fullness configuration
>
> ---
> source/encoder/ratecontrol.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/source/encoder/ratecontrol.cpp
> b/source/encoder/ratecontrol.cpp
> index 08327c52d..ad748313d 100644
> --- a/source/encoder/ratecontrol.cpp
> +++ b/source/encoder/ratecontrol.cpp
> @@ -2419,7 +2419,7 @@ double RateControl::clipQscale(Frame* curFrame,
> RateControlEntry* rce, double q)
> {
> finalDur = x265_clip3(0.4, 1.0, totalDuration);
> }
> - targetFill = X265_MIN(m_bufferFill + totalDuration *
> m_vbvMaxRate * 0.5, m_bufferSize * (1 - m_minBufferFill * finalDur));
> + targetFill = X265_MIN(m_bufferFill + totalDuration *
> m_vbvMaxRate * 0.5, m_bufferSize * (m_minBufferFill * finalDur));
> if (bufferFillCur < targetFill)
> {
> q *= 1.01;
> --
> 2.28.0.windows.1
>
> *Thanks,*
> *Kirithika*
> _______________________________________________
> 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/20240401/153eeac5/attachment.htm>
More information about the x265-devel
mailing list