[x265] [PATCH 6 of 6] slicetype: set iskeyFrameAnalyse only for first pass encode

Steve Borho steve at borho.org
Mon Jun 16 06:20:06 CEST 2014


On Sun, Jun 15, 2014 at 1:50 PM,  <aarthi at multicorewareinc.com> wrote:
> # HG changeset patch
> # User Aarthi Thirumalai<aarthi at multicorewareinc.com>
> # Date 1402858200 -19800
> #      Mon Jun 16 00:20:00 2014 +0530
> # Node ID 125d7c652199b81afd7d19a98d4e2c066da313a0
> # Parent  819acc0204a2d3e454d9492ae81f80fc04e2b99f
> slicetype: set iskeyFrameAnalyse only for first pass encode
>
> diff -r 819acc0204a2 -r 125d7c652199 source/encoder/slicetype.cpp
> --- a/source/encoder/slicetype.cpp      Mon Jun 16 00:19:13 2014 +0530
> +++ b/source/encoder/slicetype.cpp      Mon Jun 16 00:20:00 2014 +0530
> @@ -494,7 +494,7 @@
>          }
>      }
>
> -    bool isKeyFrameAnalyse = (m_param->rc.cuTree || (m_param->rc.vbvBufferSize && m_param->lookaheadDepth));
> +    bool isKeyFrameAnalyse = (m_param->rc.cuTree || (m_param->rc.vbvBufferSize && m_param->lookaheadDepth)) && !m_param->rc.statRead;

k

>      if (isKeyFrameAnalyse && IS_X265_TYPE_I(m_lastNonB->sliceType))
>      {
>          m_inputQueueLock.acquire();
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel



-- 
Steve Borho


More information about the x265-devel mailing list