Changeset 773 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncGOP.cpp
- Timestamp:
- 16 Jan 2014, 09:56:13 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/TEncGOP.cpp
r738 r773 664 664 refPicListModification->setRefPicListModificationFlagL1(0); 665 665 #if H_MV 666 #if H_MV_6_RALS_O0149_11667 666 if ( pcSlice->getPPS()->getNumExtraSliceHeaderBits() > 0 ) 668 #else669 if ( pcSlice->getPPS()->getNumExtraSliceHeaderBits() > 1 )670 #endif671 667 { 672 668 // Some more sophisticated algorithm to determine discardable_flag might be added here. … … 678 674 GOPEntry gopEntry = m_pcCfg->getGOPEntry( (pcSlice->getRapPicFlag() && getLayerId() > 0) ? MAX_GOP : iGOPid ); 679 675 680 #if H_MV_6_ILDDS_ILREFPICS_27_34681 676 Bool interLayerPredLayerIdcPresentFlag = false; 682 #endif683 677 if ( getLayerId() > 0 && !vps->getAllRefLayersActiveFlag() && numDirectRefLayers > 0 ) 684 678 { … … 692 686 if ( gopEntry.m_numActiveRefLayerPics != vps->getNumDirectRefLayers( getLayerId() ) ) 693 687 { 694 #if H_MV_6_ILDDS_ILREFPICS_27_34695 688 interLayerPredLayerIdcPresentFlag = true; 696 #endif697 689 for (Int i = 0; i < gopEntry.m_numActiveRefLayerPics; i++ ) 698 690 { … … 702 694 } 703 695 } 704 #if H_MV_6_ILDDS_ILREFPICS_27_34705 696 if ( !interLayerPredLayerIdcPresentFlag ) 706 697 { … … 710 701 } 711 702 } 712 #endif713 703 714 704 … … 745 735 #if H_3D_ARP 746 736 //GT: This seems to be broken when layerId in vps is not equal to layerId in nuh 747 #if SHARP_ARP_REF_CHECK_F0105748 737 pcSlice->setARPStepNum(m_ivPicLists); 749 #else750 pcSlice->setARPStepNum();751 #endif752 738 if(pcSlice->getARPStepNum() > 1) 753 739 { … … 1319 1305 nalu = NALUnit(NAL_UNIT_PPS); 1320 1306 #endif 1307 #if PPS_FIX_DEPTH 1308 if(!pcSlice->getIsDepth() || !pcSlice->getViewIndex() ) 1309 { 1310 #endif 1321 1311 m_pcEntropyCoder->setBitstream(&nalu.m_Bitstream); 1322 1312 m_pcEntropyCoder->encodePPS(pcSlice->getPPS()); … … 1326 1316 actualTotalBits += UInt(accessUnit.back()->m_nalUnitData.str().size()) * 8; 1327 1317 #endif 1328 1318 #if PPS_FIX_DEPTH 1319 } 1320 #endif 1329 1321 xCreateLeadingSEIMessages(accessUnit, pcSlice->getSPS()); 1330 1322
Note: See TracChangeset for help on using the changeset viewer.