Changeset 976 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecTop.cpp


Ignore:
Timestamp:
7 Jul 2014, 17:27:51 (10 years ago)
Author:
tech
Message:
  • Merged 11.1-dev0@975. (Clean ups)
  • Added coding results.
  • Changed version number.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibDecoder/TDecTop.cpp

    r964 r976  
    371371  m_isNoOutputPriorPics = false;
    372372#endif
    373 #if H0056_EOS_CHECKS
     373#if H_MV
    374374  m_isLastNALWasEos = false;
    375 #endif
    376 #if H_MV
    377375  m_layerId = 0;
    378376  m_viewId = 0;
     
    382380  m_pcCamParsCollector = 0;
    383381#endif
    384 #if H_MV_HLS_8_HRD_Q0102_08
     382#if H_MV
    385383  m_targetOptLayerSetIdx = -1;
    386384#endif
     
    511509    {
    512510      rpcPic->setOutputMark(false);
    513 #if H_MV_HLS_7_VPS_P0300_27
     511#if H_MV
    514512      rpcPic->setPicOutputFlag(false);
    515513#endif
     
    521519    {
    522520      rpcPic->setOutputMark(false);
    523 #if H_MV_HLS_7_VPS_P0300_27
     521#if H_MV
    524522      rpcPic->setPicOutputFlag(false);
    525523#endif
     
    568566  TComSlice::markIvRefPicsAsShortTerm( m_refPicSetInterLayer0, m_refPicSetInterLayer1 ); 
    569567  TComSlice::markCurrPic( pcPic );
    570 #if !H_MV_HLS_8_DBP_NODOC_42
    571   TComSlice::markIvRefPicsAsUnused   ( m_ivPicLists, targetDecLayerIdSet, m_parameterSetManagerDecoder.getActiveVPS(), m_layerId, poc );
    572 #endif
    573568#endif
    574569  m_bFirstSliceInPicture  = true;
     
    590585    {
    591586      pcPicTmp->setOutputMark(false);
    592 #if H_MV_HLS_7_VPS_P0300_27
     587#if H_MV
    593588      pcPicTmp->setPicOutputFlag(false);
    594589#endif
     
    670665  }
    671666
    672 #if H_MV_HLS_8_HRD_Q0102_08
     667#if H_MV
    673668  sps->inferSpsMaxDecPicBufferingMinus1( vps, m_targetOptLayerSetIdx, getLayerId(), false );
    674 #endif
    675 
    676 #if H_MV_HLS_8_RPS_Q0100_36
    677669  vps->inferDbpSizeLayerSetZero( sps, false );
    678 #endif
    679 
    680 #if H_MV_HLS_8_PMS_Q0195_21
    681670  // When the value of vps_num_rep_formats_minus1 in the active VPS is equal to 0
    682671  if ( vps->getVpsNumRepFormatsMinus1() == 0 )
     
    685674    assert( sps->getUpdateRepFormatFlag() == false );
    686675  }
    687 #endif
    688 
    689 #if H_MV_HLS_8_RPS_Q0100_36
    690676  sps->checkRpsMaxNumPics( vps, getLayerId() );
    691 #endif
    692 
    693 #if H_MV_HLS_8_MIS_Q0177_22
    694677  if( m_layerId > 0 )
    695678  {
     
    787770  m_apcSlicePilot->setRefPicSetInterLayer( & m_refPicSetInterLayer0, &m_refPicSetInterLayer1 );
    788771  m_apcSlicePilot->setLayerId( nalu.m_layerId );
    789 #endif
    790 
    791 #if H_MV_HLS_8_HRD_Q0102_08
    792772  m_cEntropyDecoder.decodeSliceHeader (m_apcSlicePilot, &m_parameterSetManagerDecoder, m_targetOptLayerSetIdx );
    793 #else
    794   m_cEntropyDecoder.decodeSliceHeader (m_apcSlicePilot, &m_parameterSetManagerDecoder);
    795773#endif
    796774  // set POC for dependent slices in skipped pictures
     
    13401318    case NAL_UNIT_VPS:
    13411319      xDecodeVPS();
    1342 #if H0056_EOS_CHECKS
     1320#if H_MV
    13431321      m_isLastNALWasEos = false;
    13441322#endif
     
    13551333    case NAL_UNIT_PREFIX_SEI:
    13561334    case NAL_UNIT_SUFFIX_SEI:
    1357 #if H0056_EOS_CHECKS
     1335#if H_MV
    13581336      if ( nalu.m_nalUnitType == NAL_UNIT_SUFFIX_SEI )
    13591337      {
     
    13801358    case NAL_UNIT_CODED_SLICE_RASL_N:
    13811359    case NAL_UNIT_CODED_SLICE_RASL_R:
    1382 #if H0056_EOS_CHECKS
     1360#if H_MV
    13831361      if (nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TRAIL_R || nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TRAIL_N ||
    13841362          nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TSA_R || nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TSA_N ||
     
    13931371        m_isLastNALWasEos = false;
    13941372      }
    1395 #endif
    1396 #if H_MV
     1373
    13971374      return xDecodeSlice(nalu, iSkipFrame, iPOCLastDisplay, newLayerFlag, sliceSkippedFlag );
    13981375#else
     
    14011378      break;
    14021379    case NAL_UNIT_EOS:
    1403 #if H0056_EOS_CHECKS
     1380#if H_MV
    14041381      assert( m_isLastNALWasEos == false );
    14051382      //Check layer id of the nalu. if it is not 0, give a warning message and just return without doing anything.
Note: See TracChangeset for help on using the changeset viewer.