Changeset 717 in SHVCSoftware for branches


Ignore:
Timestamp:
21 Apr 2014, 20:04:30 (11 years ago)
Author:
seregin
Message:

fix sameBitDepths derivation

File:
1 edited

Legend:

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

    r715 r717  
    550550#endif
    551551#if O0194_DIFFERENT_BITDEPTH_EL_BL
    552         Int sameBitDepth = g_bitDepthYLayer[m_layerId] - g_bitDepthYLayer[refLayerId] + g_bitDepthCLayer[m_layerId] - g_bitDepthCLayer[refLayerId];
    553 
    554         if( !( g_posScalingFactor[refLayerIdc][0] == 65536 && g_posScalingFactor[refLayerIdc][1] == 65536 ) || !scalingOffset || !sameBitDepth
     552        Bool sameBitDepths = ( g_bitDepthYLayer[m_layerId] == g_bitDepthYLayer[refLayerId] ) && ( g_bitDepthCLayer[m_layerId] == g_bitDepthCLayer[refLayerId] );
     553
     554        if( !( g_posScalingFactor[refLayerIdc][0] == 65536 && g_posScalingFactor[refLayerIdc][1] == 65536 ) || !scalingOffset || !sameBitDepths
    555555#if Q0048_CGS_3D_ASYMLUT
    556556          || getPPS()->getCGSFlag()
Note: See TracChangeset for help on using the changeset viewer.