Changeset 100 in 3DVCSoftware for trunk/source/Lib/TLibRenderer/TRenTop.cpp
- Timestamp:
- 9 Aug 2012, 12:53:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibRenderer/TRenTop.cpp
r81 r100 1013 1013 if ((iPrevShiftedPos + (iStep >> 1) ) > iPrevShiftedPosCeiled ) 1014 1014 { 1015 #if HHI_FIX1016 1015 if ( !((iInterPolPos < (Int) 0) || (iInterPolPos >= iOutputWidth))) 1017 1016 { … … 1026 1025 iInterPolPos++; 1027 1026 } 1028 #else1029 if ( (iInterPolPos < (Int) 0) || (iInterPolPos >= iOutputWidth))1030 {1031 // skip Interpolation if Interpolation position is outside frame1032 iPrevShiftedPos = iShiftedPos;1033 continue;1034 };1035 1036 for( UInt uiCurPlane = 0; uiCurPlane < uiNumberOfPlanes; uiCurPlane++)1037 {1038 apcOutputData[uiCurPlane][iInterPolPos] = apcInputData[uiCurPlane][iPosX - iStep];1039 }1040 pcFilledData[iInterPolPos] = REN_IS_FILLED;1041 iInterPolPos++;1042 }1043 #endif1044 1027 1045 1028 // Fill Disocclusion … … 1064 1047 { 1065 1048 iInterPolPos = iShiftedPosFloor >> m_iRelShiftLUTPrec; 1066 #if HHI_FIX1067 1049 if ( !((iInterPolPos < (Int) 0) || (iInterPolPos >= iOutputWidth))) 1068 1050 { … … 1074 1056 pcFilledData[iInterPolPos] = REN_IS_FILLED; 1075 1057 } 1076 #else1077 if ( (iInterPolPos < (Int) 0) || (iInterPolPos >= iOutputWidth))1078 {1079 // skip Interpolation if Interpolation position is outside frame1080 iPrevShiftedPos = iShiftedPos;1081 continue;1082 };1083 1084 for( UInt uiCurPlane = 0; uiCurPlane < uiNumberOfPlanes; uiCurPlane++)1085 {1086 apcOutputData[uiCurPlane][iInterPolPos] = apcInputData[uiCurPlane][iPosX ];1087 }1088 1089 pcFilledData[iInterPolPos] = REN_IS_FILLED;1090 #endif1091 1058 } 1092 1059 } … … 1959 1926 for( Int iCurPosX = 0; iCurPosX < 4; iCurPosX++) 1960 1927 { 1961 iSAD += abs( pcVideoLastDataBlk[iCurPosX] - pcVideoCurDataBlk[iCurPosX] ); 1928 iSAD += abs( pcVideoLastDataBlk[iCurPosX] - pcVideoCurDataBlk[iCurPosX] ); //SAD 1962 1929 } 1963 1930 pcVideoLastDataBlk += iVideoLastStride;
Note: See TracChangeset for help on using the changeset viewer.