Changeset 1412 in 3DVCSoftware for branches/HTM-16.2-dev/source/Lib/TLibRenderer/TRenModel.cpp
- Timestamp:
- 12 Apr 2018, 11:12:21 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-16.2-dev/source/Lib/TLibRenderer/TRenModel.cpp
r1405 r1412 418 418 419 419 #if H_3D_VSO_EARLY_SKIP 420 #if RM_INIT_FIX421 420 m_apcRenModels[iModelNum]->create( iMode ,m_iWidth, m_iHeight, m_iShiftPrec, m_aaaiSubPelShiftLut, m_iHoleMargin, bUseOrgRef, ( iMode != 2 ) ? BLEND_NONE : iBlendMode , m_bLimOutput, m_bEarlySkip ); 421 422 422 #else 423 m_apcRenModels[iModelNum]->create( iMode ,m_iWidth, m_iHeight, m_iShiftPrec, m_aaaiSubPelShiftLut, m_iHoleMargin, bUseOrgRef, iBlendMode, m_bLimOutput, m_bEarlySkip );424 #endif425 426 #else427 428 #if RM_INIT_FIX429 423 m_apcRenModels[iModelNum]->create( iMode ,m_iWidth, m_iHeight, m_iShiftPrec, m_aaaiSubPelShiftLut, m_iHoleMargin, bUseOrgRef, ( iMode != 2 ) ? BLEND_NONE : iBlendMode, m_bLimOutput ); 430 #else431 m_apcRenModels[iModelNum]->create( iMode ,m_iWidth, m_iHeight, m_iShiftPrec, m_aaaiSubPelShiftLut, m_iHoleMargin, bUseOrgRef, iBlendMode, m_bLimOutput );432 #endif433 424 #endif 434 425 … … 507 498 508 499 // Render 509 #if !RM_FIX_SETUP510 m_apcRenModels[iModelNum]->setupLutAndRef( pcPicYuvRefView, ppiShiftLutLeft, ppiBaseShiftLutLeft, ppiShiftLutRight, ppiBaseShiftLutRight, iDistToLeft, bAnyRefFromOrg );511 512 // Setup with actual data513 for (Int iBaseViewIdx = 0; iBaseViewIdx < m_iNumOfBaseViews; iBaseViewIdx++ )514 {515 if ( m_aaeBaseViewPosInModel[iBaseViewIdx][iModelNum] != VIEWPOS_INVALID )516 {517 m_apcRenModels[iModelNum]->setLRView(518 m_aaeBaseViewPosInModel[iBaseViewIdx][iModelNum],519 m_aapiCurVideoPel [iBaseViewIdx],520 m_aaiCurVideoStrides [iBaseViewIdx],521 m_apiCurDepthPel [iBaseViewIdx],522 m_aiCurDepthStrides [iBaseViewIdx]523 );524 }525 }526 // Render initial state527 AOT( m_bLimOutput && m_aaeBaseViewPosInModel[ iEncViewSIdx ][iModelNum] == VIEWPOS_INVALID );528 m_apcRenModels[iModelNum]->setupInitialState( m_bLimOutput ? m_aaeBaseViewPosInModel[ iEncViewSIdx ][iModelNum] : VIEWPOS_INVALID );529 530 #else531 500 m_apcRenModels[iModelNum]->setupLut( ppiShiftLutLeft, ppiBaseShiftLutLeft, ppiShiftLutRight, ppiBaseShiftLutRight, iDistToLeft ); 532 501 … … 587 556 m_apcRenModels[iModelNum]->setLimOutStruct( (curViewPosInModel == VIEWPOS_RIGHT) ? VIEWPOS_LEFT : VIEWPOS_RIGHT ); 588 557 } 589 #endif590 558 } 591 559
Note: See TracChangeset for help on using the changeset viewer.