Changeset 189 in 3DVCSoftware for trunk/source/Lib/TLibRenderer/TRenSingleModel.h
- Timestamp:
- 18 Nov 2012, 22:11:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibRenderer/TRenSingleModel.h
r124 r189 69 69 public: 70 70 71 #if FIX_VIRT_DESTRUCTOR72 71 virtual ~TRenSingleModel() { } 73 #endif74 72 #if LGE_VSO_EARLY_SKIP_A0093 75 73 virtual Void create ( Int iMode, Int iWidth, Int iHeight, Int iShiftPrec, Int*** aaaiSubPelShiftTable, Int iHoleMargin, Bool bUseOrgRef, Int iBlendMode, Bool bEarlySkip ) = 0; … … 80 78 // Set Frame dependent data 81 79 virtual Void setLRView ( Int iViewPos, Pel** apiCurVideoPel, Int* aiCurVideoStride, Pel* piCurDepthPel, Int iCurDepthStride ) = 0; 82 #if FIX_VSO_SETUP83 80 virtual Void setupPart ( UInt uiHorOffset, Int iUsedHeight ) = 0; 84 81 virtual Void setup ( TComPicYuv* pcOrgVideo, Int** ppiShiftLutLeft, Int** ppiBaseShiftLutLeft, Int** ppiShiftLutRight, Int** ppiBaseShiftLutRight, Int iDistToLeft, Bool bKeepReference ) = 0; 85 #else86 virtual Void setup ( TComPicYuv* pcOrgVideo, Int** ppiShiftLutLeft, Int** ppiBaseShiftLutLeft, Int** ppiShiftLutRight, Int** ppiBaseShiftLutRight, Int iDistToLeft, Bool bKeepReference, UInt uiHorOffset ) = 0;87 #endif88 82 89 83 // Set Data … … 103 97 virtual RMDist getDistVideo ( Int iViewPos, Int iPlane, Int iStartPosX, Int iStartPosY, Int iWidth, Int iHeight, Int iStride, Pel* piNewData ) = 0; 104 98 105 #if FIX_VSO_SETUP106 99 virtual Void getSynthVideo ( Int iViewPos, TComPicYuv* pcPicYuv ) = 0; 107 100 virtual Void getSynthDepth ( Int iViewPos, TComPicYuv* pcPicYuv ) = 0; 108 101 virtual Void getRefVideo ( Int iViewPos, TComPicYuv* pcPicYuv ) = 0; 109 #else110 virtual Void getSynthVideo ( Int iViewPos, TComPicYuv* pcPicYuv, UInt uiHorOffset ) = 0;111 virtual Void getSynthDepth ( Int iViewPos, TComPicYuv* pcPicYuv, UInt uiHorOffset ) = 0;112 virtual Void getRefVideo ( Int iViewPos, TComPicYuv* pcPicYuv, UInt uiHorOffset ) = 0;113 #endif114 102 }; 115 103 … … 181 169 // Set Frame dependent data 182 170 Void setLRView ( Int iViewPos, Pel** apiCurVideoPel, Int* aiCurVideoStride, Pel* piCurDepthPel, Int iCurDepthStride ); 183 #if FIX_VSO_SETUP184 171 Void setupPart ( UInt uiHorOffset, Int uiUsedHeight ); 185 172 Void setup ( TComPicYuv* pcOrgVideo, Int** ppiShiftLutLeft, Int** ppiBaseShiftLutLeft, Int** ppiShiftLutRight, Int** ppiBaseShiftLutRight, Int iDistToLeft, Bool bKeepReference ); 186 #else187 Void setup ( TComPicYuv* pcOrgVideo, Int** ppiShiftLutLeft, Int** ppiBaseShiftLutLeft, Int** ppiShiftLutRight, Int** ppiBaseShiftLutRight, Int iDistToLeft, Bool bKeepReference, UInt uiHorOffset );188 #endif189 173 190 174 #if LGE_VSO_EARLY_SKIP_A0093 … … 203 187 RMDist getDistVideo ( Int iViewPos, Int iPlane, Int iStartPosX, Int iStartPosY, Int iWidth, Int iHeight, Int iStride, Pel* piNewData ); 204 188 205 #if FIX_VSO_SETUP206 189 Void getSynthVideo ( Int iViewPos, TComPicYuv* pcPicYuv ); 207 190 Void getSynthDepth ( Int iViewPos, TComPicYuv* pcPicYuv ); 208 191 Void getRefVideo ( Int iViewPos, TComPicYuv* pcPicYuv ); 209 #else210 Void getSynthVideo ( Int iViewPos, TComPicYuv* pcPicYuv, UInt uiHorOffset );211 Void getSynthDepth ( Int iViewPos, TComPicYuv* pcPicYuv, UInt uiHorOffset );212 Void getRefVideo ( Int iViewPos, TComPicYuv* pcPicYuv, UInt uiHorOffset );213 #endif214 192 215 193 private: … … 293 271 Void xInitSampleStructs (); 294 272 Void xSetStructSynthViewAsRefView (); 295 #if FIX_VSO_SETUP296 273 Void xCopy2PicYuv ( Pel** ppiSrcVideoPel, Int* piStrides, TComPicYuv* rpcPicYuvTarget ); 297 #else298 Void xCopy2PicYuv ( Pel** ppiSrcVideoPel, Int* piStrides, TComPicYuv* rpcPicYuvTarget, UInt uiHorOffset );299 #endif300 274 301 275 template< typename S, typename T> 302 276 Void xCopyFromSampleStruct ( S* ptSource , Int iSourceStride, T S::* ptSourceElement, T* ptTarget, Int iTargetStride, Int iWidth, Int iHeight ) 303 277 { 304 #if FIX_VSO_SETUP305 278 AOT( iWidth != m_iWidth ); 306 279 for (Int iPosY = 0; iPosY < iHeight; iPosY++) 307 #else308 for (Int iPosY = 0; iPosY < m_iHeight; iPosY++)309 #endif310 280 { 311 281 for (Int iPosX = 0; iPosX < m_iWidth; iPosX++) … … 321 291 Void xCopyToSampleStruct ( T* ptSource , Int iSourceStride, S* ptTarget, Int iTargetStride, T S::* ptSourceElement, Int iWidth, Int iHeight ) 322 292 { 323 #if FIX_VSO_SETUP324 293 AOT( iWidth != m_iWidth ); 325 294 for (Int iPosY = 0; iPosY < iHeight; iPosY++) 326 #else327 for (Int iPosY = 0; iPosY < m_iHeight; iPosY++)328 #endif329 295 { 330 296 for (Int iPosX = 0; iPosX < m_iWidth; iPosX++) … … 344 310 Int m_iStride; 345 311 Int m_iPad; 346 #if FIX_VSO_SETUP347 312 Int m_iUsedHeight; 348 313 Int m_iHorOffset; 349 #endif350 314 351 315 Int m_iSampledWidth; 352 #if FIX_VSO_SETUP353 #else354 Int m_iSampledHeight;355 #endif356 316 Int m_iSampledStride; 357 317
Note: See TracChangeset for help on using the changeset viewer.