Changeset 1262 in 3DVCSoftware for branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibDecoder
- Timestamp:
- 29 Jun 2015, 19:43:32 (10 years ago)
- Location:
- branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibDecoder
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1246 r1262 3376 3376 } 3377 3377 3378 #if H_3D_ARP3378 #if NH_3D_ARP 3379 3379 Void TDecCavlc::parseARPW( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 3380 3380 { -
branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibDecoder/TDecCAVLC.h
r1222 r1262 117 117 Void parseMergeFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx ); 118 118 Void parseMergeIndex ( TComDataCU* pcCU, UInt& ruiMergeIndex ); 119 #if H_3D_ARP119 #if NH_3D_ARP 120 120 Void parseARPW ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 121 121 #endif -
branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibDecoder/TDecCu.cpp
r1246 r1262 293 293 if(!pcCU->getSlice()->isIntra()) 294 294 { 295 #if H_3D_ARP && H_3D_IV_MERGE295 #if NH_3D_ARP && H_3D_IV_MERGE 296 296 if( pcCU->getSlice()->getIvResPredFlag() || pcCU->getSlice()->getIvMvPredFlag() ) 297 297 #else 298 #if H_3D_ARP299 if( pcCU->getSlice()->get VPS()->getUseAdvRP(pcCU->getSlice()->getLayerId()) )298 #if NH_3D_ARP 299 if( pcCU->getSlice()->getIvResPredFlag( ) ) 300 300 #else 301 301 #if H_3D_IV_MERGE … … 399 399 m_pcEntropyDecoder->decodeMergeIndex( pcCU, 0, uiAbsPartIdx, uiDepth ); 400 400 UInt uiMergeIndex = pcCU->getMergeIndex(uiAbsPartIdx); 401 #if H_3D_ARP401 #if NH_3D_ARP 402 402 m_pcEntropyDecoder->decodeARPW( pcCU , uiAbsPartIdx , uiDepth ); 403 403 #endif -
branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibDecoder/TDecEntropy.cpp
r1246 r1262 105 105 } 106 106 107 #if H_3D_ARP107 #if NH_3D_ARP 108 108 Void TDecEntropy::decodeARPW( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 109 109 { … … 297 297 //decodeSDCFlag ( pcCU, uiAbsPartIdx, uiDepth ); 298 298 299 #if H_3D_ARP299 #if NH_3D_ARP 300 300 decodeARPW ( pcCU, uiAbsPartIdx, uiDepth ); 301 301 #endif -
branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibDecoder/TDecEntropy.h
r1246 r1262 85 85 virtual Void parseMergeFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx ) = 0; 86 86 virtual Void parseMergeIndex ( TComDataCU* pcCU, UInt& ruiMergeIndex ) = 0; 87 #if H_3D_ARP87 #if NH_3D_ARP 88 88 virtual Void parseARPW ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) = 0; 89 89 #endif … … 174 174 Void decodePartSize ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 175 175 176 #if H_3D_ARP176 #if NH_3D_ARP 177 177 Void decodeARPW ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 178 178 #endif -
branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibDecoder/TDecSbac.cpp
r1246 r1262 73 73 , m_cCUMergeFlagExtSCModel ( 1, 1, NUM_MERGE_FLAG_EXT_CTX , m_contextModels + m_numContextModels, m_numContextModels) 74 74 , m_cCUMergeIdxExtSCModel ( 1, 1, NUM_MERGE_IDX_EXT_CTX , m_contextModels + m_numContextModels, m_numContextModels) 75 #if H_3D_ARP76 , m_cCUPUARPWSCModel ( 1, 1,NUM_ARPW_CTX , m_contextModels + m_numContextModels, m_numContextModels)75 #if NH_3D_ARP 76 , m_cCUPUARPWSCModel ( 1, 1, NUM_ARPW_CTX , m_contextModels + m_numContextModels, m_numContextModels) 77 77 #endif 78 78 #if H_3D_IC … … 164 164 m_cCUMergeFlagExtSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_MERGE_FLAG_EXT ); 165 165 m_cCUMergeIdxExtSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_MERGE_IDX_EXT ); 166 #if H_3D_ARP167 m_cCUPUARPWSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_ARPW );166 #if NH_3D_ARP 167 m_cCUPUARPWSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_ARPW ); 168 168 #endif 169 169 #if H_3D_IC … … 240 240 m_cCUDISFlagSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_DIS_FLAG ); 241 241 m_cCUDISTypeSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_DIS_TYPE ); 242 #endif243 #if H_3D_ARP244 m_cCUPUARPWSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_ARPW );245 242 #endif 246 243 #if H_3D_IC … … 2417 2414 } 2418 2415 2419 #if H_3D_ARP2416 #if NH_3D_ARP 2420 2417 Void TDecSbac::parseARPW( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 2421 2418 { 2422 UInt uiMaxW = pcCU->getSlice()->getARPStepNum() - 1;2423 2419 UInt uiW = 0; 2424 2420 UInt uiOffset = pcCU->getCTXARPWFlag(uiAbsPartIdx); 2425 2421 UInt uiCode = 0; 2426 2422 2427 assert ( uiMaxW > 0 ); 2428 2429 m_pcTDecBinIf->decodeBin( uiCode , m_cCUPUARPWSCModel.get( 0, 0, 0 + uiOffset ) ); 2423 m_pcTDecBinIf->decodeBin( uiCode , m_cCUPUARPWSCModel.get( 0, 0, 0 + uiOffset ) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(STATS__CABAC_BITS__ARP_FLAG)); 2430 2424 2431 2425 uiW = uiCode; 2432 2426 if( 1 == uiW ) 2433 2427 { 2434 m_pcTDecBinIf->decodeBin( uiCode , m_cCUPUARPWSCModel.get( 0, 0, 2 ) );2428 m_pcTDecBinIf->decodeBin( uiCode , m_cCUPUARPWSCModel.get( 0, 0, 2 ) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(STATS__CABAC_BITS__ARP_FLAG)); 2435 2429 uiW += ( 1 == uiCode ? 1 : 0 ); 2436 2430 } … … 2438 2432 DTRACE_CU("iv_res_pred_weight_idx", uiW ) 2439 2433 #endif 2434 2440 2435 pcCU->setARPWSubParts( ( UChar )( uiW ) , uiAbsPartIdx, uiDepth ); 2441 2436 } -
branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibDecoder/TDecSbac.h
r1222 r1262 139 139 Void parseMergeFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx ); 140 140 Void parseMergeIndex ( TComDataCU* pcCU, UInt& ruiMergeIndex ); 141 #if H_3D_ARP141 #if NH_3D_ARP 142 142 Void parseARPW ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 143 143 #endif … … 190 190 ContextModel3DBuffer m_cCUMergeFlagExtSCModel; 191 191 ContextModel3DBuffer m_cCUMergeIdxExtSCModel; 192 #if H_3D_ARP192 #if NH_3D_ARP 193 193 ContextModel3DBuffer m_cCUPUARPWSCModel; 194 194 #endif -
branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibDecoder/TDecTop.cpp
r1210 r1262 1145 1145 pcSlice->setDefaultRefView(); 1146 1146 #endif 1147 #if H_3D_ARP1147 #if NH_3D_ARP 1148 1148 pcSlice->setARPStepNum(m_ivPicLists); 1149 if( pcSlice->getARPStepNum() > 1 )1150 {1151 // GT: This seems to be broken, not all nuh_layer_ids are necessarily present1152 for(Int iLayerId = 0; iLayerId < nalu.m_nuhLayerId; iLayerId ++ )1153 {1154 Int iViewIdx = pcSlice->getVPS()->getViewIndex(iLayerId);1155 Bool bIsDepth = ( pcSlice->getVPS()->getDepthId ( iLayerId ) == 1 );1156 if( iViewIdx<getViewIndex() && !bIsDepth )1157 {1158 pcSlice->setBaseViewRefPicList( m_ivPicLists->getPicList( iLayerId ), iViewIdx );1159 }1160 }1161 }1162 1149 #endif 1163 1150 #else
Note: See TracChangeset for help on using the changeset viewer.