Changeset 564 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
27 Jan 2014, 17:54:11 (11 years ago)
Author:
seregin
Message:

remove JCTVC_M0458_INTERLAYER_RPS_SIG macro

Location:
branches/SHM-5.0-dev/source/Lib/TLibEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r562 r564  
    10211021#endif
    10221022
    1023 #if JCTVC_M0458_INTERLAYER_RPS_SIG
    1024       WRITE_FLAG(vps->getMaxOneActiveRefLayerFlag(), "max_one_active_ref_layer_flag");
    1025 #endif
     1023  WRITE_FLAG(vps->getMaxOneActiveRefLayerFlag(), "max_one_active_ref_layer_flag");
    10261024#if O0062_POC_LSB_NOT_PRESENT_FLAG
    10271025  for(i = 1; i< vps->getMaxLayers(); i++)
     
    16041602    }
    16051603
    1606 #if JCTVC_M0458_INTERLAYER_RPS_SIG
     1604#if SVC_EXTENSION
    16071605#if ILP_SSH_SIG
    16081606#if ILP_SSH_SIG_FIX
     
    16431641      }
    16441642    }     
    1645 #endif
     1643#endif //SVC_EXTENSION
    16461644
    16471645    if(pcSlice->getSPS()->getUseSAO())
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r563 r564  
    11481148#endif
    11491149      {
    1150 #if JCTVC_M0458_INTERLAYER_RPS_SIG
    11511150        pcSlice->setActiveNumILRRefIdx(0);
    11521151        pcSlice->setInterLayerPredEnabledFlag(0);
    1153 #else
    1154         pcSlice->setNumILRRefIdx(0);
    1155 #endif
    1156       }
    1157 #if JCTVC_M0458_INTERLAYER_RPS_SIG
     1152      }
    11581153      if( pcSlice->getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP && pcSlice->getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA )
    11591154      {
     
    11661161        pcSlice->setNumRefIdx(REF_PIC_LIST_1, pcSlice->getNumRefIdx(REF_PIC_LIST_1)+pcSlice->getActiveNumILRRefIdx());
    11671162      }
    1168 #else
    1169       if( pcSlice->getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP && pcSlice->getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA )
    1170       {
    1171         pcSlice->setNumRefIdx(REF_PIC_LIST_0, pcSlice->getNumILRRefIdx());
    1172         pcSlice->setNumRefIdx(REF_PIC_LIST_1, pcSlice->getNumILRRefIdx());
    1173       }
    1174       else
    1175       {
    1176         pcSlice->setNumRefIdx(REF_PIC_LIST_0, pcSlice->getNumRefIdx(REF_PIC_LIST_0)+pcSlice->getNumILRRefIdx());
    1177         pcSlice->setNumRefIdx(REF_PIC_LIST_1, pcSlice->getNumRefIdx(REF_PIC_LIST_1)+pcSlice->getNumILRRefIdx());
    1178       }
    1179 #endif
    11801163    }
    11811164#endif //SVC_EXTENSION
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncSlice.cpp

    r563 r564  
    523523  if( layerId > 0 )
    524524  {
    525 #if JCTVC_M0458_INTERLAYER_RPS_SIG
    526525    if( rpcSlice->getNumILRRefIdx() > 0 )
    527526    {
     
    533532      rpcSlice->setInterLayerPredEnabledFlag(1);
    534533    }
    535 #else
    536     rpcSlice->setNumILRRefIdx( rpcSlice->getVPS()->getNumDirectRefLayers( layerId ) );
    537 #endif
    538534    rpcSlice->setMFMEnabledFlag(m_ppcTEncTop[layerId]->getMFMEnabledFlag());
    539535  }
Note: See TracChangeset for help on using the changeset viewer.