Changeset 1251 in 3DVCSoftware


Ignore:
Timestamp:
4 Jun 2015, 11:47:20 (9 years ago)
Author:
rwth
Message:
  • bug fix
Location:
branches/HTM-14.1-update-dev1-RWTH/source/Lib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/TComSlice.cpp

    r1250 r1251  
    28552855    m_bUseDLTFlag                 [i] = false;
    28562856    m_bInterViewDltPredEnableFlag [i] = false;
     2857    m_bDltBitMapRepFlag           [i] = false;
    28572858
    28582859    // allocate some memory and initialize with default mapping
     
    28602861    m_iDepthValue2Idx[i]    = std::vector<Int>(m_iNumDepthmapValues[i]);
    28612862    m_iIdx2DepthValue[i]    = std::vector<Int>(m_iNumDepthmapValues[i]);
     2863   
     2864    m_iDepthIdxToLayerId[i] = i;
    28622865
    28632866    //default mapping
  • branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/TComSlice.h

    r1219 r1251  
    13671367
    13681368  Int               m_iNumDepthmapValues          [ MAX_NUM_LAYERS ];
    1369   std::vector<Int>  m_iDepthValue2Idx [ MAX_NUM_LAYERS ];
    1370   std::vector<Int>  m_iIdx2DepthValue [ MAX_NUM_LAYERS ];
     1369  std::vector<Int>  m_iDepthValue2Idx             [ MAX_NUM_LAYERS ];
     1370  std::vector<Int>  m_iIdx2DepthValue             [ MAX_NUM_LAYERS ];
    13711371
    13721372  Int               m_iNumDepthViews;
     
    13741374 
    13751375  // mapping
    1376   Int     m_iDepthIdxToLayerId          [ MAX_NUM_LAYERS ];
    1377  
    1378   // these are only needed at the encoder to decide on coding
     1376  Int               m_iDepthIdxToLayerId          [ MAX_NUM_LAYERS ];
    13791377
    13801378public:
  • branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibDecoder/TDecTop.cpp

    r1219 r1251  
    13301330    Int layerId = m_parameterSetManager.getFirstVPS()->getLayerIdInNuh(i);
    13311331    if( m_parameterSetManager.getFirstVPS()->getDepthId(layerId) )
    1332       pps->getDLT()->setDepthIdxToLayerId(j++, i);
     1332      pps->getDLT()->setDepthIdxToLayerId(j++, layerId);
    13331333  }
    13341334#endif
  • branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncTop.cpp

    r1219 r1251  
    994994    Int layerId = getVPS()->getLayerIdInNuh(i);
    995995    if( getVPS()->getDepthId(layerId) )
    996       m_cDLT.setDepthIdxToLayerId(j++, i);
     996      m_cDLT.setDepthIdxToLayerId(j++, layerId);
    997997  }
    998998  m_cPPS.setDLT( m_cDLT );
Note: See TracChangeset for help on using the changeset viewer.