Changeset 156 in 3DVCSoftware for branches/HTM-4.1-dev2-LG/source/Lib/TLibCommon
- Timestamp:
- 29 Oct 2012, 02:20:31 (12 years ago)
- 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 187 187 #if LGE_ILLUCOMP_B0045 188 188 static const UChar 189 189 INIT_IC_FLAG[3][NUM_IC_FLAG_CTX] = 190 190 { 191 191 { CNU, CNU, CNU, }, -
branches/HTM-4.1-dev2-LG/source/Lib/TLibCommon/TComDataCU.cpp
r152 r156 213 213 m_pbMergeFlag = (Bool* )xMalloc(Bool, uiNumPartition); 214 214 #if LGE_ILLUCOMP_B0045 215 m_pbICFlag = (Bool* )xMalloc(Bool, uiNumPartition);215 m_pbICFlag = (Bool* )xMalloc(Bool, uiNumPartition); 216 216 #endif 217 217 m_puhMergeIndex = (UChar* )xMalloc(UChar, uiNumPartition); … … 362 362 if ( m_pbMergeFlag ) { xFree(m_pbMergeFlag); m_pbMergeFlag = NULL; } 363 363 #if LGE_ILLUCOMP_B0045 364 if ( m_pbICFlag ) { xFree(m_pbICFlag); m_pbICFlag = NULL; }364 if ( m_pbICFlag ) { xFree(m_pbICFlag); m_pbICFlag = NULL; } 365 365 #endif 366 366 if ( m_puhMergeIndex ) { xFree(m_puhMergeIndex); m_puhMergeIndex = NULL; } … … 558 558 m_pbMergeFlag[ui]=pcFrom->m_pbMergeFlag[ui]; 559 559 #if LGE_ILLUCOMP_B0045 560 m_pbICFlag[ui]=pcFrom->m_pbICFlag[ui];560 m_pbICFlag[ui]=pcFrom->m_pbICFlag[ui]; 561 561 #endif 562 562 m_puhMergeIndex[ui]=pcFrom->m_puhMergeIndex[ui]; … … 593 593 memset( m_pbMergeFlag + firstElement, false, numElements * sizeof( *m_pbMergeFlag ) ); 594 594 #if LGE_ILLUCOMP_B0045 595 memset( m_pbICFlag + firstElement, false, numElements * sizeof( *m_pbICFlag ) );595 memset( m_pbICFlag + firstElement, false, numElements * sizeof( *m_pbICFlag ) ); 596 596 #endif 597 597 memset( m_puhMergeIndex + firstElement, 0, numElements * sizeof( *m_puhMergeIndex ) ); … … 779 779 m_pbMergeFlag[ui] = 0; 780 780 #if LGE_ILLUCOMP_B0045 781 m_pbICFlag[ui] = false;781 m_pbICFlag[ui] = false; 782 782 #endif 783 783 m_puhMergeIndex[ui] = 0; … … 961 961 m_pbMergeFlag[ui]=pcCU->m_pbMergeFlag[uiPartOffset+ui]; 962 962 #if LGE_ILLUCOMP_B0045 963 m_pbICFlag[ui]=pcCU->m_pbICFlag[uiPartOffset+ui];963 m_pbICFlag[ui]=pcCU->m_pbICFlag[uiPartOffset+ui]; 964 964 #endif 965 965 m_puhMergeIndex[ui]=pcCU->m_puhMergeIndex[uiPartOffset+ui]; -
branches/HTM-4.1-dev2-LG/source/Lib/TLibCommon/TComPrediction.cpp
r152 r156 629 629 { 630 630 #if LGE_ILLUCOMP_B0045 631 if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr))631 if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr)) 632 632 #else 633 633 if( pcCU->getSlice()->getPPS()->getUseWP()) … … 649 649 } 650 650 #if LGE_ILLUCOMP_B0045 651 if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr) )651 if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr) ) 652 652 #else 653 653 if ( pcCU->getSlice()->getPPS()->getUseWP() ) … … 698 698 { 699 699 #if LGE_ILLUCOMP_B0045 700 if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr))700 if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr)) 701 701 #else 702 702 if( pcCU->getSlice()->getPPS()->getUseWP()) … … 723 723 #endif 724 724 #if LGE_ILLUCOMP_B0045 725 if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr))725 if( pcCU->getSlice()->getPPS()->getUseWP() && !pcCU->getICFlag(uiPartAddr)) 726 726 #else 727 727 if ( pcCU->getSlice()->getPPS()->getUseWP() ) -
branches/HTM-4.1-dev2-LG/source/Lib/TLibCommon/TComSlice.cpp
r152 r156 1370 1370 iSumOrgSAD += abs(aiCurrHist[i] - aiRefOrgHist[i]); 1371 1371 } 1372 //printf("iSumOrgSAD : %d\n",iSumOrgSAD);1373 1372 // Setting 1374 1373 if ( iSumOrgSAD > Int(dThresholdOrgSAD * iWidth * iHeight) ) 1375 1374 { 1376 1375 m_bApplyIC = true; 1377 //printf("ApplyIC\n");1378 1376 } 1379 1377 else
Note: See TracChangeset for help on using the changeset viewer.