Changeset 637 in SHVCSoftware
- Timestamp:
- 20 Mar 2014, 23:40:26 (11 years ago)
- Location:
- branches/SHM-5.1-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r636 r637 349 349 TComPicYuv* pcPicYuvRecBase = (*(pcTDecTopBase->getListPic()->begin()))->getPicYuvRec(); 350 350 #if REPN_FORMAT_IN_VPS 351 #if O0194_DIFFERENT_BITDEPTH_EL_BL 352 UInt refLayerId = pcSlice->getVPS()->getRefLayerId(m_layerId, i); 353 Bool sameBitDepths = ( g_bitDepthYLayer[m_layerId] == g_bitDepthYLayer[refLayerId] ) && ( g_bitDepthCLayer[m_layerId] == g_bitDepthCLayer[refLayerId] ); 354 355 if( pcPicYuvRecBase->getWidth() != pcSlice->getPicWidthInLumaSamples() || pcPicYuvRecBase->getHeight() != pcSlice->getPicHeightInLumaSamples() || !zeroOffsets || !sameBitDepths ) 356 #else 351 357 if(pcPicYuvRecBase->getWidth() != pcSlice->getPicWidthInLumaSamples() || pcPicYuvRecBase->getHeight() != pcSlice->getPicHeightInLumaSamples() || !zeroOffsets ) 358 #endif 352 359 #else 353 360 if(pcPicYuvRecBase->getWidth() != pcSlice->getSPS()->getPicWidthInLumaSamples() || pcPicYuvRecBase->getHeight() != pcSlice->getSPS()->getPicHeightInLumaSamples() || !zeroOffsets ) -
branches/SHM-5.1-dev/source/Lib/TLibEncoder/TEncTop.cpp
r633 r637 791 791 TEncTop *pcEncTopBase = (TEncTop *)getLayerEnc( m_layerId-1 ); 792 792 #endif 793 #if O0194_DIFFERENT_BITDEPTH_EL_BL 794 UInt refLayerId = m_cVPS.getRefLayerId(m_layerId, i); 795 Bool sameBitDepths = ( g_bitDepthYLayer[m_layerId] == g_bitDepthYLayer[refLayerId] ) && ( g_bitDepthCLayer[m_layerId] == g_bitDepthCLayer[refLayerId] ); 796 797 if( m_iSourceWidth != pcEncTopBase->getSourceWidth() || m_iSourceHeight != pcEncTopBase->getSourceHeight() || !zeroOffsets || !sameBitDepths ) 798 #else 793 799 if(m_iSourceWidth != pcEncTopBase->getSourceWidth() || m_iSourceHeight != pcEncTopBase->getSourceHeight() || !zeroOffsets ) 800 #endif 794 801 { 795 802 pcEPic->setSpatialEnhLayerFlag( i, true ); … … 846 853 TEncTop *pcEncTopBase = (TEncTop *)getLayerEnc( m_layerId-1 ); 847 854 #endif 855 #if O0194_DIFFERENT_BITDEPTH_EL_BL 856 UInt refLayerId = m_cVPS.getRefLayerId(m_layerId, i); 857 Bool sameBitDepths = ( g_bitDepthYLayer[m_layerId] == g_bitDepthYLayer[refLayerId] ) && ( g_bitDepthCLayer[m_layerId] == g_bitDepthCLayer[refLayerId] ); 858 859 if( m_iSourceWidth != pcEncTopBase->getSourceWidth() || m_iSourceHeight != pcEncTopBase->getSourceHeight() || !zeroOffsets || !sameBitDepths ) 860 #else 848 861 if(m_iSourceWidth != pcEncTopBase->getSourceWidth() || m_iSourceHeight != pcEncTopBase->getSourceHeight() || !zeroOffsets ) 862 #endif 849 863 { 850 864 rpcPic->setSpatialEnhLayerFlag( i, true );
Note: See TracChangeset for help on using the changeset viewer.