Changeset 422 in 3DVCSoftware
- Timestamp:
- 20 May 2013, 01:51:15 (12 years ago)
- Location:
- branches/HTM-6.2-dev2-MERL/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-6.2-dev2-MERL/source/Lib/TLibCommon/TComDataCU.cpp
r419 r422 3862 3862 cDisInfo.m_acMvCandNoRef[0] = getDvInfo(uiAbsPartIdx).m_acMvCandNoRef[0]; 3863 3863 #endif 3864 #if MERL_General_Fix 3864 3865 #if MERL_VSP_C0152 3865 3866 #if MERL_VSP_NBDV_RefVId_Fix_D0166 3866 3867 cDisInfo.m_aListIdx[0] = getDvInfo(uiAbsPartIdx).m_aListIdx[0]; 3867 3868 cDisInfo.m_aRefIdx[0] = getDvInfo(uiAbsPartIdx).m_aRefIdx[0]; 3869 #endif 3868 3870 #endif 3869 3871 #endif … … 5380 5382 5381 5383 TComPic* picDepth = NULL; 5384 #if MERL_General_Fix 5382 5385 #if MERL_VSP_C0152 5383 5386 #if MERL_VSP_NBDV_RefVId_Fix_D0166 … … 5388 5391 #else 5389 5392 picDepth = getSlice()->getRefPicBaseDepth(); 5393 #endif 5390 5394 #endif 5391 5395 #endif -
branches/HTM-6.2-dev2-MERL/source/Lib/TLibCommon/TComPrediction.cpp
r420 r422 50 50 #endif 51 51 52 #if MERL_General_Fix 52 53 #if MERL_VSP_C0152 53 54 #if MERL_CVSP_D0165 54 55 Int TComPrediction::m_iRangeLuma[12] = {14, 34, 21, 15, 36, 26, 21, 49, 41, 36, 80, 72}; 55 56 Int TComPrediction::m_iRangeChroma[12] = { 2, 8, 5, 4, 11, 9, 8, 19, 17, 15, 34, 32}; 57 #endif 56 58 #endif 57 59 #endif … … 1864 1866 #endif 1865 1867 1868 #if MERL_General_Fix 1866 1869 #if MERL_VSP_BLOCKSIZE_C0152 == 1 1867 1870 #if MERL_CVSP_D0165 … … 1934 1937 #endif 1935 1938 #endif 1939 #endif 1936 1940 1937 1941 #if MERL_VSP_BLOCKSIZE_C0152 != 1 … … 2062 2066 Int dstStrideBlock = dstStride * nTxtPerDepthY; 2063 2067 Int depStrideBlock = depStride * nDepthPerTxtY; 2068 2069 #if !MERL_Bi_VSP_D0166 2070 if (isDepth) 2071 { 2072 // DT: Since the call for this function is redundant, .. 2073 for (Int y = 0; y < sizeY; y++) 2074 { 2075 for (Int x = 0; x < sizeX; x++) 2076 { 2077 dstCb[x] = 128; 2078 dstCr[x] = 128; 2079 } 2080 dstCb += dstStride; 2081 dstCr += dstStride; 2082 } 2083 return; 2084 } 2085 #endif 2064 2086 2065 2087 if ( widthChroma > widthDepth ) // We assume … … 2150 2172 2151 2173 2174 #if MERL_General_Fix 2152 2175 #if MERL_VSP_BLOCKSIZE_C0152 == 1 2153 2176 #if MERL_CVSP_D0165 … … 2216 2239 #endif 2217 2240 #endif 2241 #endif 2218 2242 2219 2243 // (sizeX, sizeY) is Chroma block size -
branches/HTM-6.2-dev2-MERL/source/Lib/TLibCommon/TComPrediction.h
r420 r422 115 115 ); 116 116 117 #if !MERL_General_Fix 118 #if MERL_VSP_C0152 119 Void xPredInterUniBWVSP ( TComDataCU* pcCU, UInt uiPartAddr, UInt uiAbsPartIdx, Int iWidth, Int iHeight, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Int iPartIdx, Bool bPrdDepthMap, UInt uiSubSampExpX, UInt uiSubSampExpY, Bool bi=false ); 120 Void xPredInterBiBWVSP ( TComDataCU* pcCU, UInt uiPartAddr, UInt uiAbsPartIdx, Int iWidth, Int iHeight, UInt uiSubSampExpX, UInt uiSubSampExpY, TComYuv*& rpcYuvPred, Int iPartIdx, Bool bPrdDepthMap ); 121 #endif 122 #endif 123 117 124 #if DEPTH_MAP_GENERATION 118 125 Void xWeightedAveragePdm ( TComDataCU* pcCU, TComYuv* pcYuvSrc0, TComYuv* pcYuvSrc1, Int iRefIdx0, Int iRefIdx1, UInt uiPartAddr, Int iWidth, Int iHeight, TComYuv*& rpcYuvDst, UInt uiSubSampExpX, UInt uiSubSampExpY ); … … 152 159 Void xWeightedAverage ( TComDataCU* pcCU, TComYuv* pcYuvSrc0, TComYuv* pcYuvSrc1, Int iRefIdx0, Int iRefIdx1, UInt uiPartAddr, Int iWidth, Int iHeight, TComYuv*& rpcYuvDst ); 153 160 #endif 154 #if MERL_VSP_C0152 155 Void xPredInterVSPBlk(TComDataCU* pcCU, UInt uiPartAddr, UInt uiAbsPartIdx, Int iWidth, Int iHeight, TComMv cMv, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Bool bi 161 162 #if MERL_VSP_C0152 156 163 #if !MERL_Bi_VSP_D0166 157 , Int vspIdx 158 #endif 159 ); 160 #if MERL_Bi_VSP_D0166 164 Void xPredInterLumaBlkFromDM ( TComPicYuv *refPic, TComPicYuv *pPicBaseDepth, Int* pShiftLUT, Int iShiftPrec, TComMv *mv, UInt partAddr,Int posX, Int posY, Int sizeX, Int sizeY, Bool isDepth, Int vspIdx 165 , TComYuv *&dstPic ); 166 Void xPredInterChromaBlkFromDM ( TComPicYuv *refPic, TComPicYuv *pPicBaseDepth, Int* pShiftLUT, Int iShiftPrec, TComMv *mv, UInt partAddr,Int posX, Int posY, Int sizeX, Int sizeY, Bool isDepth, Int vspIdx 167 , TComYuv *&dstPic ); 168 #else 161 169 TComPic* xGetVspRefTxt(TComDataCU* pcCU, UInt uiPartAddr, RefPicList eRefPicList); 162 170 Void xPredInterLumaBlkFromDM ( TComPicYuv *refPic, TComPicYuv *pPicBaseDepth, Int* pShiftLUT, Int iShiftPrec, TComMv *mv, UInt partAddr,Int posX, Int posY, Int sizeX, Int sizeY, Bool isDepth, … … 164 172 Void xPredInterChromaBlkFromDM ( TComPicYuv *refPic, TComPicYuv *pPicBaseDepth, Int* pShiftLUT, Int iShiftPrec, TComMv *mv, UInt partAddr,Int posX, Int posY, Int sizeX, Int sizeY, Bool isDepth, 165 173 TComYuv *&dstPic, Bool bi); 166 #else 167 Void xPredInterLumaBlkFromDM ( TComPicYuv *refPic, TComPicYuv *pPicBaseDepth, Int* pShiftLUT, Int iShiftPrec, TComMv *mv, UInt partAddr,Int posX, Int posY, Int sizeX, Int sizeY, Bool isDepth, Int vspIdx, 168 TComYuv *&dstPic ); 169 Void xPredInterChromaBlkFromDM ( TComPicYuv *refPic, TComPicYuv *pPicBaseDepth, Int* pShiftLUT, Int iShiftPrec, TComMv *mv, UInt partAddr,Int posX, Int posY, Int sizeX, Int sizeY, Bool isDepth, Int vspIdx, 170 TComYuv *&dstPic ); 171 #endif 172 #endif 174 #endif 175 #endif 176 173 177 Void xGetLLSPrediction ( TComPattern* pcPattern, Int* pSrc0, Int iSrcStride, Pel* pDst0, Int iDstStride, UInt uiWidth, UInt uiHeight, UInt uiExt0 ); 174 178 #if LGE_ILLUCOMP_B0045 … … 178 182 Void xDCPredFiltering( Int* pSrc, Int iSrcStride, Pel*& rpDst, Int iDstStride, Int iWidth, Int iHeight ); 179 183 Bool xCheckIdenticalMotion ( TComDataCU* pcCU, UInt PartAddr); 184 185 #if MERL_General_Fix 186 #if MERL_VSP_C0152 187 Void xPredInterVSPBlk(TComDataCU* pcCU, UInt uiPartAddr, UInt uiAbsPartIdx, Int iWidth, Int iHeight, TComMv cMv, RefPicList eRefPicList, TComYuv*& rpcYuvPred, Bool bi 188 #if !MERL_Bi_VSP_D0166 189 , Int vspIdx 190 #endif 191 ); 192 #endif 193 #endif 180 194 181 195 #if HHI_DMM_WEDGE_INTRA
Note: See TracChangeset for help on using the changeset viewer.