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

Divya Manivannan divya at multicorewareinc.com
Tue Apr 5 16:39:15 CEST 2016


# 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;
 
         frameStats->encoderOrder = m_outputCount++;
         frameStats->sliceType = c;


More information about the x265-devel mailing list