Changeset 81 in 3DVCSoftware for trunk/source/Lib/TLibRenderer/TRenTop.cpp
- Timestamp:
- 21 Jun 2012, 21:01:20 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibRenderer/TRenTop.cpp
r56 r81 1013 1013 if ((iPrevShiftedPos + (iStep >> 1) ) > iPrevShiftedPosCeiled ) 1014 1014 { 1015 #if HHI_FIX 1016 if ( !((iInterPolPos < (Int) 0) || (iInterPolPos >= iOutputWidth))) 1017 { 1018 1019 for( UInt uiCurPlane = 0; uiCurPlane < uiNumberOfPlanes; uiCurPlane++) 1020 { 1021 apcOutputData[uiCurPlane][iInterPolPos] = apcInputData[uiCurPlane][iPosX - iStep]; 1022 } 1023 pcFilledData[iInterPolPos] = REN_IS_FILLED; 1024 1025 } 1026 iInterPolPos++; 1027 } 1028 #else 1015 1029 if ( (iInterPolPos < (Int) 0) || (iInterPolPos >= iOutputWidth)) 1016 1030 { … … 1027 1041 iInterPolPos++; 1028 1042 } 1043 #endif 1029 1044 1030 1045 // Fill Disocclusion … … 1039 1054 apcOutputData[uiCurPlane][iInterPolPos] = apcInputData[uiCurPlane][iPosX]; 1040 1055 } 1041 1042 1056 } 1043 1057 } … … 1050 1064 { 1051 1065 iInterPolPos = iShiftedPosFloor >> m_iRelShiftLUTPrec; 1066 #if HHI_FIX 1067 if ( !((iInterPolPos < (Int) 0) || (iInterPolPos >= iOutputWidth))) 1068 { 1069 for( UInt uiCurPlane = 0; uiCurPlane < uiNumberOfPlanes; uiCurPlane++) 1070 { 1071 apcOutputData[uiCurPlane][iInterPolPos] = apcInputData[uiCurPlane][iPosX ]; 1072 } 1073 1074 pcFilledData[iInterPolPos] = REN_IS_FILLED; 1075 } 1076 #else 1052 1077 if ( (iInterPolPos < (Int) 0) || (iInterPolPos >= iOutputWidth)) 1053 1078 { … … 1063 1088 1064 1089 pcFilledData[iInterPolPos] = REN_IS_FILLED; 1090 #endif 1065 1091 } 1066 1092 }
Note: See TracChangeset for help on using the changeset viewer.