[x265] [PATCH] vps: general_frame_only_constraint_flag is true in progressive videos

deepthi at multicorewareinc.com deepthi at multicorewareinc.com
Tue Sep 9 11:16:17 CEST 2014


# HG changeset patch
# User Deepthi Nandakumar <deepthi at multicorewareinc.com>
# Date 1410253831 -19800
#      Tue Sep 09 14:40:31 2014 +0530
# Node ID b8e7bbdddc5ece6f919db1ea49ec95c05658cd4e
# Parent  d99e907272bf16c4b59ca020e97fe44586762d45
vps: general_frame_only_constraint_flag is true in progressive videos

diff -r d99e907272bf -r b8e7bbdddc5e source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp	Tue Sep 09 14:18:03 2014 +0530
+++ b/source/encoder/encoder.cpp	Tue Sep 09 14:40:31 2014 +0530
@@ -1092,7 +1092,7 @@
     m_vps.ptl.progressiveSourceFlag = !m_param->interlaceMode;
     m_vps.ptl.interlacedSourceFlag = !!m_param->interlaceMode;
     m_vps.ptl.nonPackedConstraintFlag = false;
-    m_vps.ptl.frameOnlyConstraintFlag = false;
+    m_vps.ptl.frameOnlyConstraintFlag = !m_param->interlaceMode;
 
     sps->conformanceWindow = m_conformanceWindow;
     sps->chromaFormatIdc = m_param->internalCsp;


More information about the x265-devel mailing list