Changeset 485 in 3DVCSoftware for branches/HTM-DEV-0.3-dev1/source/Lib/TLibCommon/TComSlice.cpp
- Timestamp:
- 20 Jun 2013, 12:32:01 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev1/source/Lib/TLibCommon/TComSlice.cpp
r473 r485 1485 1485 // allocate some memory and initialize with default mapping 1486 1486 m_iNumDepthmapValues[i] = ((1 << g_bitDepthY)-1)+1; 1487 m_iBitsPerDepthValue[i] = (Int)ceil(Log2(m_iNumDepthmapValues[i]));1487 m_iBitsPerDepthValue[i] = numBitsForValue(m_iNumDepthmapValues[i]); 1488 1488 1489 1489 m_iDepthValue2Idx[i] = (Int*) xMalloc(Int, m_iNumDepthmapValues[i]); … … 1579 1579 // update DLT variables 1580 1580 m_iNumDepthmapValues[layerIdInVps] = iNumDepthValues; 1581 m_iBitsPerDepthValue[layerIdInVps] = (Int)ceil(Log2(m_iNumDepthmapValues[layerIdInVps]));1581 m_iBitsPerDepthValue[layerIdInVps] = numBitsForValue(m_iNumDepthmapValues[layerIdInVps]); 1582 1582 } 1583 1583 #endif
Note: See TracChangeset for help on using the changeset viewer.