Changeset 976 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecTop.cpp
- Timestamp:
- 7 Jul 2014, 17:27:51 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibDecoder/TDecTop.cpp
r964 r976 371 371 m_isNoOutputPriorPics = false; 372 372 #endif 373 #if H 0056_EOS_CHECKS373 #if H_MV 374 374 m_isLastNALWasEos = false; 375 #endif376 #if H_MV377 375 m_layerId = 0; 378 376 m_viewId = 0; … … 382 380 m_pcCamParsCollector = 0; 383 381 #endif 384 #if H_MV _HLS_8_HRD_Q0102_08382 #if H_MV 385 383 m_targetOptLayerSetIdx = -1; 386 384 #endif … … 511 509 { 512 510 rpcPic->setOutputMark(false); 513 #if H_MV _HLS_7_VPS_P0300_27511 #if H_MV 514 512 rpcPic->setPicOutputFlag(false); 515 513 #endif … … 521 519 { 522 520 rpcPic->setOutputMark(false); 523 #if H_MV _HLS_7_VPS_P0300_27521 #if H_MV 524 522 rpcPic->setPicOutputFlag(false); 525 523 #endif … … 568 566 TComSlice::markIvRefPicsAsShortTerm( m_refPicSetInterLayer0, m_refPicSetInterLayer1 ); 569 567 TComSlice::markCurrPic( pcPic ); 570 #if !H_MV_HLS_8_DBP_NODOC_42571 TComSlice::markIvRefPicsAsUnused ( m_ivPicLists, targetDecLayerIdSet, m_parameterSetManagerDecoder.getActiveVPS(), m_layerId, poc );572 #endif573 568 #endif 574 569 m_bFirstSliceInPicture = true; … … 590 585 { 591 586 pcPicTmp->setOutputMark(false); 592 #if H_MV _HLS_7_VPS_P0300_27587 #if H_MV 593 588 pcPicTmp->setPicOutputFlag(false); 594 589 #endif … … 670 665 } 671 666 672 #if H_MV _HLS_8_HRD_Q0102_08667 #if H_MV 673 668 sps->inferSpsMaxDecPicBufferingMinus1( vps, m_targetOptLayerSetIdx, getLayerId(), false ); 674 #endif675 676 #if H_MV_HLS_8_RPS_Q0100_36677 669 vps->inferDbpSizeLayerSetZero( sps, false ); 678 #endif679 680 #if H_MV_HLS_8_PMS_Q0195_21681 670 // When the value of vps_num_rep_formats_minus1 in the active VPS is equal to 0 682 671 if ( vps->getVpsNumRepFormatsMinus1() == 0 ) … … 685 674 assert( sps->getUpdateRepFormatFlag() == false ); 686 675 } 687 #endif688 689 #if H_MV_HLS_8_RPS_Q0100_36690 676 sps->checkRpsMaxNumPics( vps, getLayerId() ); 691 #endif692 693 #if H_MV_HLS_8_MIS_Q0177_22694 677 if( m_layerId > 0 ) 695 678 { … … 787 770 m_apcSlicePilot->setRefPicSetInterLayer( & m_refPicSetInterLayer0, &m_refPicSetInterLayer1 ); 788 771 m_apcSlicePilot->setLayerId( nalu.m_layerId ); 789 #endif790 791 #if H_MV_HLS_8_HRD_Q0102_08792 772 m_cEntropyDecoder.decodeSliceHeader (m_apcSlicePilot, &m_parameterSetManagerDecoder, m_targetOptLayerSetIdx ); 793 #else794 m_cEntropyDecoder.decodeSliceHeader (m_apcSlicePilot, &m_parameterSetManagerDecoder);795 773 #endif 796 774 // set POC for dependent slices in skipped pictures … … 1340 1318 case NAL_UNIT_VPS: 1341 1319 xDecodeVPS(); 1342 #if H 0056_EOS_CHECKS1320 #if H_MV 1343 1321 m_isLastNALWasEos = false; 1344 1322 #endif … … 1355 1333 case NAL_UNIT_PREFIX_SEI: 1356 1334 case NAL_UNIT_SUFFIX_SEI: 1357 #if H 0056_EOS_CHECKS1335 #if H_MV 1358 1336 if ( nalu.m_nalUnitType == NAL_UNIT_SUFFIX_SEI ) 1359 1337 { … … 1380 1358 case NAL_UNIT_CODED_SLICE_RASL_N: 1381 1359 case NAL_UNIT_CODED_SLICE_RASL_R: 1382 #if H 0056_EOS_CHECKS1360 #if H_MV 1383 1361 if (nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TRAIL_R || nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TRAIL_N || 1384 1362 nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TSA_R || nalu.m_nalUnitType == NAL_UNIT_CODED_SLICE_TSA_N || … … 1393 1371 m_isLastNALWasEos = false; 1394 1372 } 1395 #endif 1396 #if H_MV 1373 1397 1374 return xDecodeSlice(nalu, iSkipFrame, iPOCLastDisplay, newLayerFlag, sliceSkippedFlag ); 1398 1375 #else … … 1401 1378 break; 1402 1379 case NAL_UNIT_EOS: 1403 #if H 0056_EOS_CHECKS1380 #if H_MV 1404 1381 assert( m_isLastNALWasEos == false ); 1405 1382 //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.