Changeset 644 in SHVCSoftware for trunk/source/Lib/TLibEncoder/TEncTop.cpp
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/SHM-5.1-dev (added) merged: 599-600,602-643
- Property svn:mergeinfo changed
-
trunk/source
- Property svn:mergeinfo changed
/branches/SHM-5.0-dev/source merged: 601 /branches/SHM-5.1-dev/source (added) merged: 600,602-643
- Property svn:mergeinfo changed
-
trunk/source/Lib/TLibEncoder/TEncTop.cpp
r595 r644 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 ); … … 902 916 #endif 903 917 m_cSPS.getScaledRefLayerWindow(i) = m_scaledRefLayerWindow[i]; 918 #if P0312_VERT_PHASE_ADJ 919 m_cSPS.setVertPhasePositionEnableFlag( m_scaledRefLayerId[i], m_scaledRefLayerWindow[i].getVertPhasePositionEnableFlag() ); 920 #endif 904 921 } 905 922 #endif //SVC_EXTENSION
Note: See TracChangeset for help on using the changeset viewer.