Ignore:
Timestamp:
15 Jul 2015, 14:57:32 (9 years ago)
Author:
tech
Message:

Merged 14.1-update-dev2@1277.

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  
    546546Bool g_disableNumbering = false;
    547547Bool g_disableHLSTrace = false;
    548 UInt64 g_stopAtCounter       = 937234;
     548UInt64 g_stopAtCounter       = 4660;
    549549Bool g_traceCopyBack         = false;
    550550Bool g_decTraceDispDer       = false;
     
    686686  }
    687687  Bool stopFlag = false;
    688   if ( g_stopAtPos && poc == 0 && layerId == 2 )
     688  if ( g_stopAtPos && poc == 16 && layerId == 1 )
    689689  {
    690690    Bool stopAtCU = true;
    691691    if ( stopAtCU )        // Stop at CU with specific size
    692692    {   
    693       stopFlag = ( cuPelX  == 0 ) && ( cuPelY  == 0 ) && ( cuWidth == 8 ) && ( cuHeight == 8 );
     693      stopFlag = ( cuPelX  == 0 ) && ( cuPelY  == 0 ) && ( cuWidth == 32 ) && ( cuHeight == 32 );
    694694    }
    695695    else
     
    711711  if ( ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) && doIt  )
    712712  {
    713     if ( g_stopAtCounter == g_nSymbolCounter )
    714     {
    715       std::cout << "Break point here." << std::endl;
    716     }
     713    incSymbolCounter(); 
    717714    if ( !g_disableNumbering )
    718715    { 
    719       fprintf( g_hTrace, "%8lld  ", g_nSymbolCounter++ );
     716      fprintf( g_hTrace, "%8lld  ", g_nSymbolCounter );
    720717    }
    721718    fprintf( g_hTrace, "%-50s       : %d\n", symbolName, val );     
    722     fflush ( g_hTrace );
    723     g_nSymbolCounter++;
    724   }
     719    fflush ( g_hTrace );   
     720  }
     721}
     722UInt64 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;
    725730}
    726731Void writeToTraceFile( const Char* symbolName, Bool doIt )
     
    728733  if ( ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) && doIt  )
    729734  {
     735    incSymbolCounter();
    730736    fprintf( g_hTrace, "%s", symbolName );   
    731     fflush ( g_hTrace );
    732     g_nSymbolCounter++;
     737    fflush ( g_hTrace );   
    733738  }
    734739}
Note: See TracChangeset for help on using the changeset viewer.