Changeset 102 in 3DVCSoftware for trunk/source/Lib/TLibEncoder
- Timestamp:
- 11 Aug 2012, 14:39:19 (12 years ago)
- Location:
- trunk/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/TEncGOP.cpp
r101 r102 461 461 462 462 #if SAIT_VSO_EST_A0033 463 m_pcRdCost->setVideoRecPicYuv( m_pcEncTop->getEncTop()-> xGetPicYuvFromViewTemp( pcSlice->getViewId(), pcSlice->getPOC(), false, true ) );464 m_pcRdCost->setDepthPicYuv ( m_pcEncTop->getEncTop()-> xGetPicYuvFromViewTemp( pcSlice->getViewId(), pcSlice->getPOC(), true, false ) );463 m_pcRdCost->setVideoRecPicYuv( m_pcEncTop->getEncTop()->getPicYuvFromView( pcSlice->getViewId(), pcSlice->getPOC(), false, true ) ); 464 m_pcRdCost->setDepthPicYuv ( m_pcEncTop->getEncTop()->getPicYuvFromView( pcSlice->getViewId(), pcSlice->getPOC(), true, false ) ); 465 465 #endif 466 466 -
trunk/source/Lib/TLibEncoder/TEncSlice.cpp
r101 r102 42 42 #endif 43 43 #include <math.h> 44 #if SAIT_VSO_EST_A003345 extern Double g_dDispCoeff;46 #endif47 44 48 45 //! \ingroup TLibEncoder … … 376 373 #endif 377 374 375 #if SAIT_VSO_EST_A0033 376 m_pcRdCost->setDisparityCoeff( m_pcCfg->getDispCoeff() ); 377 #endif 378 378 379 #if RDOQ_CHROMA_LAMBDA 379 380 // for RDOQ … … 727 728 if( m_pcCfg->getUseVSO() ) 728 729 { 729 m_pcRdCost->setDisparityCoeff( g_dDispCoeff ); // Temp. code!!!730 //printf( "Disp Coeff : %3.4f \n", m_pcRdCost->getDisparityCoeff() );731 730 732 731 Int frameWidth = m_pcCfg->getSourceWidth(); … … 739 738 for( Int y = 0 ; y < m_pcCfg->getSourceHeight() ; y++ ) 740 739 { 741 pVideoRec[- 4] = pVideoRec[-3] = pVideoRec[-2] = pVideoRec[-1] = pVideoRec[0];742 pVideoRec[frameWidth +3] = pVideoRec[frameWidth+2] = pVideoRec[frameWidth+1] = pVideoRec[frameWidth] = pVideoRec[frameWidth-1];743 pDepthOrg[- 4] = pDepthOrg[-3] = pDepthOrg[-2] = pDepthOrg[-1] = pDepthOrg[0];744 pDepthOrg[frameWidth +3] = pDepthOrg[frameWidth+2] = pDepthOrg[frameWidth+1] = pDepthOrg[frameWidth] = pDepthOrg[frameWidth-1];740 pVideoRec[-1] = pVideoRec[0]; 741 pVideoRec[frameWidth] = pVideoRec[frameWidth-1]; 742 pDepthOrg[-1] = pDepthOrg[0]; 743 pDepthOrg[frameWidth] = pDepthOrg[frameWidth-1]; 745 744 746 745 pVideoRec += iVideoRecStride; … … 749 748 } 750 749 #endif 750 751 751 TEncTop* pcEncTop = (TEncTop*) m_pcCfg; 752 752 TEncSbac**** ppppcRDSbacCoders = pcEncTop->getRDSbacCoders();
Note: See TracChangeset for help on using the changeset viewer.