[x265] [PATCH] Fix poc value written in csv file for open-gop

chen chenm003 at 163.com
Tue Apr 5 17:45:02 CEST 2016


At 2016-04-05 22:39:15,"Divya Manivannan" <divya at multicorewareinc.com> wrote:
># HG changeset patch
># User Divya Manivannan <divya at multicorewareinc.com>
># Date 1459867046 -19800
>#      Tue Apr 05 20:07:26 2016 +0530
># Node ID c5557b6721adc6e7115eff837a42a8f2df34b802
># Parent  5b01678f6fb4e89e23cd41295592a9aa5d51d4ba
>Fix poc value written in csv file for open-gop
>
>diff -r 5b01678f6fb4 -r c5557b6721ad source/encoder/encoder.cpp
>--- a/source/encoder/encoder.cpp	Sat Apr 02 19:08:49 2016 +0100
>+++ b/source/encoder/encoder.cpp	Tue Apr 05 20:07:26 2016 +0530
>@@ -1332,7 +1332,7 @@
> 
>     if (frameStats)
>     {
>-        const int picOrderCntLSB = (slice->m_poc - slice->m_lastIDR + (1 << BITS_FOR_POC)) % (1 << BITS_FOR_POC);
>+        const int picOrderCntLSB = slice->m_poc - slice->m_lastIDR;
In here, may negative resule since POC is circle counter


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20160405/b026fce2/attachment.html>


More information about the x265-devel mailing list