Changeset 156 in 3DVCSoftware for branches/HTM-4.1-dev2-LG/source/Lib/TLibCommon


Ignore:
Timestamp:
29 Oct 2012, 02:20:31 (12 years ago)
Author:
lg
Message:

minor fix:

  1. indentation correction,
  2. remove outcommented source lines
Location:
branches/HTM-4.1-dev2-LG/source/Lib/TLibCommon
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-4.1-dev2-LG/source/Lib/TLibCommon/ContextTables.h

    r152 r156  
    187187#if LGE_ILLUCOMP_B0045
    188188static const UChar
    189   INIT_IC_FLAG[3][NUM_IC_FLAG_CTX] = 
     189INIT_IC_FLAG[3][NUM_IC_FLAG_CTX] = 
    190190{
    191191  { CNU,  CNU,  CNU, },
  • branches/HTM-4.1-dev2-LG/source/Lib/TLibCommon/TComDataCU.cpp

    r152 r156  
    213213    m_pbMergeFlag        = (Bool*  )xMalloc(Bool,   uiNumPartition);
    214214#if LGE_ILLUCOMP_B0045
    215   m_pbICFlag           = (Bool*  )xMalloc(Bool,   uiNumPartition);
     215    m_pbICFlag           = (Bool*  )xMalloc(Bool,   uiNumPartition);
    216216#endif
    217217    m_puhMergeIndex      = (UChar* )xMalloc(UChar,  uiNumPartition);
     
    362362    if ( m_pbMergeFlag        ) { xFree(m_pbMergeFlag);         m_pbMergeFlag       = NULL; }
    363363#if LGE_ILLUCOMP_B0045
    364   if ( m_pbICFlag           ) { xFree(m_pbICFlag);            m_pbICFlag          = NULL; }
     364    if ( m_pbICFlag           ) { xFree(m_pbICFlag);            m_pbICFlag          = NULL; }
    365365#endif
    366366    if ( m_puhMergeIndex      ) { xFree(m_puhMergeIndex);       m_puhMergeIndex     = NULL; }
     
    558558    m_pbMergeFlag[ui]=pcFrom->m_pbMergeFlag[ui];
    559559#if LGE_ILLUCOMP_B0045
    560   m_pbICFlag[ui]=pcFrom->m_pbICFlag[ui];
     560    m_pbICFlag[ui]=pcFrom->m_pbICFlag[ui];
    561561#endif
    562562    m_puhMergeIndex[ui]=pcFrom->m_puhMergeIndex[ui];
     
    593593    memset( m_pbMergeFlag       + firstElement, false,                    numElements * sizeof( *m_pbMergeFlag ) );
    594594#if LGE_ILLUCOMP_B0045
    595   memset( m_pbICFlag          + firstElement, false,                    numElements * sizeof( *m_pbICFlag ) );
     595    memset( m_pbICFlag          + firstElement, false,                    numElements * sizeof( *m_pbICFlag ) );
    596596#endif
    597597    memset( m_puhMergeIndex     + firstElement, 0,                        numElements * sizeof( *m_puhMergeIndex ) );
     
    779779      m_pbMergeFlag[ui] = 0;
    780780#if LGE_ILLUCOMP_B0045
    781     m_pbICFlag[ui]    = false;
     781      m_pbICFlag[ui]    = false;
    782782#endif
    783783      m_puhMergeIndex[ui] = 0;
     
    961961      m_pbMergeFlag[ui]=pcCU->m_pbMergeFlag[uiPartOffset+ui];
    962962#if LGE_ILLUCOMP_B0045
    963     m_pbICFlag[ui]=pcCU->m_pbICFlag[uiPartOffset+ui];
     963      m_pbICFlag[ui]=pcCU->m_pbICFlag[uiPartOffset+ui];
    964964#endif
    965965      m_puhMergeIndex[ui]=pcCU->m_puhMergeIndex[uiPartOffset+ui];
  • branches/HTM-4.1-dev2-LG/source/Lib/TLibCommon/TComPrediction.cpp

    r152 r156  
    629629    {
    630630#if LGE_ILLUCOMP_B0045
    631     if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr))
     631      if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr))
    632632#else
    633633      if( pcCU->getSlice()->getPPS()->getUseWP())
     
    649649      }
    650650#if LGE_ILLUCOMP_B0045
    651     if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr) )
     651      if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr) )
    652652#else
    653653      if ( pcCU->getSlice()->getPPS()->getUseWP() )
     
    698698    {
    699699#if LGE_ILLUCOMP_B0045
    700     if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr))
     700      if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr))
    701701#else
    702702      if( pcCU->getSlice()->getPPS()->getUseWP())
     
    723723#endif 
    724724#if LGE_ILLUCOMP_B0045
    725     if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr))
     725      if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr))
    726726#else
    727727      if ( pcCU->getSlice()->getPPS()->getUseWP() )
  • branches/HTM-4.1-dev2-LG/source/Lib/TLibCommon/TComSlice.cpp

    r152 r156  
    13701370      iSumOrgSAD += abs(aiCurrHist[i] - aiRefOrgHist[i]);
    13711371    }
    1372     //printf("iSumOrgSAD : %d\n",iSumOrgSAD);
    13731372    // Setting
    13741373    if ( iSumOrgSAD > Int(dThresholdOrgSAD * iWidth * iHeight) )
    13751374    {
    13761375      m_bApplyIC = true;
    1377       //printf("ApplyIC\n");
    13781376    }
    13791377    else
Note: See TracChangeset for help on using the changeset viewer.