Changeset 296 in 3DVCSoftware for trunk/source/App/TAppDecoder/TAppDecTop.cpp
- Timestamp:
- 20 Feb 2013, 22:07:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/App/TAppDecoder/TAppDecTop.cpp
r210 r296 96 96 #endif 97 97 98 #if SONY_COLPIC_AVAILABILITY99 m_tDecTop[0]->setViewOrderIdx(0);100 #endif101 98 Int viewDepthId = 0; 102 99 Int previousViewDepthId = 0; … … 111 108 newPicture[i] = false; 112 109 #if FLEX_CODING_ORDER_M23723 113 #if FIX_FCO_COMP_WARNING114 110 m_fcoOrder[i] = ' '; 115 #else116 m_fcoOrder[i]=NULL;117 #endif118 111 #endif 119 112 … … 302 295 if( ( viewDepthId == 0 && (viewDepthId != previousViewDepthId) ) || m_tDecTop.size() == 1 ) 303 296 { 304 #if H HI_INTER_VIEW_RESIDUAL_PRED297 #if H3D_IVRP 305 298 for( Int i = 0; i < m_tDecTop.size(); i++ ) 306 299 { … … 376 369 if(newPicture[viewDepthId]) 377 370 { 378 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER379 371 xWriteOutput( pcListPic[viewDepthId], viewDepthId, nalu.m_temporalId ); 380 #else381 xWriteOutput( pcListPic[viewDepthId], viewDepthId );382 #endif383 372 } 384 373 } … … 447 436 } 448 437 449 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER450 438 Void TAppDecTop::xWriteOutput( TComList<TComPic*>* pcListPic, Int viewDepthId, UInt tId ) 451 #else452 Void TAppDecTop::xWriteOutput( TComList<TComPic*>* pcListPic, Int viewDepthId )453 #endif454 439 { 455 440 TComList<TComPic*>::iterator iterPic = pcListPic->begin(); … … 470 455 { 471 456 TComPic* pcPic = *(iterPic); 472 #if PIC_CROPPING473 457 TComSPS *sps = pcPic->getSlice(0)->getSPS(); 474 #endif475 458 476 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER477 459 if ( pcPic->getOutputMark() && (not_displayed > pcPic->getSlice(0)->getSPS()->getNumReorderPics(tId) && pcPic->getPOC() > m_pocLastDisplay[viewDepthId])) 478 #else479 if ( pcPic->getOutputMark() && (not_displayed > pcPic->getSlice(0)->getSPS()->getNumReorderFrames() && pcPic->getPOC() > m_pocLastDisplay[viewDepthId]))480 #endif481 460 { 482 461 // write to file … … 484 463 if ( m_pchReconFile ) 485 464 { 486 #if PIC_CROPPING487 465 m_tVideoIOYuvReconFile[viewDepthId]->write( pcPic->getPicYuvRec(), sps->getPicCropLeftOffset(), sps->getPicCropRightOffset(), sps->getPicCropTopOffset(), sps->getPicCropBottomOffset() ); 488 #else489 m_tVideoIOYuvReconFile[viewDepthId]->write( pcPic->getPicYuvRec(), pcPic->getSlice(0)->getSPS()->getPad() );490 #endif491 466 } 492 467 … … 533 508 { 534 509 TComPic* pcPic = *(iterPic); 535 #if PIC_CROPPING536 510 TComSPS *sps = pcPic->getSlice(0)->getSPS(); 537 #endif538 511 539 512 if ( pcPic->getOutputMark() ) … … 542 515 if ( m_pchReconFile ) 543 516 { 544 #if PIC_CROPPING545 517 m_tVideoIOYuvReconFile[viewDepthId]->write( pcPic->getPicYuvRec(), sps->getPicCropLeftOffset(), sps->getPicCropRightOffset(), sps->getPicCropTopOffset(), sps->getPicCropBottomOffset() ); 546 #else547 m_tVideoIOYuvReconFile[viewDepthId]->write( pcPic->getPicYuvRec(), pcPic->getSlice(0)->getSPS()->getPad() );548 #endif549 518 } 550 519 … … 764 733 #endif 765 734 } 735 736 #if MERL_VSP_C0152 737 Void TAppDecTop::setBWVSPLUT(TComSlice* pcSlice, Int iCodedViewIdx, Int iCurPoc) 738 { 739 //first view does not have VSP 740 if((iCodedViewIdx == 0)) return; 741 742 AOT( iCodedViewIdx <= 0); 743 //AOT( iCodedViewIdx >= m_iNumberOfViews ); 744 Int iNeighborViewId = 0; 745 // Int* piShiftLUT = bRenderFromLeft ? m_cCamParsCollector.getBaseViewShiftLUTI()[iCodedViewIdx][iNeighborViewId][0] : m_cCamParsCollector.getBaseViewShiftLUTI()[iNeighborViewId][iCodedViewIdx][0]; 746 Int* piShiftLUT = m_cCamParsCollector.getBaseViewShiftLUTI()[iNeighborViewId][iCodedViewIdx][0]; 747 pcSlice->setBWVSPLUTParam(piShiftLUT, 2-LOG2_DISP_PREC_LUT ); 748 } 749 #endif 750 766 751 //! \}
Note: See TracChangeset for help on using the changeset viewer.