Changeset 1275 in 3DVCSoftware for branches/HTM-14.1-update-dev2/source/Lib/TLibCommon/TComRom.cpp
- Timestamp:
- 15 Jul 2015, 12:46:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev2/source/Lib/TLibCommon/TComRom.cpp
r1274 r1275 564 564 Bool g_disableNumbering = false; 565 565 Bool g_disableHLSTrace = false; 566 UInt64 g_stopAtCounter = 0;566 UInt64 g_stopAtCounter = 4660; 567 567 Bool g_traceCopyBack = false; 568 568 Bool g_decTraceDispDer = false; … … 704 704 } 705 705 Bool stopFlag = false; 706 if ( g_stopAtPos && poc == 0 && layerId == 2)706 if ( g_stopAtPos && poc == 16 && layerId == 1 ) 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 == 8 ) && ( cuHeight == 8);711 stopFlag = ( cuPelX == 0 ) && ( cuPelY == 0 ) && ( cuWidth == 32 ) && ( cuHeight == 32 ); 712 712 } 713 713 else … … 729 729 if ( ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) && doIt ) 730 730 { 731 if ( g_stopAtCounter == g_nSymbolCounter ) 732 { 733 std::cout << "Break point here." << std::endl; 734 } 731 incSymbolCounter(); 735 732 if ( !g_disableNumbering ) 736 733 { 737 fprintf( g_hTrace, "%8lld ", g_nSymbolCounter ++);734 fprintf( g_hTrace, "%8lld ", g_nSymbolCounter ); 738 735 } 739 736 fprintf( g_hTrace, "%-50s : %d\n", symbolName, val ); 740 fflush ( g_hTrace ); 741 g_nSymbolCounter++; 742 } 737 fflush ( g_hTrace ); 738 } 739 } 740 Int incSymbolCounter( ) 741 { 742 g_nSymbolCounter++; 743 if ( g_stopAtCounter == g_nSymbolCounter ) 744 { 745 std::cout << "Break point here." << std::endl; 746 } 747 return g_nSymbolCounter; 743 748 } 744 749 Void writeToTraceFile( const Char* symbolName, Bool doIt ) … … 746 751 if ( ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) && doIt ) 747 752 { 753 incSymbolCounter(); 748 754 fprintf( g_hTrace, "%s", symbolName ); 749 fflush ( g_hTrace ); 750 g_nSymbolCounter++; 755 fflush ( g_hTrace ); 751 756 } 752 757 }
Note: See TracChangeset for help on using the changeset viewer.