Changeset 1280 in 3DVCSoftware for branches/HTM-14.1-update-dev2/source/Lib/TLibCommon
- Timestamp:
- 17 Jul 2015, 16:59:43 (10 years ago)
- Location:
- branches/HTM-14.1-update-dev2/source/Lib/TLibCommon
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev2/source/Lib/TLibCommon/Debug.cpp
r1200 r1280 154 154 155 155 #if DEBUG_STRING 156 EnvVar DebugOptionList::DebugString_Structure ("DEBUG_STRUCTURE", " 0", "Produce output on chosen structure bit0=intra, bit1=inter");157 EnvVar DebugOptionList::DebugString_Pred ("DEBUG_PRED", " 0", "Produce output on prediction data. bit0=intra, bit1=inter");158 EnvVar DebugOptionList::DebugString_Resi ("DEBUG_RESI", " 0", "Produce output on residual data. bit0=intra, bit1=inter");159 EnvVar DebugOptionList::DebugString_Reco ("DEBUG_RECO", " 0", "Produce output on reconstructed data. bit0=intra, bit1=inter");156 EnvVar DebugOptionList::DebugString_Structure ("DEBUG_STRUCTURE", "3", "Produce output on chosen structure bit0=intra, bit1=inter"); 157 EnvVar DebugOptionList::DebugString_Pred ("DEBUG_PRED", "3", "Produce output on prediction data. bit0=intra, bit1=inter"); 158 EnvVar DebugOptionList::DebugString_Resi ("DEBUG_RESI", "3", "Produce output on residual data. bit0=intra, bit1=inter"); 159 EnvVar DebugOptionList::DebugString_Reco ("DEBUG_RECO", "3", "Produce output on reconstructed data. bit0=intra, bit1=inter"); 160 160 EnvVar DebugOptionList::DebugString_InvTran ("DEBUG_INV_QT", "0", "Produce output on inverse-quantiser and transform stages. bit0=intra, bit1=inter"); 161 161 #endif -
branches/HTM-14.1-update-dev2/source/Lib/TLibCommon/TComDataCU.cpp
r1275 r1280 3670 3670 continue; 3671 3671 } 3672 #if H_3D_FIX_PRUNING 3673 if ( ivCandDir[0] == m_mergCands[MRG_A1+i].m_uDir && 3674 ( ( ivCandDir[0] & 1 ) == 0 || tmpMV[0]==m_mergCands[MRG_A1+i].m_cMvField[0] ) && 3675 ( ( ivCandDir[0] & 2 ) == 0 || tmpMV[1]==m_mergCands[MRG_A1+i].m_cMvField[1] ) 3676 ) 3677 #else 3672 3678 if (ivCandDir[0] == m_mergCands[MRG_A1+i].m_uDir && tmpMV[0]==m_mergCands[MRG_A1+i].m_cMvField[0] && tmpMV[1]==m_mergCands[MRG_A1+i].m_cMvField[1]) 3679 #endif 3673 3680 { 3674 3681 m_mergCands[MRG_A1+i].m_bAvailable = false; … … 3679 3686 if (bIsDepth) 3680 3687 { 3688 #if H_3D_FIX_PRUNING 3689 if ( m_mergCands[MRG_T].m_bAvailable && ivCandDir[0] == m_mergCands[MRG_T].m_uDir && 3690 ( ( ivCandDir[0] & 1 ) == 0 || tmpMV[0]==m_mergCands[MRG_T].m_cMvField[0] ) && 3691 ( ( ivCandDir[0] & 2 ) == 0 || tmpMV[1]==m_mergCands[MRG_T].m_cMvField[1] ) 3692 ) 3693 #else 3681 3694 if (m_mergCands[MRG_T].m_bAvailable && ivCandDir[0] == m_mergCands[MRG_T].m_uDir && tmpMV[0]==m_mergCands[MRG_T].m_cMvField[0] && tmpMV[1]==m_mergCands[MRG_T].m_cMvField[1]) 3695 #endif 3682 3696 { 3683 3697 bRemoveSpa = true; … … 3775 3789 continue; 3776 3790 } 3791 #if H_3D_FIX_PRUNING 3792 if ( ivCandDir[1] == m_mergCands[MRG_A1+i].m_uDir && 3793 ( ( ivCandDir[1] & 1 ) == 0 || tmpMV[0]==m_mergCands[MRG_A1+i].m_cMvField[0] ) && 3794 ( ( ivCandDir[1] & 2 ) == 0 || tmpMV[1]==m_mergCands[MRG_A1+i].m_cMvField[1] ) 3795 ) 3796 #else 3777 3797 if (ivCandDir[1] == m_mergCands[MRG_A1+i].m_uDir && tmpMV[0]==m_mergCands[MRG_A1+i].m_cMvField[0] && tmpMV[1]==m_mergCands[MRG_A1+i].m_cMvField[1]) 3798 #endif 3778 3799 { 3779 3800 bRemoveSpa = true; -
branches/HTM-14.1-update-dev2/source/Lib/TLibCommon/TComRom.cpp
r1277 r1280 555 555 const Bool g_bEncDecTraceEnable = true; 556 556 const Bool g_bEncDecTraceDisable = false; 557 Bool g_HLSTraceEnable = false;557 Bool g_HLSTraceEnable = true; 558 558 Bool g_bJustDoIt = false; 559 559 UInt64 g_nSymbolCounter = 0; 560 560 #if H_MV_ENC_DEC_TRAC 561 Bool g_traceCU = false;562 Bool g_tracePU = false;563 Bool g_traceTU = false;561 Bool g_traceCU = true; 562 Bool g_tracePU = true; 563 Bool g_traceTU = true; 564 564 Bool g_disableNumbering = false; 565 565 Bool g_disableHLSTrace = false; … … 569 569 Bool g_decTraceMvFromMerge = false; 570 570 Bool g_decTracePicOutput = false; 571 Bool g_stopAtPos = false;571 Bool g_stopAtPos = true; 572 572 Bool g_outputPos = false; 573 573 Bool g_traceCameraParameters = false; … … 704 704 } 705 705 Bool stopFlag = false; 706 if ( g_stopAtPos && poc == 16 && layerId == 1)706 if ( g_stopAtPos && poc == 6 && layerId == 2 ) 707 707 { 708 708 Bool stopAtCU = true; 709 709 if ( stopAtCU ) // Stop at CU with specific size 710 710 { 711 stopFlag = ( cuPelX == 0 ) && ( cuPelY ==0 ) && ( cuWidth == 32 ) && ( cuHeight == 32 );711 stopFlag = ( cuPelX == 128 ) && ( cuPelY == 160 ) && ( cuWidth == 32 ) && ( cuHeight == 32 ); 712 712 } 713 713 else -
branches/HTM-14.1-update-dev2/source/Lib/TLibCommon/TComRom.h
r1277 r1280 158 158 // Change later 159 159 #ifndef ENC_DEC_TRACE 160 #define ENC_DEC_TRACE 0160 #define ENC_DEC_TRACE 1 161 161 #endif 162 162 #endif … … 201 201 Void writeToTraceFile( const Char* symbolName, Int val, Bool doIt ); 202 202 Void writeToTraceFile( const Char* symbolName, Bool doIt ); 203 incSymbolCounterincSymbolCounter();203 UInt64 incSymbolCounter(); 204 204 Void stopAtPos ( Int poc, Int layerId, Int cuPelX, Int cuPelY, Int cuWidth, Int cuHeight ); 205 205 #endif
Note: See TracChangeset for help on using the changeset viewer.