Changeset 56 in 3DVCSoftware for trunk/source/Lib/TLibRenderer
- Timestamp:
- 11 May 2012, 21:20:17 (13 years ago)
- Location:
- trunk/source/Lib/TLibRenderer
- Files:
-
- 2 added
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibRenderer/TRenFilter.cpp
r5 r56 33 33 34 34 35 36 35 #include "TRenImage.h" 37 36 #include "TRenFilter.h" 38 #include " ../TLibCommon/TComPredFilter.h"37 #include "TRenInterpFilter.h" 39 38 40 39 … … 73 72 } 74 73 // Set Threshold 75 riBlendZThres = ( max( abs(piInvZLUTLeft[0]- piInvZLUTLeft[255]), abs(piInvZLUTRight[0]- piInvZLUTRight[255]) ) * iBlendZThresPerc + 50) / 100;74 riBlendZThres = ( Max( abs(piInvZLUTLeft[0]- piInvZLUTLeft[255]), abs(piInvZLUTRight[0]- piInvZLUTRight[255]) ) * iBlendZThresPerc + 50) / 100; 76 75 } 77 76 … … 1084 1083 Void TRenFilter::sampleHorUp( Int iLog2HorSampFac, Pel* pcInputPlaneData, Int iInputStride, Int iInputWidth, Int iHeight, Pel* pcOutputPlaneData, Int iOutputStride ) 1085 1084 { 1086 T ComPredFilter cFilter;1085 TRenInterpFilter cFilter; 1087 1086 switch ( iLog2HorSampFac ) 1088 1087 { … … 1113 1112 case 1: 1114 1113 xDistributeArray( pcInputPlaneData, iInputStride , 1, 1, iInputWidth, iHeight , pcOutputPlaneData , iOutputStride, 2 , 1 ); 1115 xInterpHorChroma( pcInputPlaneData , iInputStride , 1, 1, iInputWidth, iHeight , pcOutputPlaneData +1, iOutputStride, 2 , 1, &T ComPredFilter::xCTI_Filter_VPS04_C_HAL );1114 xInterpHorChroma( pcInputPlaneData , iInputStride , 1, 1, iInputWidth, iHeight , pcOutputPlaneData +1, iOutputStride, 2 , 1, &TRenInterpFilter::xCTI_Filter_VPS04_C_HAL ); 1116 1115 break; 1117 1116 case 2: 1118 1117 xDistributeArray( pcInputPlaneData, iInputStride , 1, 1, iInputWidth, iHeight , pcOutputPlaneData , iOutputStride, 4 , 1 ); 1119 xInterpHorChroma( pcInputPlaneData , iInputStride , 1, 1, iInputWidth, iHeight , pcOutputPlaneData +1, iOutputStride, 4 , 1, &T ComPredFilter::xCTI_Filter_VP04_C_QUA0 );1120 xInterpHorChroma( pcInputPlaneData , iInputStride , 1, 1, iInputWidth, iHeight , pcOutputPlaneData +2, iOutputStride, 4 , 1, &T ComPredFilter::xCTI_Filter_VPS04_C_HAL );1121 xInterpHorChroma( pcInputPlaneData , iInputStride , 1, 1, iInputWidth, iHeight , pcOutputPlaneData +3, iOutputStride, 4 , 1, &T ComPredFilter::xCTI_Filter_VP04_C_QUA1 );1118 xInterpHorChroma( pcInputPlaneData , iInputStride , 1, 1, iInputWidth, iHeight , pcOutputPlaneData +1, iOutputStride, 4 , 1, &TRenInterpFilter::xCTI_Filter_VP04_C_QUA0 ); 1119 xInterpHorChroma( pcInputPlaneData , iInputStride , 1, 1, iInputWidth, iHeight , pcOutputPlaneData +2, iOutputStride, 4 , 1, &TRenInterpFilter::xCTI_Filter_VPS04_C_HAL ); 1120 xInterpHorChroma( pcInputPlaneData , iInputStride , 1, 1, iInputWidth, iHeight , pcOutputPlaneData +3, iOutputStride, 4 , 1, &TRenInterpFilter::xCTI_Filter_VP04_C_QUA1 ); 1122 1121 break; 1123 1122 } … … 1131 1130 case 0: 1132 1131 xDistributeArray( pcInputPlaneData-1, iInputStride , 1, 1, iInputWidth+3, iHeight , pcOutputPlaneData -2, iOutputStride, 2, 2 ); 1133 xInterpVerChroma( pcInputPlaneData-1, iInputStride , 1, 1, iInputWidth+3, iHeight , pcOutputPlaneData+1*iOutputStride-2, iOutputStride, 2 , 2, &T ComPredFilter::xCTI_Filter_VPS04_C_HAL );1134 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 2, 1, iInputWidth, iHeight*2 , pcOutputPlaneData+1 , iOutputStride, 2 , 1, &T ComPredFilter::xCTI_Filter_VPS04_C_HAL );1132 xInterpVerChroma( pcInputPlaneData-1, iInputStride , 1, 1, iInputWidth+3, iHeight , pcOutputPlaneData+1*iOutputStride-2, iOutputStride, 2 , 2, &TRenInterpFilter::xCTI_Filter_VPS04_C_HAL ); 1133 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 2, 1, iInputWidth, iHeight*2 , pcOutputPlaneData+1 , iOutputStride, 2 , 1, &TRenInterpFilter::xCTI_Filter_VPS04_C_HAL ); 1135 1134 break; 1136 1135 case 1: 1137 1136 xDistributeArray( pcInputPlaneData-1, iInputStride , 1, 1, iInputWidth+3, iHeight , pcOutputPlaneData -4, iOutputStride, 4 , 2 ); 1138 xInterpVerChroma( pcInputPlaneData-1, iInputStride , 1, 1, iInputWidth+3, iHeight , pcOutputPlaneData+1*iOutputStride-4, iOutputStride, 4 , 2, &T ComPredFilter::xCTI_Filter_VPS04_C_HAL );1139 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 4, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +1, iOutputStride, 4 , 1, &T ComPredFilter::xCTI_Filter_VP04_C_QUA0 );1140 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 4, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +2, iOutputStride, 4 , 1, &T ComPredFilter::xCTI_Filter_VPS04_C_HAL );1141 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 4, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +3, iOutputStride, 4 , 1, &T ComPredFilter::xCTI_Filter_VP04_C_QUA1 );1137 xInterpVerChroma( pcInputPlaneData-1, iInputStride , 1, 1, iInputWidth+3, iHeight , pcOutputPlaneData+1*iOutputStride-4, iOutputStride, 4 , 2, &TRenInterpFilter::xCTI_Filter_VPS04_C_HAL ); 1138 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 4, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +1, iOutputStride, 4 , 1, &TRenInterpFilter::xCTI_Filter_VP04_C_QUA0 ); 1139 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 4, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +2, iOutputStride, 4 , 1, &TRenInterpFilter::xCTI_Filter_VPS04_C_HAL ); 1140 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 4, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +3, iOutputStride, 4 , 1, &TRenInterpFilter::xCTI_Filter_VP04_C_QUA1 ); 1142 1141 break; 1143 1142 case 2: 1144 1143 xDistributeArray( pcInputPlaneData-1, iInputStride , 1, 1, iInputWidth+3, iHeight , pcOutputPlaneData -8, iOutputStride, 8 , 2 ); 1145 xInterpVerChroma( pcInputPlaneData-1, iInputStride , 1, 1, iInputWidth+3, iHeight , pcOutputPlaneData+1*iOutputStride-8, iOutputStride, 8 , 2, &T ComPredFilter::xCTI_Filter_VPS04_C_HAL );1146 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 8, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +1, iOutputStride, 8 , 1, &T ComPredFilter::xCTI_Filter_VP04_C_OCT0 );1147 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 8, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +2, iOutputStride, 8 , 1, &T ComPredFilter::xCTI_Filter_VP04_C_QUA0 );1148 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 8, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +3, iOutputStride, 8 , 1, &T ComPredFilter::xCTI_Filter_VP04_C_OCT1 );1149 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 8, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +4, iOutputStride, 8 , 1, &T ComPredFilter::xCTI_Filter_VPS04_C_HAL );1150 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 8, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +5, iOutputStride, 8 , 1, &T ComPredFilter::xCTI_Filter_VP04_C_OCT2 );1151 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 8, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +6, iOutputStride, 8 , 1, &T ComPredFilter::xCTI_Filter_VP04_C_QUA1 );1152 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 8, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +7, iOutputStride, 8 , 1, &T ComPredFilter::xCTI_Filter_VP04_C_OCT3 );1144 xInterpVerChroma( pcInputPlaneData-1, iInputStride , 1, 1, iInputWidth+3, iHeight , pcOutputPlaneData+1*iOutputStride-8, iOutputStride, 8 , 2, &TRenInterpFilter::xCTI_Filter_VPS04_C_HAL ); 1145 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 8, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +1, iOutputStride, 8 , 1, &TRenInterpFilter::xCTI_Filter_VP04_C_OCT0 ); 1146 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 8, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +2, iOutputStride, 8 , 1, &TRenInterpFilter::xCTI_Filter_VP04_C_QUA0 ); 1147 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 8, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +3, iOutputStride, 8 , 1, &TRenInterpFilter::xCTI_Filter_VP04_C_OCT1 ); 1148 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 8, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +4, iOutputStride, 8 , 1, &TRenInterpFilter::xCTI_Filter_VPS04_C_HAL ); 1149 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 8, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +5, iOutputStride, 8 , 1, &TRenInterpFilter::xCTI_Filter_VP04_C_OCT2 ); 1150 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 8, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +6, iOutputStride, 8 , 1, &TRenInterpFilter::xCTI_Filter_VP04_C_QUA1 ); 1151 xInterpHorChroma( pcOutputPlaneData , iOutputStride , 8, 1, iInputWidth, iHeight*2 , pcOutputPlaneData +7, iOutputStride, 8 , 1, &TRenInterpFilter::xCTI_Filter_VP04_C_OCT3 ); 1153 1152 break; 1154 1153 } … … 1232 1231 Pel* piSrcTmp; 1233 1232 1234 T ComPredFilter cFilter;1233 TRenInterpFilter cFilter; 1235 1234 for ( Int y = iHeight; y != 0; y-- ) 1236 1235 { … … 1252 1251 Pel* piSrcTmp; 1253 1252 1254 T ComPredFilter cFilter;1253 TRenInterpFilter cFilter; 1255 1254 for ( Int y = iHeight; y != 0; y-- ) 1256 1255 { -
trunk/source/Lib/TLibRenderer/TRenFilter.h
r5 r56 34 34 35 35 36 37 36 #ifndef __TRENFILTER__ 38 37 #define __TRENFILTER__ 39 38 40 #include " ../TLibCommon/CommonDef.h"39 #include "TLibCommon/CommonDef.h" 41 40 #include "TRenImage.h" 42 #include " ../TLibCommon/TComPredFilter.h"41 #include "TRenInterpFilter.h" 43 42 44 typedef Int (T ComPredFilter::*FpChromaIntFilt) ( Pel*, Int );43 typedef Int (TRenInterpFilter::*FpChromaIntFilt) ( Pel*, Int ); 45 44 46 45 class TRenFilter -
trunk/source/Lib/TLibRenderer/TRenImage.cpp
r5 r56 33 33 34 34 35 36 35 #include "TRenImage.h" 37 36 #include "TRenImagePlane.h" 38 37 #include "TRenFilter.h" 38 #include "assert.h" 39 39 40 40 template<typename T> … … 249 249 template Void TRenImage<Pel>::assign<Pel> (TRenImage<Pel>* ); 250 250 251 -
trunk/source/Lib/TLibRenderer/TRenImage.h
r5 r56 31 31 * THE POSSIBILITY OF SUCH DAMAGE. 32 32 */ 33 34 35 36 33 37 34 … … 99 96 }; 100 97 101 102 103 104 105 98 #endif // __TRENIMAGE__ 106 99 -
trunk/source/Lib/TLibRenderer/TRenImagePlane.cpp
r5 r56 33 33 34 34 35 36 35 #include "TRenImagePlane.h" 37 36 #include "TRenFilter.h" 37 #include <string.h> 38 38 /////// TRenImagePlane /////// 39 39 … … 80 80 81 81 template<typename T> 82 Void TRenImagePlane<T>::setData( T* pDataOrg, UInt uiWidthOrg, UInt uiHeightOrg, UInt uiStride, UInt uiPad, Bool bClean /*= false*/ ) 82 Void TRenImagePlane<T>::setData( T* pDataOrg, UInt uiWidthOrg, UInt uiHeightOrg, UInt uiStride, UInt uiPad, Bool bClean /*= false*/ ) 83 83 { 84 84 deleteData(); … … 492 492 for ( Int iPosY = 0; iPosY < iPad; iPosY++ ) 493 493 { 494 ::memcpy( pcData + (iPosY+1)*m_uiStride, pcData, sizeof(T)*(m_uiWidth + (iPad<<1)) );494 memcpy( pcData + (iPosY+1)*m_uiStride, pcData, sizeof(T)*(m_uiWidth + (iPad<<1)) ); 495 495 } 496 496 … … 498 498 for ( Int iPosY = 0; iPosY < iPad; iPosY++ ) 499 499 { 500 ::memcpy( pcData - (iPosY+1)*m_uiStride, pcData, sizeof(T)*(m_uiWidth + (iPad<<1)) );500 memcpy( pcData - (iPosY+1)*m_uiStride, pcData, sizeof(T)*(m_uiWidth + (iPad<<1)) ); 501 501 } 502 502 } -
trunk/source/Lib/TLibRenderer/TRenImagePlane.h
r5 r56 31 31 * THE POSSIBILITY OF SUCH DAMAGE. 32 32 */ 33 34 35 36 33 37 34 … … 69 66 UInt getStride () { return m_uiStride; }; 70 67 71 Void setData ( T* pDataOrg, UInt uiWidthOrg, UInt uiHeightOrg, UInt uiStride, UInt uiPad, Bool bClean /*= false*/ ); 68 Void setData ( T* pDataOrg, UInt uiWidthOrg, UInt uiHeightOrg, UInt uiStride, UInt uiPad, Bool bClean /*= false*/ ); 69 72 70 Void setData ( TRenImagePlane<T>* pcInPlane, Bool bClean ); 73 71 Void setClean( Bool bClean ); -
trunk/source/Lib/TLibRenderer/TRenModSetupStrParser.cpp
r5 r56 33 33 34 34 35 36 35 #include "TRenImage.h" 37 36 #include "TRenFilter.h" -
trunk/source/Lib/TLibRenderer/TRenModSetupStrParser.h
r5 r56 38 38 #include "../TLibCommon/TComPicYuv.h" 39 39 #include "../TLibCommon/TypeDef.h" 40 #include "../ ../App/TAppCommon/TAppComCamPara.h"40 #include "../TAppCommon/TAppComCamPara.h" 41 41 42 42 -
trunk/source/Lib/TLibRenderer/TRenModel.cpp
r5 r56 41 41 TRenModel::TRenModel() 42 42 { 43 m_iPad = 12;43 m_iPad = PICYUV_PAD; 44 44 m_iWidth = -1; 45 45 m_iHeight = -1; -
trunk/source/Lib/TLibRenderer/TRenModel.h
r5 r56 31 31 * THE POSSIBILITY OF SUCH DAMAGE. 32 32 */ 33 34 35 33 36 34 -
trunk/source/Lib/TLibRenderer/TRenSingleModel.cpp
r5 r56 45 45 m_iStride = -1; 46 46 m_iMode = -1; 47 m_iPad = 12;47 m_iPad = PICYUV_PAD; 48 48 m_iGapTolerance = -1; 49 49 m_bUseOrgRef = false; … … 448 448 m_iLastOccludedSPosFP = xRangeLeftL( m_iLastOccludedSPos ); 449 449 xExtrapolateMarginL ( iCurSPos, iEndChangePos, iError ); 450 iMinChangedSPos = Min( iMinChangedSPos, (iEndChangePos << m_iShiftPrec) - m_ppiCurLUT[0][ RemoveBitIncrement( Max(m_apiBaseDepthPelRow[m_iCurViewPos][iEndChangePos], m_piNewDepthData[iPosXinNewData] )) ]);450 iMinChangedSPos = Min( iMinChangedSPos, (iEndChangePos << m_iShiftPrec) - m_ppiCurLUT[0][ RemoveBitIncrement( max(m_apiBaseDepthPelRow[m_iCurViewPos][iEndChangePos], m_piNewDepthData[iPosXinNewData] )) ]); 451 451 iLastSPos = iCurSPos; 452 452 m_iLastDepth = m_iCurDepth; … … 466 466 { 467 467 // Get minimal changed sample position 468 iMinChangedSPos = Min( iMinChangedSPos, (iCurPosX << m_iShiftPrec) - m_ppiCurLUT[0][ RemoveBitIncrement( Max(m_apiBaseDepthPelRow[m_iCurViewPos][iCurPosX], m_piNewDepthData[iPosXinNewData] )) ]);468 iMinChangedSPos = Min( iMinChangedSPos, (iCurPosX << m_iShiftPrec) - m_ppiCurLUT[0][ RemoveBitIncrement( max(m_apiBaseDepthPelRow[m_iCurViewPos][iCurPosX], m_piNewDepthData[iPosXinNewData] )) ]); 469 469 Int iCurSPos = xShiftNewData(iCurPosX,iPosXinNewData); 470 470 m_iCurDepth = m_piNewDepthData[iPosXinNewData]; … … 541 541 m_iLastOccludedSPosFP = xRangeRightR( m_iLastOccludedSPos ); 542 542 xExtrapolateMarginR ( iCurSPos, iStartChangePos, iError ); 543 iMaxChangedSPos = Max( iMaxChangedSPos, (iStartChangePos << m_iShiftPrec) - m_ppiCurLUT[0][ RemoveBitIncrement( Max(m_apiBaseDepthPelRow[m_iCurViewPos][iStartChangePos], m_piNewDepthData[iPosXinNewData] )) ]);543 iMaxChangedSPos = max( iMaxChangedSPos, (iStartChangePos << m_iShiftPrec) - m_ppiCurLUT[0][ RemoveBitIncrement( max(m_apiBaseDepthPelRow[m_iCurViewPos][iStartChangePos], m_piNewDepthData[iPosXinNewData] )) ]); 544 544 iLastSPos = iCurSPos; 545 545 m_iLastDepth = m_iCurDepth; … … 559 559 { 560 560 // Get minimal changed sample position 561 iMaxChangedSPos = Max( iMaxChangedSPos, (iCurPosX << m_iShiftPrec) - m_ppiCurLUT[0][ RemoveBitIncrement( Max(m_apiBaseDepthPelRow[m_iCurViewPos][iCurPosX], m_piNewDepthData[iPosXinNewData] )) ]);561 iMaxChangedSPos = max( iMaxChangedSPos, (iCurPosX << m_iShiftPrec) - m_ppiCurLUT[0][ RemoveBitIncrement( max(m_apiBaseDepthPelRow[m_iCurViewPos][iCurPosX], m_piNewDepthData[iPosXinNewData] )) ]); 562 562 Int iCurSPos = xShiftNewData(iCurPosX,iPosXinNewData); 563 563 m_iCurDepth = m_piNewDepthData[iPosXinNewData]; … … 675 675 676 676 m_iThisDepth = m_iCurDepth; 677 for (Int iFillSPos = Max(0, xRangeLeftL(iCurSPos) ); iFillSPos <= min(xRangeRightL( iLastSPos ) ,m_iLastOccludedSPosFP-1); iFillSPos++ )677 for (Int iFillSPos = max(0, xRangeLeftL(iCurSPos) ); iFillSPos <= min(xRangeRightL( iLastSPos ) ,m_iLastOccludedSPosFP-1); iFillSPos++ ) 678 678 { 679 679 Int iDeltaCurSPos = (iFillSPos << m_iShiftPrec) - iCurSPos; … … 863 863 864 864 m_iThisDepth = m_iLastDepth; 865 for (Int iFillSPos = Max(iStartFillSPosFP+1,0); iFillSPos <= min(xRangeRightL( iLastSPos ), m_iLastOccludedSPosFP-1 ); iFillSPos++ )865 for (Int iFillSPos = max(iStartFillSPosFP+1,0); iFillSPos <= min(xRangeRightL( iLastSPos ), m_iLastOccludedSPosFP-1 ); iFillSPos++ ) 866 866 { 867 867 xSetShiftedPel( iLastPos << m_iShiftPrec, iFillSPos, REN_IS_HOLE, riError ); … … 907 907 // return; 908 908 909 Int iSPosFullPel = Max(0,xRangeLeftL(iCurSPos));909 Int iSPosFullPel = max(0,xRangeLeftL(iCurSPos)); 910 910 911 911 m_iThisDepth = m_iCurDepth; -
trunk/source/Lib/TLibRenderer/TRenSingleModel.h
r5 r56 33 33 34 34 35 36 37 35 #ifndef __TRENSINGLEMODEL__ 38 36 #define __TRENSINGLEMODEL__ … … 42 40 #include "../TLibCommon/TComPicYuv.h" 43 41 #include "../TLibCommon/TypeDef.h" 44 #include "../ ../App/TAppCommon/TAppComCamPara.h"42 #include "../TAppCommon/TAppComCamPara.h" 45 43 46 44 -
trunk/source/Lib/TLibRenderer/TRenTop.cpp
r5 r56 32 32 */ 33 33 34 35 34 #include "TRenImage.h" 36 35 #include "TRenTop.h" … … 152 151 PelImagePlane* pcTempPlane = new PelImagePlane(pcOrgInputImage->getPlane(0)->getWidth(), ( pcOrgInputImage->getPlane(0)->getHeight() >> 1), REN_LUMA_MARGIN ); 153 152 154 TRenFilter::sampleVerDown2Tap13(pcOrgInputImage->getPlane(0), pcTempPlane, 12);153 TRenFilter::sampleVerDown2Tap13(pcOrgInputImage->getPlane(0), pcTempPlane, PICYUV_PAD); 155 154 pcConvPlane = pcConvInputImage->getPlane(1); 156 155 … … 317 316 318 317 PelImage cLeftInputImage ( pcPicYuvVideoLeft ); 319 PelImage cLeftInputDepth ( pcPicYuvDepthLeft, true );318 PelImage cLeftInputDepth ( pcPicYuvDepthLeft, true ); 320 319 PelImage cRightInputImage ( pcPicYuvVideoRight ); 321 PelImage cRightInputDepth ( pcPicYuvDepthRight 320 PelImage cRightInputDepth ( pcPicYuvDepthRight, true ); 322 321 PelImage cOutputImage ( pcPicYuvSynthOut ); 323 322 … … 338 337 339 338 xConvertInputData( &cLeftInputImage, &cLeftInputDepth, m_pcLeftInputImage, m_pcLeftInputDepth ,false ); 340 xConvertInputData( &cRightInputImage, &cRightInputDepth, m_pcRightInputImage, m_pcRightInputDepth ,true );339 xConvertInputData( &cRightInputImage, &cRightInputDepth, m_pcRightInputImage, m_pcRightInputDepth ,true ); 341 340 342 341 // Render from Left View to Right view … … 386 385 387 386 xBlend(m_pcLeftOutputImage, m_pcRightOutputImage, m_pcLeftFilled, m_pcRightFilled, m_pcLeftOutputDepth, m_pcRightOutputDepth, m_pcOutputImage); 388 389 387 xConvertOutputData( m_pcOutputImage, &cOutputImage , false ); 388 390 389 xPostProcessImage ( &cOutputImage, &cOutputImage); 391 390 xCutMargin( &cOutputImage ); … … 2230 2229 if(m_aiBlkMoving != NULL ) delete[] m_aiBlkMoving; 2231 2230 } 2232 -
trunk/source/Lib/TLibRenderer/TRenTop.h
r5 r56 31 31 * THE POSSIBILITY OF SUCH DAMAGE. 32 32 */ 33 34 35 33 36 34 #ifndef __TRENTOP__
Note: See TracChangeset for help on using the changeset viewer.