Changeset 608 in 3DVCSoftware for trunk/source/Lib/TLibRenderer/TRenSingleModel.h
- Timestamp:
- 1 Sep 2013, 22:47:26 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibRenderer/TRenSingleModel.h
r210 r608 32 32 */ 33 33 34 #if !QC_MVHEVC_B0046 34 35 35 #ifndef __TRENSINGLEMODEL__ 36 36 #define __TRENSINGLEMODEL__ … … 51 51 #include <cstring> 52 52 53 53 #if H_3D_VSO 54 54 using namespace std; 55 55 56 57 #if HHI_VSO_RM_ASSERTIONS 56 #if H_3D_VSO_RM_ASSERTIONS 58 57 #define RM_AOT( exp ) AOT ( exp ) 59 58 #define RM_AOF( exp ) AOF ( exp ) … … 70 69 71 70 virtual ~TRenSingleModel() { } 72 #if LGE_VSO_EARLY_SKIP_A009371 #if H_3D_VSO_EARLY_SKIP 73 72 virtual Void create ( Int iMode, Int iWidth, Int iHeight, Int iShiftPrec, Int*** aaaiSubPelShiftTable, Int iHoleMargin, Bool bUseOrgRef, Int iBlendMode, Bool bEarlySkip ) = 0; 74 73 #else … … 82 81 83 82 // Set Data 84 #if def LGE_VSO_EARLY_SKIP_A009383 #if H_3D_VSO_EARLY_SKIP 85 84 virtual Void setDepth ( Int iViewPos, Int iStartPosX, Int iStartPosY, Int iWidth, Int iHeight, Int iStride, Pel* piNewData, Pel* piOrgData, Int iOrgStride ) = 0; 86 85 #else … … 90 89 91 90 // Get Distortion 92 #if def LGE_VSO_EARLY_SKIP_A009391 #if H_3D_VSO_EARLY_SKIP 93 92 virtual RMDist getDistDepth ( Int iViewPos, Int iStartPosX, Int iStartPosY, Int iWidth, Int iHeight, Int iStride, Pel* piNewData, Pel * piOrgData , Int iOrgStride)=0; 94 93 #else … … 109 108 // video 110 109 Pel aiY[5] ; // y-value 111 #if H HI_VSO_COLOR_PLANES110 #if H_3D_VSO_COLOR_PLANES 112 111 Pel aiU[5] ; // u-value 113 112 Pel aiV[5] ; // v-value … … 126 125 Pel iYRight ; 127 126 Pel iYBlended ; 128 #if H HI_VSO_COLOR_PLANES127 #if H_3D_VSO_COLOR_PLANES 129 128 Pel iULeft ; 130 129 Pel iURight ; … … 148 147 // reference 149 148 Pel iYRef ; 150 #if H HI_VSO_COLOR_PLANES149 #if H_3D_VSO_COLOR_PLANES 151 150 Pel iURef ; 152 151 Pel iVRef ; … … 161 160 162 161 // Create Model 163 #if LGE_VSO_EARLY_SKIP_A0093162 #if H_3D_VSO_EARLY_SKIP 164 163 Void create ( Int iMode, Int iWidth, Int iHeight, Int iShiftPrec, Int*** aaaiSubPelShiftTable, Int iHoleMargin, Bool bUseOrgRef, Int iBlendMode, Bool bEarlySkip ); 165 164 #else … … 172 171 Void setup ( TComPicYuv* pcOrgVideo, Int** ppiShiftLutLeft, Int** ppiBaseShiftLutLeft, Int** ppiShiftLutRight, Int** ppiBaseShiftLutRight, Int iDistToLeft, Bool bKeepReference ); 173 172 174 #if LGE_VSO_EARLY_SKIP_A0093173 #if H_3D_VSO_EARLY_SKIP 175 174 Void setDepth ( Int iViewPos, Int iStartPosX, Int iStartPosY, Int iWidth, Int iHeight, Int iStride, Pel* piNewData, Pel* piOrgData, Int iOrgStride ); 176 175 #else … … 180 179 181 180 // Get Distortion 182 #if def LGE_VSO_EARLY_SKIP_A0093181 #if H_3D_VSO_EARLY_SKIP 183 182 RMDist getDistDepth ( Int iViewPos, Int iStartPosX, Int iStartPosY, Int iWidth, Int iHeight, Int iStride, Pel* piNewData, Pel * piOrgData , Int iOrgStride); 184 183 #else … … 198 197 ///// Rendering ///// 199 198 // Left to Right 200 #if LGE_VSO_EARLY_SKIP_A0093199 #if H_3D_VSO_EARLY_SKIP 201 200 __inline Bool xDetectEarlySkipL ( Int iStartPosX, Int iStartPosY, Int iWidth, Int iHeight, Int iStride, Pel* piNewData,Pel* piOrgData, Int iOrgStride ); 202 201 __inline Bool xDetectEarlySkipR ( Int iStartPosX, Int iStartPosY, Int iWidth, Int iHeight, Int iStride, Pel* piNewData,Pel* piOrgData, Int iOrgStride ); … … 229 228 template<Bool bSet> __inline Void xSetShiftedPelBlend ( Int iSourcePos, Int iTargetSPos, Pel iFilled, RMDist& riError ); 230 229 231 #if H HI_VSO_COLOR_PLANES230 #if H_3D_VSO_COLOR_PLANES 232 231 __inline Void xGetBlendedValue ( Pel iYL, Pel iYR, Pel iUL, Pel iUR, Pel iVL, Pel iVR, Pel iDepthL, Pel iDepthR, Int iFilledL, Int iFilledR, Pel& riY, Pel& riU, Pel&riV ); 233 232 __inline Void xGetBlendedValueBM1 ( Pel iYL, Pel iYR, Pel iUL, Pel iUR, Pel iVL, Pel iVR, Pel iDepthL, Pel iDepthR, Int iFilledL, Int iFilledR, Pel& riY, Pel& riU, Pel&riV ); … … 260 259 __inline Void xSetInts ( Int* piPelSource , Int iSourceStride, Int iWidth, Int iHeight, Int iVal ); 261 260 262 #if H HI_VSO_COLOR_PLANES261 #if H_3D_VSO_COLOR_PLANES 263 262 Void xGetSampleStrTextPtrs ( Int iViewNum, Pel RenModelOutPels::*& rpiSrcY, Pel RenModelOutPels::*& rpiSrcU, Pel RenModelOutPels::*& rpiSrcV ); 264 263 #else … … 367 366 Int m_iShiftPrec; 368 367 Int m_iHoleMargin; 369 #if def LGE_VSO_EARLY_SKIP_A0093368 #if H_3D_VSO_EARLY_SKIP 370 369 Bool m_bEarlySkip; 371 370 #endif … … 385 384 386 385 //// Early Skip 387 #if def LGE_VSO_EARLY_SKIP_A0093386 #if H_3D_VSO_EARLY_SKIP 388 387 Bool* m_pbHorSkip; 389 388 #endif 390 389 }; 391 390 391 #endif // H_3D 392 392 #endif //__TRENSINGLEMODEL__ 393 #endif 394 393 394
Note: See TracChangeset for help on using the changeset viewer.