Changeset 773 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncGOP.cpp


Ignore:
Timestamp:
16 Jan 2014, 09:56:13 (11 years ago)
Author:
tech
Message:

Merged branch/9.2-dev0@722.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibEncoder/TEncGOP.cpp

    r738 r773  
    664664    refPicListModification->setRefPicListModificationFlagL1(0);
    665665#if H_MV
    666 #if H_MV_6_RALS_O0149_11
    667666    if ( pcSlice->getPPS()->getNumExtraSliceHeaderBits() > 0 )
    668 #else
    669     if ( pcSlice->getPPS()->getNumExtraSliceHeaderBits() > 1 )
    670 #endif
    671667    {
    672668      // Some more sophisticated algorithm to determine discardable_flag might be added here.
     
    678674    GOPEntry gopEntry      = m_pcCfg->getGOPEntry( (pcSlice->getRapPicFlag() && getLayerId() > 0) ? MAX_GOP : iGOPid );     
    679675   
    680 #if H_MV_6_ILDDS_ILREFPICS_27_34
    681676    Bool interLayerPredLayerIdcPresentFlag = false;
    682 #endif
    683677    if ( getLayerId() > 0 && !vps->getAllRefLayersActiveFlag() && numDirectRefLayers > 0 )
    684678    {         
     
    692686        if ( gopEntry.m_numActiveRefLayerPics != vps->getNumDirectRefLayers( getLayerId() ) )
    693687        {       
    694 #if H_MV_6_ILDDS_ILREFPICS_27_34
    695688          interLayerPredLayerIdcPresentFlag = true;
    696 #endif
    697689          for (Int i = 0; i < gopEntry.m_numActiveRefLayerPics; i++ )
    698690          {
     
    702694      }
    703695    }
    704 #if H_MV_6_ILDDS_ILREFPICS_27_34
    705696    if ( !interLayerPredLayerIdcPresentFlag )
    706697    {
     
    710701      }
    711702    }
    712 #endif
    713703
    714704
     
    745735#if H_3D_ARP
    746736    //GT: This seems to be broken when layerId in vps is not equal to layerId in nuh
    747 #if SHARP_ARP_REF_CHECK_F0105
    748737    pcSlice->setARPStepNum(m_ivPicLists);
    749 #else
    750     pcSlice->setARPStepNum();
    751 #endif
    752738    if(pcSlice->getARPStepNum() > 1)
    753739    {
     
    13191305      nalu = NALUnit(NAL_UNIT_PPS);
    13201306#endif
     1307#if PPS_FIX_DEPTH
     1308      if(!pcSlice->getIsDepth() || !pcSlice->getViewIndex() )
     1309      {
     1310#endif
    13211311      m_pcEntropyCoder->setBitstream(&nalu.m_Bitstream);
    13221312      m_pcEntropyCoder->encodePPS(pcSlice->getPPS());
     
    13261316      actualTotalBits += UInt(accessUnit.back()->m_nalUnitData.str().size()) * 8;
    13271317#endif
    1328 
     1318#if PPS_FIX_DEPTH
     1319      }
     1320#endif
    13291321      xCreateLeadingSEIMessages(accessUnit, pcSlice->getSPS());
    13301322
Note: See TracChangeset for help on using the changeset viewer.