Changeset 1059 in 3DVCSoftware


Ignore:
Timestamp:
29 Sep 2014, 16:35:00 (10 years ago)
Author:
tech
Message:

Fix inference sps_max_num_reorder_pics and sps_max_latency_increase_plus1.

Location:
branches/HTM-12.0-dev1/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-12.0-dev1/source/Lib/TLibCommon/TComRom.cpp

    r1054 r1059  
    403403UInt64 g_nSymbolCounter = 0;
    404404#if H_MV_ENC_DEC_TRAC
    405 Bool g_traceCU = true;
    406 Bool g_tracePU = true;
    407 Bool g_traceTU = true;
     405Bool g_traceCU = false;
     406Bool g_tracePU = false;
     407Bool g_traceTU = false;
    408408Bool g_disableHLSTrace = false;
    409409UInt64 g_stopAtCounter       = 0;
  • branches/HTM-12.0-dev1/source/Lib/TLibCommon/TComSlice.cpp

    r1057 r1059  
    31833183      Int maxDecPicBufferingMinus1 = vps->getDpbSize()->getMaxVpsDecPicBufferingMinus1( targetOptLayerSetIdx, layerIdx, i ) ;
    31843184
     3185#if H_MV_HLS10_MULTILAYERSPS
     3186      // This preliminary fix needs to be checked.
     3187      Int maxNumReorderPics       = vps->getDpbSize()->getMaxVpsNumReorderPics( targetOptLayerSetIdx, i );
     3188      Int maxLatencyIncreasePlus1 = vps->getDpbSize()->getMaxVpsLatencyIncreasePlus1( targetOptLayerSetIdx, i );
     3189#endif
    31853190      if ( encoder )     
    31863191      {
    31873192        assert( getMaxDecPicBuffering( i ) - 1 == maxDecPicBufferingMinus1 );
     3193#if H_MV_HLS10_MULTILAYERSPS
     3194        // This preliminary fix needs to be checked.
     3195        assert( getNumReorderPics( i )     == maxNumReorderPics       );
     3196        assert( getMaxLatencyIncrease( i ) == maxLatencyIncreasePlus1 );
     3197#endif   
     3198
    31883199      }
    31893200      else
    31903201      {
     3202#if !H_MV_HLS10_MULTILAYERSPS
    31913203        setMaxDecPicBuffering(i, maxDecPicBufferingMinus1 + 1 );
    3192       }
    3193     }
     3204#else
     3205        // This preliminary fix needs to be checked.
     3206        setMaxDecPicBuffering( maxDecPicBufferingMinus1 + 1 , i);
     3207        setNumReorderPics    ( maxNumReorderPics, i );
     3208        setMaxLatencyIncrease( maxLatencyIncreasePlus1 - 1 , i);
     3209#endif
     3210      }
     3211    }   
    31943212  }
    31953213}
Note: See TracChangeset for help on using the changeset viewer.