<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 1:04 AM, Gopu Govindaswamy <span dir="ltr"><<a href="mailto:gopu@multicorewareinc.com" target="_blank">gopu@multicorewareinc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Gopu Govindaswamy <<a href="mailto:gopu@multicorewareinc.com">gopu@multicorewareinc.com</a>><br>
# Date 1380089030 -19800<br>
# Node ID 4d0ced5c64fed290302b730ef8ac7d8613420a0d<br>
# Parent  bb88bbe34c95b3f398a6af63c05e06a3fe7bc7d3<br>
NAL: Remove unused NALUnitEBSP functions<br>
<br>
Removed the unused NALUnitEBSP(OutputNALUnit& nalu) and copyNaluData() methods from NAL<br></blockquote><div><br></div><div>I love patches that just delete code, especially HM code.  Queued for default</div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
diff -r bb88bbe34c95 -r 4d0ced5c64fe source/Lib/TLibCommon/NAL.h<br>
--- a/source/Lib/TLibCommon/NAL.h       Wed Sep 25 11:28:06 2013 +0530<br>
+++ b/source/Lib/TLibCommon/NAL.h       Wed Sep 25 11:33:50 2013 +0530<br>
@@ -113,7 +113,6 @@<br>
      * the NALUnit header, then the rbsp_bytes including any<br>
      * emulation_prevention_three_byte symbols.<br>
      */<br>
-    NALUnitEBSP(OutputNALUnit& nalu);<br>
     void init(OutputNALUnit& nalu);<br>
 };<br>
 }<br>
diff -r bb88bbe34c95 -r 4d0ced5c64fe source/Lib/TLibEncoder/NALwrite.cpp<br>
--- a/source/Lib/TLibEncoder/NALwrite.cpp       Wed Sep 25 11:28:06 2013 +0530<br>
+++ b/source/Lib/TLibEncoder/NALwrite.cpp       Wed Sep 25 11:33:50 2013 +0530<br>
@@ -143,15 +143,5 @@<br>
     bs.writeAlignZero();<br>
 }<br>
<br>
-/**<br>
- * Copy NALU from naluSrc to naluDest<br>
- */<br>
-void copyNaluData(OutputNALUnit& naluDest, const OutputNALUnit& naluSrc)<br>
-{<br>
-    naluDest.m_nalUnitType = naluSrc.m_nalUnitType;<br>
-    naluDest.m_reservedZero6Bits  = naluSrc.m_reservedZero6Bits;<br>
-    naluDest.m_temporalId  = naluSrc.m_temporalId;<br>
-    naluDest.m_Bitstream   = naluSrc.m_Bitstream;<br>
-}<br>
 }<br>
 //! \}<br>
diff -r bb88bbe34c95 -r 4d0ced5c64fe source/Lib/TLibEncoder/NALwrite.h<br>
--- a/source/Lib/TLibEncoder/NALwrite.h Wed Sep 25 11:28:06 2013 +0530<br>
+++ b/source/Lib/TLibEncoder/NALwrite.h Wed Sep 25 11:33:50 2013 +0530<br>
@@ -77,12 +77,6 @@<br>
 void write(uint8_t*& out, OutputNALUnit& nalu, UInt& packetSize);<br>
 void writeRBSPTrailingBits(TComOutputBitstream& bs);<br>
<br>
-inline NALUnitEBSP::NALUnitEBSP(OutputNALUnit& nalu)<br>
-    : NALUnit(nalu)<br>
-{<br>
-    write(m_nalUnitData, nalu, m_packetSize);<br>
-}<br>
-<br>
 void inline NALUnitEBSP::init(OutputNALUnit& nalu)<br>
 {<br>
     m_nalUnitType = nalu.m_nalUnitType;<br>
@@ -91,7 +85,6 @@<br>
     write(m_nalUnitData, nalu, m_packetSize);<br>
 }<br>
<br>
-void copyNaluData(OutputNALUnit& naluDest, const OutputNALUnit& naluSrc);<br>
 }<br>
<br>
 //! \}<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" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Steve Borho
</div></div>