Changeset 738 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncGOP.cpp
- Timestamp:
- 10 Dec 2013, 13:50:12 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/TEncGOP.cpp
r724 r738 664 664 refPicListModification->setRefPicListModificationFlagL1(0); 665 665 #if H_MV 666 #if H_MV_6_RALS_O0149_11 667 if ( pcSlice->getPPS()->getNumExtraSliceHeaderBits() > 0 ) 668 #else 666 669 if ( pcSlice->getPPS()->getNumExtraSliceHeaderBits() > 1 ) 670 #endif 667 671 { 668 672 // Some more sophisticated algorithm to determine discardable_flag might be added here. … … 674 678 GOPEntry gopEntry = m_pcCfg->getGOPEntry( (pcSlice->getRapPicFlag() && getLayerId() > 0) ? MAX_GOP : iGOPid ); 675 679 680 #if H_MV_6_ILDDS_ILREFPICS_27_34 681 Bool interLayerPredLayerIdcPresentFlag = false; 682 #endif 676 683 if ( getLayerId() > 0 && !vps->getAllRefLayersActiveFlag() && numDirectRefLayers > 0 ) 677 684 { … … 685 692 if ( gopEntry.m_numActiveRefLayerPics != vps->getNumDirectRefLayers( getLayerId() ) ) 686 693 { 694 #if H_MV_6_ILDDS_ILREFPICS_27_34 695 interLayerPredLayerIdcPresentFlag = true; 696 #endif 687 697 for (Int i = 0; i < gopEntry.m_numActiveRefLayerPics; i++ ) 688 698 { … … 692 702 } 693 703 } 704 #if H_MV_6_ILDDS_ILREFPICS_27_34 705 if ( !interLayerPredLayerIdcPresentFlag ) 706 { 707 for( Int i = 0; i < pcSlice->getNumActiveRefLayerPics(); i++ ) 708 { 709 pcSlice->setInterLayerPredLayerIdc(i, pcSlice->getRefLayerPicIdc( i ) ); 710 } 711 } 712 #endif 713 714 694 715 assert( pcSlice->getNumActiveRefLayerPics() == gopEntry.m_numActiveRefLayerPics ); 695 716
Note: See TracChangeset for help on using the changeset viewer.