Ignore:
Timestamp:
18 Jun 2013, 23:24:53 (11 years ago)
Author:
tech
Message:
  • changed IV-MERGE HLS to match Test Model 4 spec
  • incorporated iv-refpic list to TComSlice
  • removed TComDepthMapGenerator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibDecoder/TDecTop.cpp

    r478 r479  
    3737
    3838#include "NALread.h"
    39 #if H_3D_IV_MERGE
    40 #include "../../App/TAppDecoder/TAppDecTop.h"
    41 #endif
    4239#include "TDecTop.h"
    4340
     
    392389}
    393390
    394 #if H_3D_IV_MERGE
    395 Void TDecTop::init(TAppDecTop* pcTAppDecTop)
    396 #else
    397391Void TDecTop::init()
    398 #endif
    399392{
    400393  // initialize ROM
     
    402395  initROM();
    403396#endif
    404   m_cGopDecoder.init( &m_cEntropyDecoder, &m_cSbacDecoder, &m_cBinCABAC, &m_cCavlcDecoder, &m_cSliceDecoder, &m_cLoopFilter, &m_cSAO
    405 #if H_3D_IV_MERGE
    406     , &m_cDepthMapGenerator
    407 #endif
    408     );
     397  m_cGopDecoder.init( &m_cEntropyDecoder, &m_cSbacDecoder, &m_cBinCABAC, &m_cCavlcDecoder, &m_cSliceDecoder, &m_cLoopFilter, &m_cSAO );
    409398  m_cSliceDecoder.init( &m_cEntropyDecoder, &m_cCuDecoder );
    410399  m_cEntropyDecoder.init(&m_cPrediction);
    411 #if H_3D_IV_MERGE
    412   m_tAppDecTop = pcTAppDecTop;
    413   m_cDepthMapGenerator.init( &m_cPrediction, m_tAppDecTop->getVPSAccess(), m_tAppDecTop->getSPSAccess(), m_tAppDecTop->getAUPicAccess() );
    414 #endif
    415400}
    416401
     
    769754
    770755    m_cSliceDecoder.create();
    771 #if H_3D_IV_MERGE
    772     UInt uiPdm = ( m_apcSlicePilot->getSPS()->getViewIndex() ? m_apcSlicePilot->getSPS()->getPredDepthMapGeneration() : m_tAppDecTop->getSPSAccess()->getPdm() );
    773     m_cDepthMapGenerator.create( true, m_apcSlicePilot->getSPS()->getPicWidthInLumaSamples(), m_apcSlicePilot->getSPS()->getPicHeightInLumaSamples(), g_uiMaxCUDepth, g_uiMaxCUWidth, g_uiMaxCUHeight, g_bitDepthY, PDM_SUB_SAMP_EXP_X(uiPdm), PDM_SUB_SAMP_EXP_Y(uiPdm) );
    774     TComDepthMapGenerator* pcDMG0 = m_tAppDecTop->getDecTop0()->getDepthMapGenerator();
    775     if( m_apcSlicePilot->getSPS()->getViewIndex() == 1 && ( pcDMG0->getSubSampExpX() != PDM_SUB_SAMP_EXP_X(uiPdm) || pcDMG0->getSubSampExpY() != PDM_SUB_SAMP_EXP_Y(uiPdm) ) )
    776     {
    777       pcDMG0->create( true, m_apcSlicePilot->getSPS()->getPicWidthInLumaSamples(), m_apcSlicePilot->getSPS()->getPicHeightInLumaSamples(), g_uiMaxCUDepth, g_uiMaxCUWidth, g_uiMaxCUHeight, g_bitDepthY, PDM_SUB_SAMP_EXP_X(uiPdm), PDM_SUB_SAMP_EXP_Y(uiPdm) );
    778     }
    779 #endif
    780756  }
    781757  else
     
    918894
    919895#endif
    920 #if H_3D_IV_MERGE
    921     TComPic * const pcTexturePic = m_isDepth ? m_tAppDecTop->getPicFromView(  m_viewIndex, pcSlice->getPOC(), false ) : NULL;
    922     assert( !m_isDepth || pcTexturePic != NULL );
    923     pcSlice->setTexturePic( pcTexturePic );
     896#if H_3D_GEN
     897    pcSlice->setIvPicLists( m_ivPicLists );         
     898#if H_3D_IV_MERGE   
     899    assert( !getIsDepth() || ( pcSlice->getTexturePic() != 0 ) );
     900#endif   
    924901#endif
    925902    // For generalized B
Note: See TracChangeset for help on using the changeset viewer.