Changeset 564 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibEncoder
- Timestamp:
- 27 Jan 2014, 17:54:11 (11 years ago)
- 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 1021 1021 #endif 1022 1022 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"); 1026 1024 #if O0062_POC_LSB_NOT_PRESENT_FLAG 1027 1025 for(i = 1; i< vps->getMaxLayers(); i++) … … 1604 1602 } 1605 1603 1606 #if JCTVC_M0458_INTERLAYER_RPS_SIG1604 #if SVC_EXTENSION 1607 1605 #if ILP_SSH_SIG 1608 1606 #if ILP_SSH_SIG_FIX … … 1643 1641 } 1644 1642 } 1645 #endif 1643 #endif //SVC_EXTENSION 1646 1644 1647 1645 if(pcSlice->getSPS()->getUseSAO()) -
branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r563 r564 1148 1148 #endif 1149 1149 { 1150 #if JCTVC_M0458_INTERLAYER_RPS_SIG1151 1150 pcSlice->setActiveNumILRRefIdx(0); 1152 1151 pcSlice->setInterLayerPredEnabledFlag(0); 1153 #else 1154 pcSlice->setNumILRRefIdx(0); 1155 #endif 1156 } 1157 #if JCTVC_M0458_INTERLAYER_RPS_SIG 1152 } 1158 1153 if( pcSlice->getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP && pcSlice->getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA ) 1159 1154 { … … 1166 1161 pcSlice->setNumRefIdx(REF_PIC_LIST_1, pcSlice->getNumRefIdx(REF_PIC_LIST_1)+pcSlice->getActiveNumILRRefIdx()); 1167 1162 } 1168 #else1169 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 else1175 {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 #endif1180 1163 } 1181 1164 #endif //SVC_EXTENSION -
branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncSlice.cpp
r563 r564 523 523 if( layerId > 0 ) 524 524 { 525 #if JCTVC_M0458_INTERLAYER_RPS_SIG526 525 if( rpcSlice->getNumILRRefIdx() > 0 ) 527 526 { … … 533 532 rpcSlice->setInterLayerPredEnabledFlag(1); 534 533 } 535 #else536 rpcSlice->setNumILRRefIdx( rpcSlice->getVPS()->getNumDirectRefLayers( layerId ) );537 #endif538 534 rpcSlice->setMFMEnabledFlag(m_ppcTEncTop[layerId]->getMFMEnabledFlag()); 539 535 }
Note: See TracChangeset for help on using the changeset viewer.