Changeset 689 in SHVCSoftware for branches/SHM-6-dev/source/Lib


Ignore:
Timestamp:
17 Apr 2014, 05:10:35 (11 years ago)
Author:
qualcomm
Message:

minor fixes for CGS checking

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.cpp

    r676 r689  
    552552        Int sameBitDepth = g_bitDepthYLayer[m_layerId] - g_bitDepthYLayer[refLayerId] + g_bitDepthCLayer[m_layerId] - g_bitDepthCLayer[refLayerId];
    553553
    554         if( !( g_posScalingFactor[refLayerIdc][0] == 65536 && g_posScalingFactor[refLayerIdc][1] == 65536 ) || !scalingOffset || !sameBitDepth ) // ratio 1x
     554        if( !( g_posScalingFactor[refLayerIdc][0] == 65536 && g_posScalingFactor[refLayerIdc][1] == 65536 ) || !scalingOffset || !sameBitDepth
     555#if Q0048_CGS_3D_ASYMLUT
     556          || getPPS()->getCGSFlag()
     557#endif
     558          ) // ratio 1x
    555559#else
    556560        if(!( g_posScalingFactor[refLayerIdc][0] == 65536 && g_posScalingFactor[refLayerIdc][1] == 65536 ) || (!scalingOffset)) // ratio 1x
  • branches/SHM-6-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r677 r689  
    861861          Bool sameBitDepths = ( g_bitDepthYLayer[m_layerId] == g_bitDepthYLayer[refLayerId] ) && ( g_bitDepthCLayer[m_layerId] == g_bitDepthCLayer[refLayerId] );
    862862
    863           if( m_iSourceWidth != pcEncTopBase->getSourceWidth() || m_iSourceHeight != pcEncTopBase->getSourceHeight() || !zeroOffsets || !sameBitDepths )
     863          if( m_iSourceWidth != pcEncTopBase->getSourceWidth() || m_iSourceHeight != pcEncTopBase->getSourceHeight() || !zeroOffsets || !sameBitDepths
     864#if Q0048_CGS_3D_ASYMLUT
     865            || m_cPPS.getCGSFlag() > 0
     866#endif
     867            )
    864868#else
    865869          if(m_iSourceWidth != pcEncTopBase->getSourceWidth() || m_iSourceHeight != pcEncTopBase->getSourceHeight() || !zeroOffsets )
Note: See TracChangeset for help on using the changeset viewer.