Changeset 1026 in 3DVCSoftware
- Timestamp:
- 29 Jul 2014, 04:26:24 (10 years ago)
- Location:
- branches/HTM-11.2-dev2-Samsung
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-11.2-dev2-Samsung/source/Lib/TLibCommon/TComPrediction.cpp
r1011 r1026 2166 2166 Int iRecStride = ( eType == TEXT_LUMA ) ? pRecPic->getStride() : pRecPic->getCStride(); 2167 2167 Int iRefStride = ( eType == TEXT_LUMA ) ? pRefPic->getStride() : pRefPic->getCStride(); 2168 #if SEC_IC_NEIGHBOR_CLIP_I0080 2169 Int iRefOffset, iHor, iVer; 2170 #else 2168 2171 Int iCUPelX, iCUPelY, iRefX, iRefY, iRefOffset, iHor, iVer; 2169 2172 2170 2173 iCUPelX = pcCU->getCUPelX() + g_auiRasterToPelX[g_auiZscanToRaster[pcCU->getZorderIdxInCU()]]; 2171 2174 iCUPelY = pcCU->getCUPelY() + g_auiRasterToPelY[g_auiZscanToRaster[pcCU->getZorderIdxInCU()]]; 2175 #endif 2172 2176 iHor = pcCU->getSlice()->getIsDepth() ? pMv->getHor() : ( ( pMv->getHor() + 2 ) >> 2 ); 2173 2177 iVer = pcCU->getSlice()->getIsDepth() ? pMv->getVer() : ( ( pMv->getVer() + 2 ) >> 2 ); 2178 #if !SEC_IC_NEIGHBOR_CLIP_I0080 2174 2179 iRefX = iCUPelX + iHor; 2175 2180 iRefY = iCUPelY + iVer; 2181 #endif 2176 2182 if( eType != TEXT_LUMA ) 2177 2183 { … … 2189 2195 Int precShift = std::max(0, (( eType == TEXT_LUMA ) ? g_bitDepthY : g_bitDepthC) - 12); 2190 2196 2197 #if SEC_IC_NEIGHBOR_CLIP_I0080 2198 if( pcCU->getPUAbove( uiTmpPartIdx, pcCU->getZorderIdxInCU() ) ) 2199 #else 2191 2200 if( pcCU->getPUAbove( uiTmpPartIdx, pcCU->getZorderIdxInCU() ) && iCUPelY > 0 && iRefY > 0 ) 2201 #endif 2192 2202 { 2193 2203 iRefOffset = iHor + iVer * iRefStride - iRefStride; … … 2219 2229 } 2220 2230 2221 2231 #if SEC_IC_NEIGHBOR_CLIP_I0080 2232 if( pcCU->getPULeft( uiTmpPartIdx, pcCU->getZorderIdxInCU() ) ) 2233 #else 2222 2234 if( pcCU->getPULeft( uiTmpPartIdx, pcCU->getZorderIdxInCU() ) && iCUPelX > 0 && iRefX > 0 ) 2235 #endif 2223 2236 { 2224 2237 iRefOffset = iHor + iVer * iRefStride - 1; -
branches/HTM-11.2-dev2-Samsung/source/Lib/TLibCommon/TypeDef.h
r1025 r1026 122 122 // SEC_IC_ARP_SIG_G0072, Disabling IC when ARP is enabled, option 1 in JCT3V-G0072, part 2 in JCT3V-G0121 123 123 // MTK_LOW_LATENCY_IC_ENCODING_H0086 Low-latency IC encoding in JCT3V-H0086 124 125 #define SEC_IC_NEIGHBOR_CLIP_I0080 1 // Clipping of neighboring sample position, JCT3V-I0080 124 126 125 127
Note: See TracChangeset for help on using the changeset viewer.