<div dir="ltr">slice->m_lastIDR <= slice->m_poc  and the calculated value is used only for writing in csv file and it will not modify the actual poc value. Can you please explain about the negative result?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 5, 2016 at 9:15 PM, chen <span dir="ltr"><<a href="mailto:chenm003@163.com" target="_blank">chenm003@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><pre><span class=""><br>At 2016-04-05 22:39:15,"Divya Manivannan" <<a href="mailto:divya@multicorewareinc.com" target="_blank">divya@multicorewareinc.com</a>> wrote:
># HG changeset patch
># User Divya Manivannan <<a href="mailto:divya@multicorewareinc.com" target="_blank">divya@multicorewareinc.com</a>>
># 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 </span>- slice->m_lastIDR;
In here, may negative resule since POC is circle counter


</pre></div><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" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
<br></blockquote></div><br></div>