[x265] [PATCH] nits

praveen at multicorewareinc.com praveen at multicorewareinc.com
Wed Aug 29 12:15:39 CEST 2018


# HG changeset patch
# User Praveen Tiwari <praveen at multicorewareinc.com>
# Date 1535537469 -19800
#      Wed Aug 29 15:41:09 2018 +0530
# Node ID c4b7f40d4747c000fafc96c6331aaf312243b586
# Parent  683defcf536ad5d4e5994dc39efb48de5fec8648
nits

diff -r 683defcf536a -r c4b7f40d4747 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp	Tue Aug 28 18:57:01 2018 +0530
+++ b/source/encoder/encoder.cpp	Wed Aug 29 15:41:09 2018 +0530
@@ -2516,7 +2516,7 @@
     vui.defaultDisplayWindow.bottomOffset = m_param->vui.defDispWinBottomOffset;
     vui.defaultDisplayWindow.leftOffset = m_param->vui.defDispWinLeftOffset;
 
-	vui.frameFieldInfoPresentFlag = !!m_param->interlaceMode || (m_param->pictureStructure >= 0);
+    vui.frameFieldInfoPresentFlag = !!m_param->interlaceMode || (m_param->pictureStructure >= 0);
     vui.fieldSeqFlag = !!m_param->interlaceMode;
 
     vui.hrdParametersPresentFlag = m_param->bEmitHRDSEI;
diff -r 683defcf536a -r c4b7f40d4747 source/encoder/sei.h
--- a/source/encoder/sei.h	Tue Aug 28 18:57:01 2018 +0530
+++ b/source/encoder/sei.h	Wed Aug 29 15:41:09 2018 +0530
@@ -304,15 +304,15 @@
     int m_preferredTransferCharacteristics;
     SEIAlternativeTC()
     {
-	    m_payloadType = ALTERNATIVE_TRANSFER_CHARACTERISTICS;
-		m_payloadSize = 0;
-		m_preferredTransferCharacteristics = -1;
-	}	
-	
-	void writeSEI(const SPS&)
-	{
-	    WRITE_CODE(m_preferredTransferCharacteristics, 8, "Preferred transfer characteristics");
-	}
+        m_payloadType = ALTERNATIVE_TRANSFER_CHARACTERISTICS;
+        m_payloadSize = 0;
+        m_preferredTransferCharacteristics = -1;
+    }
+
+    void writeSEI(const SPS&)
+    {
+        WRITE_CODE(m_preferredTransferCharacteristics, 8, "Preferred transfer characteristics");
+    }
 };
 
 }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265.patch
Type: text/x-patch
Size: 1765 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20180829/1da99119/attachment.bin>


More information about the x265-devel mailing list