Changeset 461 in 3DVCSoftware
- Timestamp:
- 7 Jun 2013, 11:53:22 (11 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/CommonDef.h
r443 r461 58 58 59 59 #define HM_VERSION "6.1" 60 #define NV_VERSION "7.0 " ///< Current software version60 #define NV_VERSION "7.0r1" ///< Current software version 61 61 62 62 // ==================================================================================================================== -
trunk/source/Lib/TLibCommon/TComPrediction.cpp
r443 r461 1910 1910 if (depthPosX + (i<<2) + blocki < widthDepth - 1) 1911 1911 #endif 1912 iX++; 1912 1913 #if NCKU_BUG_FIX 1914 iX = (MERL_VSP_BLOCKSIZE_C0152-1); 1915 #else 1916 iX++; 1917 #endif 1913 1918 } 1914 1919 #if MERL_VSP_BLOCKSIZE_C0152 == 2 … … 1917 1922 if (depthPosY + (j<<2) + blockj < heightDepth - 1) 1918 1923 #endif 1919 depthTmp += depStride; 1924 #if NCKU_BUG_FIX 1925 depthTmp += depStride * (MERL_VSP_BLOCKSIZE_C0152-1); 1926 #else 1927 depthTmp += depStride; 1928 #endif 1920 1929 } 1921 1930 m_pDepth[i+j*dW] = maxV; … … 2222 2231 #endif 2223 2232 Int maxV = 0; 2233 #if NCKU_BUG_FIX 2234 for (Int blockj = 0; blockj < sH; blockj+=(sH-1)) 2235 #else 2224 2236 for (Int blockj = 0; blockj < sH; blockj++) 2237 #endif 2225 2238 { 2226 2239 Int iX = 0; 2240 #if NCKU_BUG_FIX 2241 for (Int blocki = 0; blocki < sW; blocki+=(sW-1)) 2242 #else 2227 2243 for (Int blocki = 0; blocki < sW; blocki++) 2244 #endif 2228 2245 { 2229 2246 if (maxV < depthTmp[iX]) 2230 2247 maxV = depthTmp[iX]; 2231 2248 if (depthPosX + i*sW + blocki < widthDepth - 1) 2232 iX++; 2249 #if NCKU_BUG_FIX 2250 iX = (sW-1); 2251 #else 2252 iX++; 2253 #endif 2233 2254 } 2234 2255 if (depthPosY + j*sH + blockj < heightDepth - 1) 2235 depthTmp += depStride; 2256 #if NCKU_BUG_FIX 2257 depthTmp += depStride * (sH-1); 2258 #else 2259 depthTmp += depStride; 2260 #endif 2236 2261 } 2237 2262 m_pDepth[i+j*dW] = maxV; -
trunk/source/Lib/TLibCommon/TypeDef.h
r443 r461 242 242 #endif // MTK_DVPREFINE_BVSP_BUG_FIX 1 243 243 #define MTK_DEPTH_TO_DISP_D0138 1 // JCT3V-D0138: Use max among four corners for DoNBDV and BVSP 244 #define NCKU_BUG_FIX 1 // NCKU bug fix on MTK_DEPTH_TO_DISP_D0138 244 245 245 246 #if MERL_General_Fix
Note: See TracChangeset for help on using the changeset viewer.