Changeset 1279 in 3DVCSoftware for branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComRom.cpp
- Timestamp:
- 15 Jul 2015, 14:57:32 (9 years ago)
- Location:
- branches/HTM-14.1-update-dev1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev1
-
branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComRom.cpp
r1247 r1279 546 546 Bool g_disableNumbering = false; 547 547 Bool g_disableHLSTrace = false; 548 UInt64 g_stopAtCounter = 937234;548 UInt64 g_stopAtCounter = 4660; 549 549 Bool g_traceCopyBack = false; 550 550 Bool g_decTraceDispDer = false; … … 686 686 } 687 687 Bool stopFlag = false; 688 if ( g_stopAtPos && poc == 0 && layerId == 2)688 if ( g_stopAtPos && poc == 16 && layerId == 1 ) 689 689 { 690 690 Bool stopAtCU = true; 691 691 if ( stopAtCU ) // Stop at CU with specific size 692 692 { 693 stopFlag = ( cuPelX == 0 ) && ( cuPelY == 0 ) && ( cuWidth == 8 ) && ( cuHeight == 8);693 stopFlag = ( cuPelX == 0 ) && ( cuPelY == 0 ) && ( cuWidth == 32 ) && ( cuHeight == 32 ); 694 694 } 695 695 else … … 711 711 if ( ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) && doIt ) 712 712 { 713 if ( g_stopAtCounter == g_nSymbolCounter ) 714 { 715 std::cout << "Break point here." << std::endl; 716 } 713 incSymbolCounter(); 717 714 if ( !g_disableNumbering ) 718 715 { 719 fprintf( g_hTrace, "%8lld ", g_nSymbolCounter ++);716 fprintf( g_hTrace, "%8lld ", g_nSymbolCounter ); 720 717 } 721 718 fprintf( g_hTrace, "%-50s : %d\n", symbolName, val ); 722 fflush ( g_hTrace ); 723 g_nSymbolCounter++; 724 } 719 fflush ( g_hTrace ); 720 } 721 } 722 UInt64 incSymbolCounter( ) 723 { 724 g_nSymbolCounter++; 725 if ( g_stopAtCounter == g_nSymbolCounter ) 726 { 727 std::cout << "Break point here." << std::endl; 728 } 729 return g_nSymbolCounter; 725 730 } 726 731 Void writeToTraceFile( const Char* symbolName, Bool doIt ) … … 728 733 if ( ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) && doIt ) 729 734 { 735 incSymbolCounter(); 730 736 fprintf( g_hTrace, "%s", symbolName ); 731 fflush ( g_hTrace ); 732 g_nSymbolCounter++; 737 fflush ( g_hTrace ); 733 738 } 734 739 }
Note: See TracChangeset for help on using the changeset viewer.