Changeset 183 in 3DVCSoftware for branches/HTM-4.1-dev2-RWTH-Fix/source/Lib
- Timestamp:
- 14 Nov 2012, 18:24:30 (12 years ago)
- Location:
- branches/HTM-4.1-dev2-RWTH-Fix/source/Lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-4.1-dev2-RWTH-Fix/source/Lib/TLibCommon/TComSlice.cpp
r181 r183 1591 1591 { 1592 1592 m_uiNumDepthmapValues = uiMaxDepthValue+1; 1593 m_uiBitsPerDepthValue = (UInt)ceil( log2f(m_uiNumDepthmapValues));1593 m_uiBitsPerDepthValue = (UInt)ceil(Log2(m_uiNumDepthmapValues)); 1594 1594 1595 1595 m_uiDepthValue2Idx = (UInt*) xMalloc(UInt, m_uiNumDepthmapValues); -
branches/HTM-4.1-dev2-RWTH-Fix/source/Lib/TLibCommon/TypeDef.h
r181 r183 128 128 #endif 129 129 130 #define RWTH_SDC_DLT_B0036 0// JCT3V-B0036: Simplified Depth Coding + Depth Lookup Table130 #define RWTH_SDC_DLT_B0036 1 // JCT3V-B0036: Simplified Depth Coding + Depth Lookup Table 131 131 #if RWTH_SDC_DLT_B0036 132 132 #define Log2( n ) ( log((double)n) / log(2.0) ) -
branches/HTM-4.1-dev2-RWTH-Fix/source/Lib/TLibDecoder/TDecCu.cpp
r177 r183 1013 1013 UInt uiMaskStride = 0; 1014 1014 1015 //if( uiLumaPredMode == DMM_WEDGE_FULL_IDX || uiLumaPredMode == DMM_WEDGE_PREDDIR_IDX ) 1016 if( 0 ) 1015 if( uiLumaPredMode == DMM_WEDGE_FULL_IDX || uiLumaPredMode == DMM_WEDGE_PREDDIR_IDX ) 1017 1016 { 1018 1017 Int uiTabIdx = (uiLumaPredMode == DMM_WEDGE_FULL_IDX)?pcCU->getWedgeFullTabIdx(uiAbsPartIdx):pcCU->getWedgePredDirTabIdx(uiAbsPartIdx); … … 1356 1355 Void TDecCu::xAnalyzeSegmentsSDC( Pel* pOrig, UInt uiStride, UInt uiSize, Pel* rpSegMeans, UInt uiNumSegments, Bool* pMask, UInt uiMaskStride ) 1357 1356 { 1358 Int iSumDepth[ uiNumSegments];1359 memset(iSumDepth, 0, sizeof(Int)* uiNumSegments);1360 Int iSumPix[ uiNumSegments];1361 memset(iSumPix, 0, sizeof(Int)* uiNumSegments);1357 Int iSumDepth[2]; 1358 memset(iSumDepth, 0, sizeof(Int)*2); 1359 Int iSumPix[2]; 1360 memset(iSumPix, 0, sizeof(Int)*2); 1362 1361 1363 1362 for (Int y=0; y<uiSize; y++) -
branches/HTM-4.1-dev2-RWTH-Fix/source/Lib/TLibEncoder/TEncSearch.cpp
r177 r183 1646 1646 UInt uiMaskStride = 0; 1647 1647 1648 //if( uiLumaPredMode == DMM_WEDGE_FULL_IDX || uiLumaPredMode == DMM_WEDGE_PREDDIR_IDX ) 1649 if( 0 ) 1648 if( uiLumaPredMode == DMM_WEDGE_FULL_IDX || uiLumaPredMode == DMM_WEDGE_PREDDIR_IDX ) 1650 1649 { 1651 1650 Int uiTabIdx = (uiLumaPredMode == DMM_WEDGE_FULL_IDX)?pcCU->getWedgeFullTabIdx(uiAbsPartIdx):pcCU->getWedgePredDirTabIdx(uiAbsPartIdx); … … 8071 8070 Void TEncSearch::xAnalyzeSegmentsSDC( Pel* pOrig, UInt uiStride, UInt uiSize, Pel* rpSegMeans, UInt uiNumSegments, Bool* pMask, UInt uiMaskStride ) 8072 8071 { 8073 Int iSumDepth[ uiNumSegments];8074 memset(iSumDepth, 0, sizeof(Int)* uiNumSegments);8075 Int iSumPix[ uiNumSegments];8076 memset(iSumPix, 0, sizeof(Int)* uiNumSegments);8072 Int iSumDepth[2]; 8073 memset(iSumDepth, 0, sizeof(Int)*2); 8074 Int iSumPix[2]; 8075 memset(iSumPix, 0, sizeof(Int)*2); 8077 8076 8078 8077 for (Int y=0; y<uiSize; y++)
Note: See TracChangeset for help on using the changeset viewer.