Commits

chenm003  committed 8320283

cleanup: remove unused m_upBuff2

  • Participants
  • Parent commits eb2b3e3
  • Branches stable

Comments (0)

Files changed (2)

File source/Lib/TLibCommon/TComSampleAdaptiveOffset.cpp

     m_lumaTableBo = NULL;
     m_chromaTableBo = NULL;
     m_upBuff1 = NULL;
-    m_upBuff2 = NULL;
     m_upBufft = NULL;
     m_tmpU1[0] = NULL;
     m_tmpU1[1] = NULL;
     }
 
     m_upBuff1 = X265_MALLOC(int, m_picWidth + 2);
-    m_upBuff2 = X265_MALLOC(int, m_picWidth + 2);
     m_upBufft = X265_MALLOC(int, m_picWidth + 2);
 
     m_upBuff1++;
-    m_upBuff2++;
     m_upBufft++;
     int16_t i;
 
     X265_FREE(m_upBuff1);
     m_upBuff1 = NULL;
 
-    m_upBuff2--;
-    X265_FREE(m_upBuff2);
-    m_upBuff2 = NULL;
-
     m_upBufft--;
     X265_FREE(m_upBufft);
     m_upBufft = NULL;

File source/Lib/TLibCommon/TComSampleAdaptiveOffset.h

     pixel*      m_chromaClipTableBase;
     pixel*      m_chromaTableBo;
     int32_t*    m_upBuff1;
-    int32_t*    m_upBuff2;
     int32_t*    m_upBufft;
     TComPicYuv* m_tmpYuv;  //!< temporary picture buffer pointer when non-across slice/tile boundary SAO is enabled