Changeset 625 in SHVCSoftware for branches/SHM-5.1-dev/source/App/TAppDecoder


Ignore:
Timestamp:
10 Mar 2014, 22:19:42 (12 years ago)
Author:
qualcomm
Message:

Include support for NoOutputOfPriorPicsFlag (Macro: NO_OUTPUT_OF_PRIOR_PICS)

Modify flushing of pictures based on NoOutputOfPriorPicsFlag

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.1-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r619 r625  
    256256#if ALIGNED_BUMPING
    257257      Bool outputPicturesFlag = true; 
     258#if NO_OUTPUT_OF_PRIOR_PICS
     259      if( m_acTDecTop[nalu.m_layerId].getNoOutputOfPriorPicsFlags() )
     260      {
     261        outputPicturesFlag = false;
     262      }
     263#endif
    258264
    259265      if (nalu.m_nalUnitType == NAL_UNIT_EOS) // End of sequence
     
    263269      if( bNewPicture ) // New picture, slice header parsed but picture not decoded
    264270      {
     271#if NO_OUTPUT_OF_PRIOR_PICS
     272        if(
     273#else
    265274        if ( bNewPOC &&
     275#endif
    266276           (   nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR_W_RADL
    267277            || nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR_N_LP
     
    10411051      conf.getWindowBottomOffset()* yScal + defDisp.getWindowBottomOffset() );
    10421052  }
    1043        
    10441053  // update POC of display order
    10451054  pocLastDisplay = pic->getPOC();
Note: See TracChangeset for help on using the changeset viewer.