Changeset 1035 in 3DVCSoftware for branches/HTM-11.2-dev0/source/Lib
- Timestamp:
- 31 Jul 2014, 16:20:20 (10 years ago)
- Location:
- branches/HTM-11.2-dev0/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-11.2-dev0/source/Lib/TLibCommon/TComSlice.cpp
r1031 r1035 2799 2799 // allocate some memory and initialize with default mapping 2800 2800 m_iNumDepthmapValues[i] = ((1 << m_uiDepthViewBitDepth)-1)+1; 2801 #if !FIX_TICKET_77 2801 2802 m_iBitsPerDepthValue[i] = numBitsForValue(m_iNumDepthmapValues[i]); 2802 2803 #endif 2803 2804 m_iDepthValue2Idx[i] = (Int*) xMalloc(Int, m_iNumDepthmapValues[i]); 2804 2805 m_iIdx2DepthValue[i] = (Int*) xMalloc(Int, m_iNumDepthmapValues[i]); … … 2889 2890 // update DLT variables 2890 2891 m_iNumDepthmapValues[layerIdInVps] = iNumDepthValues; 2892 #if !FIX_TICKET_77 2891 2893 m_iBitsPerDepthValue[layerIdInVps] = numBitsForValue(m_iNumDepthmapValues[layerIdInVps]); 2894 #endif 2892 2895 } 2893 2896 -
branches/HTM-11.2-dev0/source/Lib/TLibCommon/TComSlice.h
r1030 r1035 1207 1207 Bool m_bInterViewDltPredEnableFlag[ MAX_NUM_LAYERS ]; 1208 1208 1209 #if !FIX_TICKET_77 1209 1210 Int m_iBitsPerDepthValue [ MAX_NUM_LAYERS ]; 1211 #endif 1210 1212 Int m_iNumDepthmapValues [ MAX_NUM_LAYERS ]; 1211 1213 Int* m_iDepthValue2Idx [ MAX_NUM_LAYERS ]; … … 1234 1236 UInt getDepthViewBitDepth() { return m_uiDepthViewBitDepth; } 1235 1237 1238 #if !FIX_TICKET_77 1236 1239 Int getBitsPerDepthValue( Int layerIdInVps ) { return getUseDLTFlag(layerIdInVps)?m_iBitsPerDepthValue[layerIdInVps]:g_bitDepthY; } 1240 #endif 1237 1241 Int getNumDepthValues( Int layerIdInVps ) { return getUseDLTFlag(layerIdInVps)?m_iNumDepthmapValues[layerIdInVps]:((1 << g_bitDepthY)-1); } 1238 1242 Int depthValue2idx( Int layerIdInVps, Pel value ) { return getUseDLTFlag(layerIdInVps)?m_iDepthValue2Idx[layerIdInVps][value]:value; } -
branches/HTM-11.2-dev0/source/Lib/TLibCommon/TypeDef.h
r1034 r1035 284 284 285 285 // Fixes 286 #define FIX_TICKET_77 1 // Unused variable m_iBitsPerDepthValue 286 287 #define FIX_TICKET_76 1 // unused functions 287 288 #define FIX_TICKET_62 1 // buffer overflow for print
Note: See TracChangeset for help on using the changeset viewer.