Changeset 521 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComRom.cpp
- Timestamp:
- 4 Jul 2013, 21:00:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComRom.cpp
r446 r521 324 324 Bool g_bJustDoIt = false; 325 325 UInt64 g_nSymbolCounter = 0; 326 #if H_MV_ENC_DEC_TRAC 327 Bool g_traceCU = true; 328 Bool g_tracePU = true; 329 Bool g_traceTU = true; 330 Bool g_disableHLSTrace = false; 331 UInt64 g_stopAtCounter = 10803; 332 #endif 326 333 #endif 327 334 // ==================================================================================================================== … … 518 525 Int g_eTTable[4] = {0,3,1,2}; 519 526 527 #if H_MV_ENC_DEC_TRAC 528 #if ENC_DEC_TRACE 529 Void writeToTraceFile( Char* symbolName, Int val, Bool doIt ) 530 { 531 if ( ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) && doIt ) 532 { 533 if ( g_stopAtCounter == g_nSymbolCounter ) 534 { 535 std::cout << "Break point here." << std::endl; 536 } 537 fprintf( g_hTrace, "%8lld ", g_nSymbolCounter++ ); 538 fprintf( g_hTrace, "%-50s : %d\n", symbolName, val ); 539 fflush ( g_hTrace ); 540 g_nSymbolCounter++; 541 } 542 } 543 544 Void writeToTraceFile( Char* symbolName, Bool doIt ) 545 { 546 if ( ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) && doIt ) 547 { 548 fprintf( g_hTrace, "%s", symbolName ); 549 fflush ( g_hTrace ); 550 g_nSymbolCounter++; 551 } 552 } 553 554 #endif 555 #endif 520 556 //! \}
Note: See TracChangeset for help on using the changeset viewer.