[x265] [PATCH] NAL: Remove unused NALUnitEBSP functions

Steve Borho steve at borho.org
Wed Sep 25 23:14:42 CEST 2013


On Wed, Sep 25, 2013 at 1:04 AM, Gopu Govindaswamy <
gopu at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Gopu Govindaswamy <gopu at multicorewareinc.com>
> # Date 1380089030 -19800
> # Node ID 4d0ced5c64fed290302b730ef8ac7d8613420a0d
> # Parent  bb88bbe34c95b3f398a6af63c05e06a3fe7bc7d3
> NAL: Remove unused NALUnitEBSP functions
>
> Removed the unused NALUnitEBSP(OutputNALUnit& nalu) and copyNaluData()
> methods from NAL
>

I love patches that just delete code, especially HM code.  Queued for
default


>
> diff -r bb88bbe34c95 -r 4d0ced5c64fe source/Lib/TLibCommon/NAL.h
> --- a/source/Lib/TLibCommon/NAL.h       Wed Sep 25 11:28:06 2013 +0530
> +++ b/source/Lib/TLibCommon/NAL.h       Wed Sep 25 11:33:50 2013 +0530
> @@ -113,7 +113,6 @@
>       * the NALUnit header, then the rbsp_bytes including any
>       * emulation_prevention_three_byte symbols.
>       */
> -    NALUnitEBSP(OutputNALUnit& nalu);
>      void init(OutputNALUnit& nalu);
>  };
>  }
> diff -r bb88bbe34c95 -r 4d0ced5c64fe source/Lib/TLibEncoder/NALwrite.cpp
> --- a/source/Lib/TLibEncoder/NALwrite.cpp       Wed Sep 25 11:28:06 2013
> +0530
> +++ b/source/Lib/TLibEncoder/NALwrite.cpp       Wed Sep 25 11:33:50 2013
> +0530
> @@ -143,15 +143,5 @@
>      bs.writeAlignZero();
>  }
>
> -/**
> - * Copy NALU from naluSrc to naluDest
> - */
> -void copyNaluData(OutputNALUnit& naluDest, const OutputNALUnit& naluSrc)
> -{
> -    naluDest.m_nalUnitType = naluSrc.m_nalUnitType;
> -    naluDest.m_reservedZero6Bits  = naluSrc.m_reservedZero6Bits;
> -    naluDest.m_temporalId  = naluSrc.m_temporalId;
> -    naluDest.m_Bitstream   = naluSrc.m_Bitstream;
> -}
>  }
>  //! \}
> diff -r bb88bbe34c95 -r 4d0ced5c64fe source/Lib/TLibEncoder/NALwrite.h
> --- a/source/Lib/TLibEncoder/NALwrite.h Wed Sep 25 11:28:06 2013 +0530
> +++ b/source/Lib/TLibEncoder/NALwrite.h Wed Sep 25 11:33:50 2013 +0530
> @@ -77,12 +77,6 @@
>  void write(uint8_t*& out, OutputNALUnit& nalu, UInt& packetSize);
>  void writeRBSPTrailingBits(TComOutputBitstream& bs);
>
> -inline NALUnitEBSP::NALUnitEBSP(OutputNALUnit& nalu)
> -    : NALUnit(nalu)
> -{
> -    write(m_nalUnitData, nalu, m_packetSize);
> -}
> -
>  void inline NALUnitEBSP::init(OutputNALUnit& nalu)
>  {
>      m_nalUnitType = nalu.m_nalUnitType;
> @@ -91,7 +85,6 @@
>      write(m_nalUnitData, nalu, m_packetSize);
>  }
>
> -void copyNaluData(OutputNALUnit& naluDest, const OutputNALUnit& naluSrc);
>  }
>
>  //! \}
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>



-- 
Steve Borho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20130925/2aba847c/attachment-0001.html>


More information about the x265-devel mailing list