Changeset 669 in 3DVCSoftware for branches/HTM-8.2-dev2-Qualcomm/source/Lib/TLibDecoder
- Timestamp:
- 4 Nov 2013, 17:39:44 (11 years ago)
- Location:
- branches/HTM-8.2-dev2-Qualcomm/source/Lib/TLibDecoder
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-8.2-dev2-Qualcomm/source/Lib/TLibDecoder/TDecCAVLC.cpp
r655 r669 1265 1265 else 1266 1266 { 1267 1267 #if QC_DEPTH_IV_MRG_F0125 && H_3D_IV_MERGE 1268 if(i!=1) 1269 { 1270 READ_FLAG( uiCode, "iv_mv_pred_flag[i]"); pcVPS->setIvMvPredFlag ( i, uiCode == 1 ? true : false ); 1271 } 1272 #endif 1268 1273 READ_FLAG( uiCode, "vps_depth_modes_flag[i]" ); pcVPS->setVpsDepthModesFlag( i, uiCode == 1 ? true : false ); 1269 1274 // READ_FLAG( uiCode, "lim_qt_pred_flag[i]"); pcVPS->setLimQtPreFlag ( i, uiCode == 1 ? true : false ); -
branches/HTM-8.2-dev2-Qualcomm/source/Lib/TLibDecoder/TDecCu.cpp
r655 r669 135 135 Void TDecCu::decompressCU( TComDataCU* pcCU ) 136 136 { 137 #if !QC_DEPTH_IV_MRG_F0125 137 138 xDecompressCU( pcCU, 0, 0 ); 139 #endif 138 140 } 139 141 … … 313 315 m_ppcCU[uiDepth]->setHeight ( 0, pcCU->getSlice()->getSPS()->getMaxCUHeight()/(1<<uiDepth) ); 314 316 m_ppcCU[uiDepth]->setPartSizeSubParts( SIZE_2Nx2N, 0, uiDepth ); 317 #if QC_DEPTH_IV_MRG_F0125 318 if( pcCU->getSlice()->getIsDepth()) 319 { 320 DvInfo.bDV = m_ppcCU[uiDepth]->getDispNeighBlocks(0, 0, &DvInfo); 321 } 322 else 323 { 324 #endif 315 325 #if H_3D_NBDV_REF 316 326 if(pcCU->getSlice()->getVPS()->getDepthRefinementFlag( pcCU->getSlice()->getLayerIdInVps() )) //Notes from QC: please check the condition for DoNBDV. Remove this comment once it is done. … … 323 333 DvInfo.bDV = m_ppcCU[uiDepth]->getDisMvpCandNBDV(&DvInfo); 324 334 } 325 335 #if QC_DEPTH_IV_MRG_F0125 336 } 337 #endif 326 338 #if ENC_DEC_TRACE && H_MV_ENC_DEC_TRAC 327 339 if ( g_decTraceDispDer ) … … 430 442 #endif 431 443 xFinishDecodeCU( pcCU, uiAbsPartIdx, uiDepth, ruiIsLast ); 444 #if QC_DEPTH_IV_MRG_F0125 445 xDecompressCU(pcCU, uiAbsPartIdx, uiDepth ); 446 #endif 432 447 return; 433 448 } … … 443 458 { 444 459 xFinishDecodeCU( pcCU, uiAbsPartIdx, uiDepth, ruiIsLast ); 460 #if QC_DEPTH_IV_MRG_F0125 461 xDecompressCU(pcCU, uiAbsPartIdx, uiDepth ); 462 #endif 445 463 return; 446 464 } … … 466 484 setdQPFlag( bCodeDQP ); 467 485 xFinishDecodeCU( pcCU, uiAbsPartIdx, uiDepth, ruiIsLast ); 486 #if QC_DEPTH_IV_MRG_F0125 487 xDecompressCU(pcCU, uiAbsPartIdx, uiDepth ); 488 #endif 468 489 } 469 490 … … 481 502 { 482 503 TComPic* pcPic = pcCU->getPic(); 483 504 #if !QC_DEPTH_IV_MRG_F0125 484 505 Bool bBoundary = false; 485 506 UInt uiLPelX = pcCU->getCUPelX() + g_auiRasterToPelX[ g_auiZscanToRaster[uiAbsPartIdx] ]; … … 516 537 return; 517 538 } 518 539 #endif 519 540 // Residual reconstruction 520 541 m_ppcYuvResi[uiDepth]->clear(); -
branches/HTM-8.2-dev2-Qualcomm/source/Lib/TLibDecoder/TDecTop.cpp
r655 r669 282 282 } 283 283 284 #if QC_DEPTH_IV_MRG_F0125 285 Void 286 CamParsCollector::copyCamParamForSlice( TComSlice* pcSlice ) 287 { 288 UInt uiViewIndex = pcSlice->getViewIndex(); 289 290 pcSlice->getSPS()->initCamParaSPS( uiViewIndex, m_uiCamParsCodedPrecision, m_bCamParsVaryOverTime, m_aaiCodedScale, m_aaiCodedOffset ); 291 292 if( m_bCamParsVaryOverTime ) 293 { 294 pcSlice->setCamparaSlice( m_aaiCodedScale, m_aaiCodedOffset ); 295 } 296 } 297 #endif 298 284 299 Bool 285 300 CamParsCollector::xIsComplete() … … 1053 1068 } 1054 1069 1070 #if QC_DEPTH_IV_MRG_F0125 1071 if( pcSlice->getIsDepth() && m_pcCamParsCollector ) 1072 { 1073 m_pcCamParsCollector->copyCamParamForSlice( pcSlice ); 1074 } 1075 #endif 1076 1055 1077 // Decode a picture 1056 1078 m_cGopDecoder.decompressSlice(nalu.m_Bitstream, pcPic); … … 1060 1082 m_pcCamParsCollector->setSlice( pcSlice ); 1061 1083 } 1084 #if QC_DEPTH_IV_MRG_F0125 1085 if( pcSlice->getIsDepth() ) 1086 { 1087 pcSlice->getSPS()->setHasCamParInSliceHeader( false ); 1088 } 1089 #endif 1062 1090 #endif 1063 1091 m_bFirstSliceInPicture = false; -
branches/HTM-8.2-dev2-Qualcomm/source/Lib/TLibDecoder/TDecTop.h
r655 r669 77 77 Bool isInitialized() const { return m_bInitialized; } 78 78 Int**** getBaseViewShiftLUTI() { return m_aiBaseViewShiftLUT; } 79 80 #if QC_DEPTH_IV_MRG_F0125 81 Void copyCamParamForSlice( TComSlice* pcSlice ); 82 #endif 79 83 80 84 private:
Note: See TracChangeset for help on using the changeset viewer.