Changeset 1035 in 3DVCSoftware for branches/HTM-11.2-dev0/source/Lib


Ignore:
Timestamp:
31 Jul 2014, 16:20:20 (10 years ago)
Author:
tech
Message:

Fix ticket #77 Unused functions.

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  
    27992799    // allocate some memory and initialize with default mapping
    28002800    m_iNumDepthmapValues[i] = ((1 << m_uiDepthViewBitDepth)-1)+1;
     2801#if !FIX_TICKET_77
    28012802    m_iBitsPerDepthValue[i] = numBitsForValue(m_iNumDepthmapValues[i]);
    2802 
     2803#endif
    28032804    m_iDepthValue2Idx[i]    = (Int*) xMalloc(Int, m_iNumDepthmapValues[i]);
    28042805    m_iIdx2DepthValue[i]    = (Int*) xMalloc(Int, m_iNumDepthmapValues[i]);
     
    28892890  // update DLT variables
    28902891  m_iNumDepthmapValues[layerIdInVps] = iNumDepthValues;
     2892#if !FIX_TICKET_77
    28912893  m_iBitsPerDepthValue[layerIdInVps] = numBitsForValue(m_iNumDepthmapValues[layerIdInVps]);
     2894#endif
    28922895}
    28932896
  • branches/HTM-11.2-dev0/source/Lib/TLibCommon/TComSlice.h

    r1030 r1035  
    12071207  Bool        m_bInterViewDltPredEnableFlag[ MAX_NUM_LAYERS ];
    12081208
     1209#if !FIX_TICKET_77
    12091210  Int         m_iBitsPerDepthValue       [ MAX_NUM_LAYERS ];
     1211#endif
    12101212  Int         m_iNumDepthmapValues       [ MAX_NUM_LAYERS ];
    12111213  Int*        m_iDepthValue2Idx          [ MAX_NUM_LAYERS ];
     
    12341236  UInt    getDepthViewBitDepth()                          { return m_uiDepthViewBitDepth; }
    12351237
     1238#if !FIX_TICKET_77
    12361239  Int     getBitsPerDepthValue( Int layerIdInVps )        { return getUseDLTFlag(layerIdInVps)?m_iBitsPerDepthValue[layerIdInVps]:g_bitDepthY; }
     1240#endif
    12371241  Int     getNumDepthValues( Int layerIdInVps )           { return getUseDLTFlag(layerIdInVps)?m_iNumDepthmapValues[layerIdInVps]:((1 << g_bitDepthY)-1); }
    12381242  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  
    284284
    285285// Fixes
     286#define FIX_TICKET_77                     1    // Unused variable m_iBitsPerDepthValue
    286287#define FIX_TICKET_76                     1    // unused functions
    287288#define FIX_TICKET_62                     1    // buffer overflow for print
Note: See TracChangeset for help on using the changeset viewer.