Changeset 691 in SHVCSoftware for branches/SHM-6-dev


Ignore:
Timestamp:
17 Apr 2014, 19:43:28 (11 years ago)
Author:
seregin
Message:

fix for LAYER_CTB with 1x

Location:
branches/SHM-6-dev/source/Lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r684 r691  
    368368        Bool sameBitDepths = ( g_bitDepthYLayer[m_layerId] == g_bitDepthYLayer[refLayerId] ) && ( g_bitDepthCLayer[m_layerId] == g_bitDepthCLayer[refLayerId] );
    369369
    370         if( pcPicYuvRecBase->getWidth() != pcSlice->getPicWidthInLumaSamples() || pcPicYuvRecBase->getHeight() != pcSlice->getPicHeightInLumaSamples() || !zeroOffsets || !sameBitDepths 
     370        if( pcPicYuvRecBase->getWidth() != pcSlice->getPicWidthInLumaSamples() || pcPicYuvRecBase->getHeight() != pcSlice->getPicHeightInLumaSamples() || !zeroOffsets || !sameBitDepths
    371371#if Q0048_CGS_3D_ASYMLUT
    372372          || pcSlice->getPPS()->getCGSFlag() > 0
     373#endif
     374#if LAYER_CTB
     375          || pcTDecTopBase->getActiveSPS()->getMaxCUWidth() != m_ppcTDecTop[m_layerId]->getActiveSPS()->getMaxCUWidth() || pcTDecTopBase->getActiveSPS()->getMaxCUHeight() != m_ppcTDecTop[m_layerId]->getActiveSPS()->getMaxCUHeight() || pcTDecTopBase->getActiveSPS()->getMaxCUDepth() != m_ppcTDecTop[m_layerId]->getActiveSPS()->getMaxCUDepth()
    373376#endif
    374377          )
  • branches/SHM-6-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r689 r691  
    799799            || m_cPPS.getCGSFlag() > 0
    800800#endif
     801#if LAYER_CTB
     802            || pcEncTopBase->getSPS()->getMaxCUWidth() != m_cSPS.getMaxCUWidth() || pcEncTopBase->getSPS()->getMaxCUHeight() != m_cSPS.getMaxCUHeight() || pcEncTopBase->getSPS()->getMaxCUDepth() != m_cSPS.getMaxCUDepth()
     803#endif
    801804            )
    802805#else
     
    865868            || m_cPPS.getCGSFlag() > 0
    866869#endif
    867             )
     870#if LAYER_CTB
     871            || pcEncTopBase->getSPS()->getMaxCUWidth() != m_cSPS.getMaxCUWidth() || pcEncTopBase->getSPS()->getMaxCUHeight() != m_cSPS.getMaxCUHeight() || pcEncTopBase->getSPS()->getMaxCUDepth() != m_cSPS.getMaxCUDepth()
     872#endif
     873)
    868874#else
    869875          if(m_iSourceWidth != pcEncTopBase->getSourceWidth() || m_iSourceHeight != pcEncTopBase->getSourceHeight() || !zeroOffsets )
Note: See TracChangeset for help on using the changeset viewer.